{{-- S.No --}}
|
{{ $i + 1 }}
|
{{-- Date --}}
{{ $row->created_at?->format('d-m-Y h:i A') ?? '-' }}
|
{{-- Daily Serial Number --}}
{{ $row->daily_serial_number ?? '-' }}
|
{{-- Order ID --}}
{{ $row->order_id ?? '-' }}
|
{{-- Customer Name --}}
{{ $row->customer_name ?: '-' }}
|
{{-- Customer Phone --}}
{{ $row->customer_phone ?: '-' }}
|
{{-- Billed By --}}
{{ $billedByLabel }}
|
{{-- Billed In --}}
{{ $row->billed_in
? ucwords(str_replace('_', ' ', $row->billed_in))
: '-' }}
|
{{-- Branch --}}
{{ $row->branch?->branch_name ?? '-' }}
|
{{-- Staff --}}
{{ $row->staff?->name ?? '-' }}
|
{{-- Payment --}}
{{ $row->payment_mode
? ucfirst($row->payment_mode)
: '-' }}
|
{{-- Total --}}
₹ {{ number_format((float) $row->total, 2) }}
|
{{-- Status --}}
{{ $row->status
? ucfirst($row->status)
: '-' }}
|
@empty