@extends('layouts.app') @section('content')

Invoice Tracking Dashboard

Bulk Invoices

{{ $bulkInvoiceCount }}

Utility invoices (KPLC, Water)
Individual Bills

{{ $billCount }}

Linked to bulk invoices
Rent Invoices

{{ $rentInvoiceCount }}

Monthly rent invoices
Total Invoices

{{ $totalCount }}

All invoice types
Today's Generated Invoices
Bulk Invoices: {{ $todayInvoices['bulk_invoices'] }}
Individual Bills: {{ $todayInvoices['bills'] }}
Rent Invoices: {{ $todayInvoices['rent_invoices'] }}
Monthly Invoice Trends (Last 12 Months)
@foreach($monthlyTrends as $trend) @endforeach
Month Bulk Invoices Individual Bills Rent Invoices Total
{{ $trend['month'] }} {{ $trend['bulk_invoices'] }} {{ $trend['bills'] }} {{ $trend['rent_invoices'] }} {{ $trend['bulk_invoices'] + $trend['bills'] + $trend['rent_invoices'] }}
@endsection