{{-- --}}

{{ $company->name }}

{{ $from_date }} - {{ $to_date }}

Sales Report: By Customer

{{--

Income

{{ $income }}

--}} @foreach ($customers as $customer)

{{ $customer->name }}

@foreach ($customer->invoices as $invoice) @endforeach

{{ $invoice->formattedInvoiceDate }} ({{ $invoice->invoice_number }})

{!! format_money_pdf($invoice->total) !!}

{!! format_money_pdf($customer->totalAmount) !!}

@endforeach

TOTAL SALES

{!! format_money_pdf($totalAmount) !!}