@if (App::isLocale('th')) @include('app.pdf.locale.th') @endif

{{ $company->name }}

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

@lang('pdf_customer_sales_report')

@foreach ($customers as $customer)

{{ $customer->name }}

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

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

{!! format_money_pdf($invoice->base_total, $currency) !!}

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

@endforeach