@extends('layouts.app') @section('title', 'Invoice List') @section('page', 'invoices') @section('salesNav', 'invoices') @php $rows = [ ['id' => 1, 'invoice' => 'INV-12088', 'date' => '2026-07-13', 'due' => '2026-07-20', 'customer' => 'Corporate Catering Co', 'sale' => 'SL-98421', 'total' => 860.00, 'paid' => 860.00, 'status' => 'Paid'], ['id' => 2, 'invoice' => 'INV-12087', 'date' => '2026-07-13', 'due' => '2026-07-27', 'customer' => 'City Hall Events', 'sale' => 'SL-98415', 'total' => 1240.50, 'paid' => 400.00, 'status' => 'Partial'], ['id' => 3, 'invoice' => 'INV-12086', 'date' => '2026-07-12', 'due' => '2026-07-19', 'customer' => 'Nova Tech Office', 'sale' => 'SL-98410', 'total' => 420.00, 'paid' => 0.00, 'status' => 'Unpaid'], ['id' => 4, 'invoice' => 'INV-12085', 'date' => '2026-07-12', 'due' => '2026-07-12', 'customer' => 'Harbor Hotel', 'sale' => 'SL-98408', 'total' => 3180.00, 'paid' => 0.00, 'status' => 'Overdue'], ['id' => 5, 'invoice' => 'INV-12084', 'date' => '2026-07-11', 'due' => '2026-07-18', 'customer' => 'Jordan Miles', 'sale' => 'SL-98407', 'total' => 98.00, 'paid' => 98.00, 'status' => 'Paid'], ['id' => 6, 'invoice' => 'INV-12083', 'date' => '2026-07-11', 'due' => '2026-07-25', 'customer' => 'Summit Wellness', 'sale' => 'SL-98405', 'total' => 670.00, 'paid' => 0.00, 'status' => 'Unpaid'], ['id' => 7, 'invoice' => 'INV-12082', 'date' => '2026-07-10', 'due' => '2026-07-17', 'customer' => 'Blue River Bank', 'sale' => 'SL-98402', 'total' => 1890.25, 'paid' => 1890.25, 'status' => 'Paid'], ['id' => 8, 'invoice' => 'INV-12081', 'date' => '2026-07-10', 'due' => '2026-07-10', 'customer' => 'Studio Nine', 'sale' => 'SL-98399', 'total' => 512.40, 'paid' => 0.00, 'status' => 'Overdue'], ['id' => 9, 'invoice' => 'INV-12080', 'date' => '2026-07-09', 'due' => '2026-07-16', 'customer' => 'Ava Lopez', 'sale' => 'SL-98395', 'total' => 154.20, 'paid' => 154.20, 'status' => 'Paid'], ['id' => 10, 'invoice' => 'INV-12079', 'date' => '2026-07-09', 'due' => '2026-07-23', 'customer' => 'Ryan West', 'sale' => 'SL-98390', 'total' => 246.00, 'paid' => 100.00, 'status' => 'Partial'], ['id' => 11, 'invoice' => 'INV-12078', 'date' => '2026-07-08', 'due' => '2026-07-15', 'customer' => 'Mia Chen', 'sale' => 'SL-98388', 'total' => 78.50, 'paid' => 0.00, 'status' => 'Void'], ['id' => 12, 'invoice' => 'INV-12077', 'date' => '2026-07-08', 'due' => '2026-07-22', 'customer' => 'Emma Stone', 'sale' => 'SL-98385', 'total' => 312.00, 'paid' => 312.00, 'status' => 'Paid'], ]; $statusVariant = fn ($s) => match ($s) { 'Paid' => 'success', 'Partial' => 'info', 'Unpaid' => 'warning', 'Overdue', 'Void' => 'danger', default => 'neutral', }; @endphp @section('content')

Invoice List

Customer invoices and payment status

@include('partials.sales-nav')
@foreach ($rows as $row) {{ $row['invoice'] }} {{ $row['date'] }} {{ $row['due'] }} {{ $row['customer'] }} {{ $row['sale'] }} {{ money($row['total']) }} {{ money($row['paid']) }} {{ $row['status'] }} @endforeach
UI only — invoice is not posted.
@endsection @push('scripts') @endpush