@extends('layouts.app') @section('title', 'Trade Dashboard') @section('header', 'Trade Dashboard') @section('content')
Total Invoices

{{ $totalInvoices }}

Total Quantity

{{ number_format($totalQuantity) }}

Total Amount

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

Outstanding

${{ number_format($outstandingAmount, 2) }}

Customer Summary
@forelse($customers as $customer) @empty @endforelse
Customer Customer ID User Phone Today's Quantity Monthly Quantity Total Quantity Actions
{{ $customer->name }} {{ $customer->customer_id }} {{ $customer->user_name }} {{ $customer->phone }} {{ number_format($customer->pgi_quantity_date) }} {{ number_format($customer->pgi_quantity_month) }} {{ number_format($customer->pgi_quantity) }} View
No data available
{{ $customers->links() }}
@endsection