@extends('reports.report', ['report' => $report])
@section('content')
@foreach ($invoices as $invoice)
{{ $company->name }}
| To: | {{ $invoice->client_name }} |
| Address: | {{ $invoice->post_address1 }}
{{ $invoice->post_address2 }}
{{ $invoice->post_address3 }}
{{ $invoice->post_postalcode }} |
|
| Invoice Date: | {!! DisplayHelper::formatDate($report->invoice_date) !!} |
| VAT Invoice No: | {{ $invoice->invoice_no }} |
|
| Your VAT No: | {{ $invoice->client_vat_no }} |
| Your Agreement No: | {{ $invoice->agreement_code }} |
|
| Period From: | {!! DisplayHelper::formatDate($report->start_date) !!} |
| Period To: | {!! DisplayHelper::formatDate($report->end_date) !!} |
|
| Description |
@if($invoice->capital)
Qty |
Unit price |
@endif
Amount excl VAT |
VAT |
Amount incl VAT |
@foreach ($invoice->line_items as $line_item)
| {{$line_item->description}} |
@if ($invoice->capital)
{{ $line_item->quantity }} |
{!! DisplayHelper::formatCurrency($line_item->unit_price, null, false) !!} |
@endif
{!! DisplayHelper::formatCurrency($line_item->amount_excl, null, false) !!} |
{!! DisplayHelper::formatCurrency($line_item->vat, null, false) !!} |
{!! DisplayHelper::formatCurrency($line_item->amount_incl, null, false) !!} |
@endforeach
| TOTAL |
@if ($invoice->capital)
|
|
@endif
{!! DisplayHelper::formatCurrency($invoice->sum_amount_excl, null, false) !!} |
{!! DisplayHelper::formatCurrency($invoice->sum_vat, null, false) !!} |
{!! DisplayHelper::formatCurrency($invoice->sum_amount_incl, null, false) !!} |
Payment is to be made to:
{{ $company->name }}
{{ $company->bank_name }}
{{ $company->bank_branch_name }}
{{ $company->bank_branch_code }}
{{ $company->bank_account_no }}
@if ($invoice->capital)
Ownership does not pass until paid for in full
@endif
@if ($invoice->agreement_type->discount)
In terms of the agreement, the client is liable for the invoice value should the debtor not pay the invoice
@endif
@endforeach
@stop
@section('footer')