@extends('layouts.app') @php($scope = request('scope')) @section('title', 'Payment Alerts') @section('subtitle', 'Overdue and upcoming balances') @section('content') All payments Send reminders
All outstanding Overdue only Due this week
@forelse ($payments as $payment) @empty @endforelse
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) }}
@if (auth()->user()->hasPermission('sms.manage'))
@csrf
@endif
@endsection