@extends('layouts.app') @section('title', 'Invoices') @section('page-title', 'Invoices') @section('content') {{-- Stats --}}
This Month
₹{{ number_format($stats['total_this_month'], 2) }}
Outstanding
₹{{ number_format($stats['outstanding'], 2) }}
Overdue
{{ $stats['overdue_count'] }}
Drafts
{{ $stats['draft_count'] }}
| Invoice # | Customer | Date | Due Date | Amount | Due | Status | Actions |
|---|---|---|---|---|---|---|---|
| {{ $invoice->invoice_number }} @if($invoice->invoice_type !== 'tax_invoice') {{ str_replace('_',' ',ucfirst($invoice->invoice_type)) }} @endif |
{{ $invoice->customer_name }} @if($invoice->customer_gstin){{ $invoice->customer_gstin }} @endif |
{{ $invoice->invoice_date->format('d M Y') }} | {{ $invoice->due_date ? $invoice->due_date->format('d M Y') : '—' }} | ₹{{ number_format($invoice->total_amount, 2) }} | ₹{{ number_format($invoice->amount_due, 2) }} | {{ ucfirst($invoice->status) }} | |
|
No invoices found |
|||||||