@include('app.pdf.partials.fonts') @include('app.pdf.reports.partials.styles')
|
@if (! empty($logo))
{{ $company->name }} @endif |
@if ($statement['type'] === 'activity') {{ $statement['from_date'] }} - {{ $statement['to_date'] }} @else {{ __('As of') }} {{ $statement['as_of'] }} @endif |
{{ __('Customer Statement') }} — {{ $customer->name }}
@if ($statement['type'] === 'activity')| {{ __('Date') }} | {{ __('Description') }} | {{ __('Reference') }} | {{ __('Debit') }} | {{ __('Credit') }} | {{ __('Balance') }} |
|---|---|---|---|---|---|
| {{ __('Opening balance') }} | {!! format_money_pdf($statement['opening_balance'], $currency) !!} | ||||
| {{ $entry['date'] }} | {{ $entry['description'] }} | {{ $entry['reference'] }} | {!! $entry['debit_amount'] ? format_money_pdf($entry['debit_amount'], $currency) : '' !!} | {!! $entry['credit_amount'] ? format_money_pdf($entry['credit_amount'], $currency) : '' !!} | {!! format_money_pdf($entry['balance'], $currency) !!} |
| @lang('pdf_report_no_records') | |||||
| {{ __('Closing balance') }} | {!! format_money_pdf($statement['closing_balance'], $currency) !!} | ||||
{{ __('Outstanding invoices') }}
| {{ __('Invoice') }} | {{ __('Due date') }} | {{ __('Original') }} | {{ __('Applied') }} | {{ __('Remaining') }} |
|---|---|---|---|---|
| {{ $invoice['invoice_number'] }} | {{ $invoice['due_date'] }} | {!! format_money_pdf($invoice['original_amount'], $currency) !!} | {!! format_money_pdf($invoice['applied_amount'], $currency) !!} | {!! format_money_pdf($invoice['remaining_amount'], $currency) !!} |
| @lang('pdf_report_no_records') | ||||
{{ __('Available credit') }}
| {{ __('Payment') }} | {{ __('Date') }} | {{ __('Available') }} |
|---|---|---|
| {{ $credit['payment_number'] }} | {{ $credit['payment_date'] }} | {!! format_money_pdf($credit['available_amount'], $currency) !!} |
| @lang('pdf_report_no_records') | ||
| {{ __('Gross invoice due') }} | {!! format_money_pdf($statement['invoice_due_amount'], $currency) !!} | |
| {{ __('Available credit') }} | {!! format_money_pdf($statement['available_credit'], $currency) !!} | |
| {{ __('Net account balance') }} | {!! format_money_pdf($statement['account_balance'], $currency) !!} | |