@extends('reports.report', ['report' => $report]) @section('content')
| Effective Date | Client Code | Client Name | Agreement Code | @if ($asset_type->vehicle)Make | Model | Series | Register # | Year | VIN | Engine # | Reg # | Amount Incl |
@elseif ($asset_type->equipment)
Make | Model | Series | Serial # | Year | Colour | Amount Incl |
@elseif ($asset_type->invoice)
Invoice # | Invoice Date | Order # | Reference | Due Date | Amount Incl |
@elseif ($asset_type->cheque)
Cheque # | Cheque Date | Due Date | Bank | Account No | Discount Amount Excl |
Face Value | @elseif ($asset_type->right)Right # | Right Date | Due Date | Bank | Account No | Discount Amount Excl |
Face Value | @elseif ($asset_type->property)Erf # | Suburb | Attorney | Transfer Due Date | Deed # | Discount Amount Excl |
Face Value | @endif
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {!! DateHelper::stringify($agreement->confirm_date) !!} | {{ $agreement->client_code }} | {{ $agreement->client_name }} | {{ $agreement->agreement_code }} | @if ($asset_type->vehicle){{ $asset->make }} | {{ $asset->model }} | {{ $asset->series }} | {{ $asset->register_no }} | {{ $asset->year }} | {{ $asset->VIN }} | {{ $asset->engine_no }} | {{ $asset->reqistration_no }} | {!! DisplayHelper::formatMoney($asset->amount_inclusive) !!} | @elseif ($asset_type->equipment){{ $asset->make }} | {{ $asset->model }} | {{ $asset->series }} | {{ $asset->serial_no }} | {{ $asset->year }} | {{ $asset->colour }} | {!! DisplayHelper::formatMoney($asset->amount_inclusive) !!} | @elseif ($asset_type->invoice){{ $agreement->assets_header->invoice_no ? $agreement->assets_header->invoice_no : $asset->invoice_no }} | {!! $agreement->assets_header->invoice_date ? DateHelper::stringifyWithTime($agreement->assets_header->invoice_date) : DateHelper::stringifyWithTime($asset->invoice_date)!!} | {{ $asset->order_no }} | {{ $asset->reference }} | {!! DateHelper::stringifyWithTime($agreement->assets_header->due_date) !!} | {!! DisplayHelper::formatMoney($asset->amount_inclusive) !!} | @elseif ($asset_type->cheque){{ $asset->cheque_no }} | {!! DateHelper::stringifyWithTime($asset->cheque_date) !!} | {!! DateHelper::stringify($agreement->discount_due_date) !!} | {{ $agreement->bank_account ? $agreement->bank_account->bank_name : ''}} | {{ $agreement->bank_account ? $agreement->bank_account->account_no : '' }} | {!! DisplayHelper::formatMoney($agreement->discount_amount - $agreement->vat_amount) !!} | {!! DisplayHelper::formatMoney($agreement->face_value) !!} | @elseif ($asset_type->right){{ $asset->right_no }} | {!! DateHelper::stringify($asset->cheque_date) !!} | {!! DateHelper::stringify($agreement->discount_due_date) !!} | {{ $agreement->bank_account->bank_name }} | {{ $agreement->bank_account->account_no }} | {!! DisplayHelper::formatMoney($agreement->discount_amount - $agreement->vat_amount) !!} | {!! DisplayHelper::formatMoney($agreement->face_value) !!} | @elseif ($asset_type->property){{ $asset->property_erf_no }} | {{ $asset->property_suburb }} | {{ $agreement->provider->description }} | {!! DateHelper::stringifyWithTime($asset->property_transfer_date) !!} | {{ $asset->property_deed_no }} | {!! DisplayHelper::formatMoney($agreement->discount_amount - $agreement->vat_amount) !!} | {!! DisplayHelper::formatMoney($agreement->face_value) !!} | @endif