@extends('layouts.app') @section('title', 'Invoices Management') @section('content')
Manage customer invoices and payments
Total Invoices
{{ $stats['total'] }}
Paid
{{ $stats['paid'] }}
Unpaid
{{ $stats['unpaid'] }}
Total Revenue
Rp {{ number_format($stats['total_revenue'], 0, ',', '.') }}
| Invoice # | Customer | Package | Amount | Type | Status | Date | Actions |
|---|---|---|---|---|---|---|---|
| {{ $invoice->invoice_number }} |
{{ $invoice->customer->name }} {{ $invoice->customer->phone }} |
{{ $invoice->package->name ?? '-' }} |
Rp {{ number_format($invoice->amount, 0, ',', '.') }} |
{{ ucfirst($invoice->invoice_type) }} | {{ ucfirst($invoice->status) }} |
{{ $invoice->created_at->format('d M Y') }} |
|
|
No invoices found |
|||||||