@extends('layouts.app') @section('title', 'Expired Payment Schedules') @section('content')
| # | Provider | Invoice | Due Date | Days Overdue | Amount | Committed Amount | Remaining | Payment Status | Notes | Actions |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration + ($expiredSchedulesPaginated->currentPage() - 1) * $expiredSchedulesPaginated->perPage() }} | {{ $schedule->provider->company_name ?? $schedule->provider->name ?? 'N/A' }} | @if($schedule->invoice_id) {{ $schedule->invoice->bill_no ?? 'Invoice #' . $schedule->invoice_id }} @else — @endif | {{ $schedule->due_date->format('d M Y') }} | {{ $schedule->days_overdue }} days | BDT {{ number_format($schedule->amount, 2) }} | BDT {{ number_format($schedule->paid_amount, 2) }} | BDT {{ number_format($schedule->remaining_amount, 2) }} | @if($schedule->payment_status == 'paid') Paid @elseif($schedule->payment_status == 'partial') Partial @else Pending @endif | @if($schedule->notes) {{ Str::limit($schedule->notes, 30) }} @else — @endif |
All payment schedules are up to date!