@extends('layouts.app') @section('title', 'Dashboard') @section('header', 'Dashboard') @section('content')
{{ __('Dashboard') }}
@if (session('status')) @endif
Trade Invoices

{{ $invoiceCount ?? 0 }}

View All
Trade Customers

{{ $customerCount ?? 0 }}

View All
Total Amount

${{ number_format($totalAmount ?? 0, 2) }}

View Details
Recent Invoices
@forelse($recentInvoices ?? [] as $invoice) @empty @endforelse
Invoice # Customer Date Amount Status Actions
{{ $invoice->invoice_no }} {{ $invoice->customer_name }} {{ $invoice->invoice_date }} ${{ number_format($invoice->amount, 2) }} @if($invoice->import_status == 1) Completed @else Pending @endif View
No recent invoices found
@endsection