Orders Export
Generated at {{ $generatedAt }}
Total Orders
{{ $totals['total_orders'] }}
Total Amount
{{ $currencySymbol }}{{ number_format($totals['total_amount'], 2) }}
Paid Amount
{{ $currencySymbol }}{{ number_format($totals['paid_amount'], 2) }}
Due Amount
{{ $currencySymbol }}{{ number_format($totals['due_amount'], 2) }}
@foreach ($orders as $order) @endforeach
Invoice Customer Type Status Total Paid Due Date
{{ $order->invoice_no }} {{ $order->customer_name ?: optional($order->customer)->name ?: 'Walk-in Customer' }}
{{ $order->customer_phone ?: optional($order->customer)->phone }}
{{ $order->order_source }} {{ $order->sale_type }} Shop: {{ ucfirst($order->shop_order_status) }}
Courier: {{ ucfirst($order->courier_status) }}
Payment: {{ ucfirst($order->payment_status) }}
{{ $currencySymbol }}{{ number_format((float) $order->total_amount, 2) }} {{ $currencySymbol }}{{ number_format((float) $order->paid_amount, 2) }} {{ $currencySymbol }}{{ number_format((float) $order->due_amount, 2) }} {{ $order->ordered_at?->format('d M Y h:i A') }}