@extends('docs.master', ['title' => 'Payment Receipt '.$model->number]) @section('content')
Payment From:
{{$model->client->person}},
{{$model->client->company}},
{{$model->client->billing_address}}
 
@if($model->payment_reference) @endif
Document Payment Receipt
Number: {{$model->number}}
Payment Date: {{$model->payment_date}}
Payment Mode: {{$model->payment_mode}}
Payment Reference: {{$model->payment_reference}}
Currency: {{$model->currency->code}}
Amount Received: {{moneyFormat($model->amount_received, $model->currency, false)}}
@foreach($model->items as $item) @endforeach
Invoice Date Invoice Number Total Amount Applied
{{$item->invoice->date}} {{$item->invoice->number}} {{moneyFormat($item->invoice->total, $model->currency, false)}} {{moneyFormat($item->amount_applied, $model->currency, false)}}
Amount Received {{moneyFormat($model->amount_received, $model->currency)}}
@endsection