@extends('layouts.app')
@php($scope = request('scope'))
@section('title', 'Payment Alerts')
@section('subtitle', 'Overdue and upcoming balances')
@section('content')
| Invoice | Student | Description | Due date | Balance | Status | Actions |
|---|---|---|---|---|---|---|
| {{ $payment->invoice_number }} |
{{ $payment->student?->user?->name }}
{{ $payment->student?->user?->email }}
|
{{ $payment->description }} |
{{ $payment->due_date?->format('j M Y') }}
{{ $payment->due_date?->diffForHumans() }}
|
{{ money($payment->balance()) }} | {{ \App\Models\Payment::STATUSES[$payment->status] ?? ucfirst($payment->status) }} | |