{{ trans('pdf.invoice') }} {{ trans('pdf.from') }} {{ $startDate }} {{ trans('pdf.to') }} {{ $endDate }}
{{ trans('pdf.invoice_statistics') }}
@foreach ($invoiceStatsByStatus as $status) @endforeach
{{ trans('pdf.status') }} {{ trans('pdf.amount') }} {{ trans('pdf.count') }}
{{ trans('pdf.invoice_' . strtolower($status['name'])) }} {{ number_format($status['amount']) }} {{ $status['count'] }}
@if ($topCustomer)
{{ trans('pdf.top_customer') }}
@foreach ($topCustomer as $customer) @endforeach
{{ trans('pdf.customer_name') }} {{ trans('pdf.total_paid') }}
{{ $customer['name'] }} {{ number_format($customer['total_paid']) }}
@else
{{ trans('pdf.top_customer') }} (0)
@endif
{{ trans('pdf.invoice_and_advance_statistics') }}
{{ trans('pdf.total_invoices') }} {{ trans('pdf.total_advances') }} {{ trans('pdf.percentage_with_advance') }}
{{ $getInvoiceAndAdvanceCountStatistics['total_invoices'] }} {{ $getInvoiceAndAdvanceCountStatistics['total_advances'] }} {{ $getInvoiceAndAdvanceCountStatistics['percentage_with_advance'] }}%