@extends('layouts/contentNavbarLayout') @section('title', 'Rent Management') @section('vendor-style') @endsection @section('content')
| Receipt No. | Student | Period | Amount | Payment Mode | Paid At | Action |
|---|---|---|---|---|---|---|
| {{ $r->receipt_no ?? 'R' . $r->id }} |
@if($s->documents->where('document_type', 'profile_photo')->first())
|
{{ $r->period_from->format('d/m/Y') }} – {{ $r->period_to->format('d/m/Y') }} | ₹ {{ number_format($r->amount, 2) }} | {{ $paymentModes[$r->payment_mode] ?? $r->payment_mode }} | {{ $r->paid_at?->format('d/m/Y H:i') ?? '—' }} | |
| No rent paid records for the selected period. | ||||||
| Student | Room / Bed | Rent (Bed) | Action |
|---|---|---|---|
|
@if($s->documents->where('document_type', 'profile_photo')->first())
|
{{ $s->room_bed_identifier ?? '—' }} | ₹ {{ $s->bed ? number_format($s->bed->rent_amount ?? 0, 2) : '—' }} | Add Rent |
| No pending rent for current month. | |||