{{-- For staging/production development --}} {{-- Added margin so that we can properly fit the content into the receipt's pre-printed header and footer --}}

Transaction details

Cashier: {{ $transaction->cashier->name }}
Transaction ID: {{ $transaction->receipt_transaction_id }}
Date/Time: {{ $transaction->created_at }}

Sender details

Sender: {{ $transaction->customer->name }}
Nationality: {{ $transaction->customer->profile->nationality }}
ID type: {{ $transaction->customer->identificationDetail->type }}
ID No: {{ $transaction->customer->identificationDetail->number }}
Contact No: {{ $transaction->customer->contact_number }}
D.O.B: {{ $transaction->customer->profile->dob ? $transaction->customer->profile->dob->format('d/m/Y') : '' }}

Beneficiary details

Beneficiary: {{ $transaction->beneficiary->name }}
Country: {{ $transaction->beneficiary->country }}
Bank: {{ $transaction->beneficiary->bank }}
Branch: {{ $transaction->beneficiary->bank_branch }}
Account No: {{ $transaction->beneficiary->account_number }}
Relationship: {{ $transaction->beneficiary->relationship }}

Conversion details

From Amount: {{ $transaction->from_amount }} {{ $transaction->from_currency }} ({{ $transaction->conversion }})
To Amount: {{ $transaction->to_amount }} {{ $transaction->to_currency }}
Fees: {{ $transaction->fees }} {{ $transaction->from_currency }}
Total : {{ $transaction->total }} {{ $transaction->from_currency }}
{{-- Added margin so that we can properly fit the content into the receipt's pre-printed header and footer --}}

Transaction details

Cashier: {{ $transaction->cashier->name }}
Transaction ID: {{ $transaction->receipt_transaction_id }}
Date/Time: {{ $transaction->created_at }}

Sender details

Sender: {{ $transaction->customer->name }}
Nationality: {{ $transaction->customer->profile->nationality }}
ID type: {{ $transaction->customer->identificationDetail->type }}
ID No: {{ $transaction->customer->identificationDetail->number }}
Contact No: {{ $transaction->customer->contact_number }}
D.O.B: {{ $transaction->customer->profile->dob ? $transaction->customer->profile->dob->format('d/m/Y') : '' }}

Beneficiary details

Beneficiary: {{ $transaction->beneficiary->name }}
Country: {{ $transaction->beneficiary->country }}
Bank: {{ $transaction->beneficiary->bank }}
Branch: {{ $transaction->beneficiary->bank_branch }}
Account No: {{ $transaction->beneficiary->account_number }}
Relationship: {{ $transaction->beneficiary->relationship }}

Conversion details

From Amount: {{ $transaction->from_amount }} {{ $transaction->from_currency }} ({{ $transaction->conversion }})
To Amount: {{ $transaction->to_amount }} {{ $transaction->to_currency }}
Fees: {{ $transaction->fees }} {{ $transaction->from_currency }}
Total : {{ $transaction->total }} {{ $transaction->from_currency }}