{{ __('main.sales_report') }}
@if (Auth::user()->user_type == 2)
@endif
{{ __('main.date') }} {{ __('main.invoice') }} # {{ __('main.customer') }} {{ __('main.taxable_amount') }} {{ __('main.discount') }} {{ __('main.tax_amount') }} {{ __('main.gross_total') }} {{ __('main.branch') }}
@foreach ($invoices as $item) @endforeach
{{ Carbon\Carbon::parse($item->date)->format('d/m/Y') }} #{{ $item->invoice_number }} [{{ $item->customer_file_number ?? '' }}] {{ $item->customer_name ?? '' }} {{ getFormattedCurrency($item->taxable_amount) }} {{ getFormattedCurrency($item->discount) }} {{ getFormattedCurrency($item->tax_amount) }} {{ getFormattedCurrency($item->total) }} {{ $item->createdBy->name ?? '' }}