{{ $company->name }}

{{ $from->format($company->getSetting('date_format')) }} - {{ $to->format($company->getSetting('date_format')) }}

{{ __('messages.customer_sales_report') }}

@foreach ($customers as $customer) @if($customer->totalAmount > 0)

{{ $customer->display_name }}

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

{{ $invoice->formatted_invoice_date }} ({{ $invoice->id }}) - {{ $invoice->sucursal }}

{!! money($invoice->total, $invoice->currency_code) !!}

{!! money($customer->totalAmount, $customer->currency_code) !!}

@endif @endforeach