@extends('Admin.layout') @section('content')
{{-- Page heading --}}
Bill Details
{{ $order->order_id }}
{{-- Patient and order details --}}
Patient Details
Patient Name {{ $order->customer_name ?: '-' }}
Phone Number {{ $order->customer_phone ?: '-' }}
Patient ID {{ $order->patient_id ?: '-' }}
Sheet Number {{ optional($order->patient)->sheet_no ?: '-' }}
Order Details
Order ID {{ $order->order_id }}
Date & Time {{ optional($order->created_at)->format('d-m-Y h:i A') ?: '-' }}
Payment Mode {{ ucfirst($order->payment_mode ?: '-') }}
Status {{ ucfirst($order->status ?: 'pending') }}
{{-- Products and sticky total --}}
Medicines Bill Items
S.No Product Code Price Quantity GST GST Amount Row Total
{{-- Always-visible total section --}}
Bill Summary
Subtotal ₹ {{ number_format((float) $order->subtotal, 2) }}
GST + ₹ {{ number_format((float) $order->gst, 2) }}
Discount @if($order->discount_type === 'percent') ({{ number_format((float) $order->discount_value, 2) }}%) @endif - ₹ {{ number_format((float) $order->discount, 2) }}
{{ $order->charge_label ?: 'Additional Charge' }} + ₹ {{ number_format((float) $order->charge, 2) }}

Grand Total ₹ {{ number_format((float) $order->total, 2) }}
@endsection