@extends('layouts.app') @section('title','Dashboard | BASCORE') @section('content')

Dashboard

Revenue, outstanding balances and recent activity.
Add Customer Record Payment
@foreach([ ['Total Invoices',$totalInvoices], ['Paid Amount','AED '.number_format($paidAmount,2)], ['Outstanding','AED '.number_format($outstanding,2)], ['Overdue',$overdueCount], ['Pending Quotes',$pendingQuotations], ] as [$label,$value])
{{ $label }}
{{ $value }}
@endforeach

Recent Invoices

@include('documents.partials.mini-table',['documents'=>$recentInvoices,'type'=>'invoice'])

Recent Quotations

@include('documents.partials.mini-table',['documents'=>$recentQuotations,'type'=>'quotation'])

Top Customers

@forelse($topCustomers as $customer) @empty@endforelse
CustomerCompanyTotal Value
{{ $customer->customer_name }}{{ $customer->company_name }}AED {{ number_format($customer->total_value,2) }}
No customer activity yet.
@endsection