@extends('adminlte::page') @section('title', 'Financial Reports') @section('content_header')
Total Revenue
{{ $startDate->format('M j') }} - {{ $endDate->format('M j, Y') }}Outstanding
{{ $outstandingInvoices->count() }} invoicesCase Types
Generating revenueBilling Efficiency
Invoice vs Time Value| Invoice | Client | Amount | Due Date | Status |
|---|---|---|---|---|
| {{ $invoice->invoice_number }} | {{ $invoice->client->display_name ?? 'N/A' }} | ${{ number_format($invoice->total_amount, 0) }} |
{{ $invoice->due_date->format('M j, Y') }}
@if($invoice->due_date < now())
{{ $invoice->due_date->diffForHumans() }} @endif |
@php $statusColors = [ 'sent' => 'warning', 'partial' => 'info', 'paid' => 'success' ]; @endphp {{ ucfirst($invoice->status) }} |
No outstanding invoices found.
@endif| Client | Type | Revenue | Invoices |
|---|---|---|---|
| @if($client->client_type === 'corporate') {{ $client->company_name }} @else {{ $client->first_name }} {{ $client->last_name }} @endif | {{ ucfirst($client->client_type) }} | ${{ number_format($client->total_revenue, 0) }} | {{ $client->invoice_count }} |
No client revenue data available.
@endif