@extends('layouts.dashboard') @section('content')
Invoice # | Date | Due Date | Status | Total | Actions |
---|---|---|---|---|---|
{{ $invoice->invoice_number }}
|
{{ $invoice->invoice_date->format('M d, Y') }} | {{ $invoice->due_date ? $invoice->due_date->format('M d, Y') : 'N/A' }} | @php $statusColors = [ 'draft' => 'bg-gray-100 text-gray-800', 'sent' => 'bg-blue-100 text-blue-800', 'paid' => 'bg-green-100 text-green-800', 'overdue' => 'bg-red-100 text-red-800', 'cancelled' => 'bg-red-100 text-red-800' ]; @endphp {{ ucfirst($invoice->status) }} | ${{ number_format($invoice->total_amount, 2) }} | View PDF CSV |
@if(request()->hasAny(['start_date', 'end_date', 'status', 'invoice_number'])) Try adjusting your filters to see more results. @else Invoices will appear here once your orders are completed. @endif