@include('docs._printhead', ['title'=>'OFFICIAL RECEIPT','no'=>$p->receipt_no,'date'=>'Date: '.fdate($p->payment_date)])
@include('docs._fxprint', ['doc'=>$p, 'grand'=>$p->amount])
<div class="doc-meta"><div><b>Received from:</b><br><b>{{ $p->customer->name }}</b><br>{{ $p->customer->phone }}<br><b>Invoice:</b> {{ $p->invoice->invoice_no ?? 'On account' }}</div>
<div style="font-size:20px;font-weight:800">{{ fxmoney($p->amount, $p) }}</div></div>
<div class="twrap"><table class="tbl"><tbody>
<tr><td><b>Amount in words</b></td><td>{{ ucfirst($p->amount) }} Ghana cedis only</td></tr>
<tr><td><b>Mode</b></td><td>{{ ucfirst($p->payment_mode) }} {{ $p->cheque_no ? '(Cheque '.$p->cheque_no.')' : '' }} {{ $p->reference ? '· Ref '.$p->reference : '' }}</td></tr>
<tr><td><b>Received by</b></td><td>{{ $p->received_by }}</td></tr>
<tr><td><b>Remarks</b></td><td>{{ $p->remarks ?? '—' }}</td></tr>
</tbody></table></div>
@include('docs._printfoot', [])
