{{ __('Sales Report') }}

{{ $from }} - {{ $to }}

@foreach($sales as $sale) @endforeach
{{ __('Invoice') }} {{ __('Date') }} {{ __('Customer') }} {{ __('Payment Type') }} {{ __('Amount') }} {{ __('Status') }}
{{ $sale->invoice_number }} {{ $sale->sale_date->format('Y-m-d') }} {{ $sale->customer?->name ?? __('Walk-in') }} {{ ucfirst($sale->payment_type) }} {{ number_format($sale->total_amount, 2) }} {{ ucfirst($sale->status) }}
{{ __('Total Sales') }}: {{ number_format($sales->sum('total_amount'), 2) }}