@extends('layouts.app') @section('page-title', 'Rent Payments') @section('content')
| Invoice # | Payment Date | Gym Name | Amount | Next Payment Due | Status | Action |
|---|---|---|---|---|---|---|
| {{ $payment->invoice_number ?? 'N/A' }} | {{ $payment->payment_date->format('M d, Y') }} | {{ $payment->gym->name }} | Rs {{ number_format($payment->amount, 2) }} | {{ $payment->next_payment_due_date?->format('M d, Y') ?? 'N/A' }} | @if($status == 'paid') Paid @elseif($status == 'overdue') Overdue @else Pending @endif | |
| No rent payments found. | ||||||