@extends('layouts.app') @section('content')

All Invoices ({{ $invoices->count() }})

${{ number_format($total_price, 0, ',') }}

Paid Invoices ({{ $paid_invoices->count() }})

${{ number_format($total_price_paid, 0, ',') }}

Overdue Invoices ({{ $overdue_invoices->count() }})

${{ number_format($total_price_overdue, 0, ',') }}

Cancelled Invoices ({{ $cancelled_invoices->count() }})

${{ number_format($total_price_cancelled, 0, ',') }}
@csrf

Select User

Select Date

Select Status

By Category

Invoices

@foreach ($invoices as $invoice) @endforeach
Invoice ID Category Created On Invoice to Amount Due Date Status View Edit Mark as sent Send Invoice Clone Invoice Delete
#{{ $invoice->invoice_id }}
{{ $invoice->category->name }} {{ $invoice->created_at->format('d M Y') }} {{ $invoice->client->user->name }} ${{ number_format(round($invoice->items_sum_price), 0, ',') }} {{ \Carbon\Carbon::parse($invoice->due_date)->format('d M Y') }} View Edit {{ $invoice->sent == 0 ? 'Mark as Sent' : 'Mark as Unsent' }} Send Invoice Clone Invoice
@csrf @method('DELETE')
@foreach ($paid_invoices as $invoice) @endforeach
Invoice ID Created On Invoice to Amount Actions
#{{ $invoice->invoice_id }}
{{ $invoice->created_at->format('d M Y') }} {{ $invoice->client->user->name }} ${{ number_format(round($invoice->items_sum_price), 0, ',') }}
Edit
@csrf @method('DELETE')
@foreach ($overdue_invoices as $invoice) @endforeach
Invoice ID Created On Invoice to Amount Last Date Actions
#{{ $invoice->invoice_id }}
{{ $invoice->created_at->format('d M Y') }} {{ $invoice->client->user->name }} ${{ number_format(round($invoice->items_sum_price), 0, ',') }} {{ \Carbon\Carbon::parse($invoice->due_date)->format('d M Y') }}
Edit
@csrf @method('DELETE')
@foreach ($draft_invoices as $invoice) @endforeach
Invoice ID Created On Invoice to Amount Actions
#{{ $invoice->invoice_id }}
{{ $invoice->created_at->format('d M Y') }} {{ $invoice->client->user->name }} ${{ number_format(round($invoice->items_sum_price), 0, ',') }}
Edit
@csrf @method('DELETE')
@foreach ($recurring_invoices as $invoice) @endforeach
Invoice ID Created On Invoice to Amount Action
#{{ $invoice->invoice_id }}
{{ $invoice->created_at->format('d M Y') }} {{ $invoice->client->user->name }} ${{ number_format(round($invoice->items_sum_price), 0, ',') }}
Edit
@csrf @method('DELETE')
@foreach ($cancelled_invoices as $invoice) @endforeach
Invoice ID Created On Invoice to Amount Action
#{{ $invoice->invoice_id }}
{{ $invoice->created_at->format('d M Y') }} {{ $invoice->client->user->name }} ${{ number_format(round($invoice->items_sum_price), 0, ',') }}
Edit
@csrf @method('DELETE')
{{-- View Invoice Modal --}} @section('script') {{-- Search clients --}} {{-- Search categories --}} {{-- Update status --}} {{-- Mark as sent --}} {{-- Send Invoice --}} {{-- Date filter --}} {{-- View Invoice --}} @endsection @endsection