@extends('layouts.admin') @section('title', 'Pending Settlement Report') @push('styles') @endpush @section('content')
Pending Invoices
Rs. {{ number_format($stats['total_pending_invoices'], 2) }}
{{ $stats['pending_count'] }} invoices
Pending Payments
Rs. {{ number_format($stats['total_pending_payments'], 2) }}
Awaiting processing
Overdue Invoices
{{ $stats['overdue_invoices'] }}
Past due date
Total Outstanding
Rs. {{ number_format($stats['total_pending_invoices'] + $stats['total_pending_payments'], 2) }}
Combined total
Pending Invoices
@forelse($pendingInvoices as $invoice) @empty @endforelse
Invoice # Merchant Amount Invoice Date Due Date Status Action
{{ $invoice->invoice_number }} {{ $invoice->merchant->name ?? 'N/A' }} Rs. {{ number_format($invoice->total_amount, 2) }} {{ $invoice->invoice_date->format('M d, Y') }} {{ $invoice->due_date->format('M d, Y') }} @if($invoice->status == 'overdue') Overdue @else {{ ucfirst($invoice->status) }} @endif View Details
No pending invoices
Pending Payments
@forelse($pendingPayments as $payment) @empty @endforelse
Payment # Merchant Amount Payment Date Method Status Action
{{ $payment->payment_number }} {{ $payment->merchant->name ?? 'N/A' }} Rs. {{ number_format($payment->amount, 2) }} {{ $payment->payment_date->format('M d, Y') }} {{ ucfirst(str_replace('_', ' ', $payment->payment_method)) }} Pending View Details
No pending payments
@endsection