@extends('layouts.app') @section('title', 'Invoices') @section('content')
@if ($unpaidCount > 0) {{ $unpaidCount }} {{ Str::plural('invoice', $unpaidCount) }} pending @else All invoices settled @endif
Unpaid
{{ $unpaidCount }}
Overdue
{{ $overdueCount }}
@if ($overdueCount > 0)requires action
@endifPaid this month
{{ $paidCount }}
No invoices yet
Invoices are generated automatically when a proposal is approved
| Invoice # | Client | Project | Amount | Status | Due Date | Actions |
|---|---|---|---|---|---|---|
| {{ $invoice->invoice_number }} | {{ $invoice->client->name }} | {{ $invoice->project->title }} |
{{ $symbol }} {{ number_format($totalAmt, 2) }} @if ($sv !== 'unpaid' || $paidPct > 0) |
{{ $badgeLabel }} | {{ $invoice->due_date->format('d M Y') }} | View @if ($sv === 'paid') · Paid {{ $invoice->paid_at->format('d M Y') }} @else · View & Pay @endif |
Showing {{ $invoices->firstItem() }}–{{ $invoices->lastItem() }} of {{ $invoices->total() }}