@extends('layouts.app') @section('title', 'Invoices') @section('content') @php $f = $filters ?? []; $qParams = request()->query(); $tabBase = array_filter(['q' => $f['q'] ?? '', 'client_id' => $f['client_id'] ?? '', 'project_id' => $f['project_id'] ?? '', 'date_from' => $f['date_from'] ?? '', 'date_to' => $f['date_to'] ?? '', 'sort' => $f['sort'] ?? '', 'direction' => $f['direction'] ?? '']); @endphp
Invoices
Click any invoice to view details
Total Invoiced
{{ \App\Support\Format::mwkDecimal($totalInvoiced) }}
Paid
{{ \App\Support\Format::mwkDecimal($paidTotal) }}
Outstanding
{{ \App\Support\Format::mwkDecimal($outstandingTotal) }}
Overdue
{{ \App\Support\Format::mwkDecimal($overdueTotal) }}
Showing invoices for project {{ $fp->name ?? ('#'.$filterProjectId) }}
Clear project filterShowing invoices for client {{ $fc->company_name ?? ('#'.$filterClientId) }}
Clear client filterNo invoices found
Create your first invoice or adjust your filters.
| Invoice # | Client | Project | Date | Amount | MRA Fiscal Code | Status | |
|---|---|---|---|---|---|---|---|
| {{ $i->invoice_number }} | {{ $i->client?->company_name }} | {{ $i->project?->name ?? '—' }} | {{ $i->invoice_date?->format('M j, Y') }} | {{ \App\Support\Format::mwkDecimal($i->total_amount) }} | @if($i->mra_fiscal_code) {{ $i->mra_fiscal_code }} @else Not fiscalised @endif | {{ $i->status }} | View |
New Invoice