@php($page = 'receipts') {{env('APP_NAME')}} | Receipt Details
@include("components.navbar")
@include("components.sidebar")

Receipt Details

₦ {{ number_format($receipt->amount, 2) }}

{{ $receipt->status }}
Receipt Reference {{ $receipt->reference }}
Date {{ $receipt->date->format('F d, Y') }}
Payer {{ $receipt->payer }}
Payment Method {{ $receipt->payment_method }}
@if($receipt->customer)
Linked Customer {{ $receipt->customer->firstName }} {{ $receipt->customer->lastName }} View Profile
@endif @if($receipt->invoice)
Linked Invoice Invoice #{{ $receipt->invoice->invoice_number }} View Invoice
@endif
Description / Memo

{{ $receipt->description ?: 'N/A' }}


Accounting Impact
@php($journal = $receipt->journal()) @if($journal) @foreach($journal->entries as $entry) @endforeach @else @endif
Account Type Amount
{{ $entry->account->title }} {{ ucfirst($entry->type) }} ₦ {{ number_format($entry->amount, 2) }}
No journal record found.
Recorded by {{ $receipt->createdBy->firstName }} {{ $receipt->createdBy->lastName }} on {{ $receipt->created_at->format('Y-m-d H:i') }}
@include("components.footer")