@extends('super_admin.layouts.master') @section('title', 'Payment Receipt') @section('page_title', 'Payment Receipt #' . $payment->invoice_number) @section('content')
SchoolERP Solutions
₹{{ number_format($payment->amount_paid, 2) }}
Received
{{ $school->name }}
{{ $school->address }}
{{ $school->email }}
{{ $school->phone }}
Receipt No: RCP-{{ $payment->id }}
Invoice No: {{ $payment->invoice_number }}
Date: {{ \Carbon\Carbon::parse($payment->payment_date)->format('M d, Y') }}
Received By: {{ $receiver->name ?? 'Admin' }}
| Description | Amount |
|---|---|
| Invoice Amount | ₹{{ number_format($payment->invoice_amount, 2) }} |
| {{ $payment->previous_balance > 0 ? 'Previous Balance (Due)' : 'Previous Balance (Advance)' }} | {{ $payment->previous_balance > 0 ? '+' : '' }}₹{{ number_format($payment->previous_balance, 2) }} |
| Total Payable | ₹{{ number_format($payment->total_payable, 2) }} |
| Amount Paid | ₹{{ number_format($payment->amount_paid, 2) }} |
| {{ $payment->balance_remaining > 0 ? 'Balance Due' : 'Advance Credit' }} | ₹{{ number_format(abs($payment->balance_remaining), 2) }} |
Payment Method: {{ str_replace('_', ' ', $payment->payment_method) }}
@if($payment->transaction_id)Transaction ID: {{ $payment->transaction_id }}
@endif @if($payment->notes)Notes: {{ $payment->notes }}
@endif