@extends('layouts/blankLayout') @section('title', 'Rent Receipt - ' . ($rent->receipt_no ?? 'R' . $rent->id)) @section('page-style') @endsection @section('content')
| Receipt No. | {{ $rent->receipt_no ?? 'R' . $rent->id }} |
|---|---|
| Date | {{ $rent->paid_at ? $rent->paid_at->format('d/m/Y') : '—' }} |
| Student ID | {{ $rent->student_id }} |
| Student Name | {{ $rent->student->full_name ?? '—' }} |
| Room / Bed | {{ $rent->student->room_bed_identifier ?? ($rent->student->bed ? $rent->student->bed->name ?? '—' : '—') }} |
| Period | {{ $rent->period_from->format('d/m/Y') }} to {{ $rent->period_to->format('d/m/Y') }} |
| Amount (₹) | {{ number_format($rent->amount, 2) }} |
| Amount in Words |
{{ $amountInWords ?? '—' }}
|
| Payment Mode | {{ \Illuminate\Support\Arr::get(config('student_registration.payment_modes', []), $rent->payment_mode, $rent->payment_mode) }} |
| UTR / Transaction ID | {{ $rent->transaction_id }} |
| Cheque Number | {{ $rent->cheque_number }} |