{{ trans('pdf.invoice') }} {{ trans('pdf.from') }} {{ $startDate }} {{ trans('pdf.to') }} {{ $endDate }}
{{ trans('pdf.invoice_statistics') }}
| {{ trans('pdf.status') }} |
{{ trans('pdf.amount') }} |
{{ trans('pdf.count') }} |
@foreach ($invoiceStatsByStatus as $status)
| {{ trans('pdf.invoice_' . strtolower($status['name'])) }} |
{{ number_format($status['amount']) }} |
{{ $status['count'] }} |
@endforeach
@if ($topCustomer)
{{ trans('pdf.top_customer') }}
| {{ trans('pdf.customer_name') }} |
{{ trans('pdf.total_paid') }} |
@foreach ($topCustomer as $customer)
| {{ $customer['name'] }} |
{{ number_format($customer['total_paid']) }} |
@endforeach
@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'] }}% |