@php($page = 'receipts')
{{env('APP_NAME')}} | Record Payment
@include("components.navbar")
@include("components.sidebar")
Record Payment / Generate Receipt
Back to List
@csrf
Payment Category / Type
Sales / Invoice Payment
Investment
Refund
Others
Link Customer (Optional)
Select Customer
@foreach($customers as $customer)
{{$customer->firstName}} {{$customer->lastName}}
@endforeach
Link Vendor (Optional)
Select Vendor
@foreach($vendors as $vendor)
{{$vendor->name}}
@endforeach
Link Invoice (Optional)
Select Invoice (Unpaid/Partial)
@foreach($invoices as $invoice)
#{{$invoice->invoice_number}} - {{$invoice->customer_name}} (Balance: ₦{{number_format($invoice->balance, 2)}})
@endforeach
Payer Name
*
Amount (₦)
*
Payment Method
*
Bank Transfer
Cash
POS
Online Payment
Wallet
Date
*
External Reference (e.g. Bank Ref, POS ID)
Description / Note
Accounting Integration:
This transaction will automatically generate a balanced Journal entry.
Debit Account (Receiving Account)
*
@foreach($accounts as $account)
id == 3) ? 'selected' : '' }}>{{$account->title}} ({{$account->type}})
@endforeach
Where the money is going (e.g. Bank or Cash account)
Credit Account (Source/Revenue Account)
*
@foreach($accounts as $account)
id == 1) ? 'selected' : '' }}>{{$account->title}} ({{$account->type}})
@endforeach
What the money is for (e.g. Sales Revenue)
Record Payment & Generate Receipt
@include("components.footer")