@extends('layouts.app')
@section('title', 'Dashboard')
@section('content')
Overview
Total Customers
{{ number_format($totalCustomers) }}
Total Invoices
{{ number_format($totalInvoices) }}
Today's Invoices
{{ number_format($todayInvoices) }}
Total Sales
₹{{ number_format($totalSales, 2) }}
| Customer |
Mobile |
City |
@forelse($recentCustomers as $customer)
| {{ $customer->customer_name }} |
{{ $customer->mobile }} |
{{ $customer->city ?? '-' }} |
@empty
| No recent customers. |
@endforelse
| Invoice No |
Customer |
Amount |
@forelse($recentInvoices as $invoice)
| {{ $invoice->invoice_no }} |
{{ $invoice->customer->customer_name }} |
₹{{ number_format($invoice->grand_total, 2) }} |
@empty
| No recent invoices. |
@endforelse
@endsection
@push('scripts')
@endpush