@extends('layouts.admin') @section('title', 'Finance Dashboard') @section('content')
{{ $stats['total_merchants'] }}
{{ $stats['total_invoices'] }}
{{ $stats['pending_payments'] }}
{{ $stats['overdue_invoices'] }}
| Invoice # | Merchant | Amount | Status |
|---|---|---|---|
| {{ $invoice->invoice_number }} | {{ $invoice->merchant->name }} | PKR {{ number_format($invoice->total_amount, 2) }} | {{ ucfirst($invoice->status) }} |
| No recent invoices. | |||
| Merchant | Amount | Date | Status |
|---|---|---|---|
| {{ $payment->merchant->name }} | PKR {{ number_format($payment->amount, 2) }} | {{ $payment->payment_date->format('d M, Y') }} | {{ ucfirst($payment->status) }} |
| No recent payments. | |||