@extends('backend.layouts.master') @section('content')

Dashboard

@if(request()->query->count()>0) Reset @endif

Statistics

Overall Summary

Orders

Total Orders: {{ $orderCount->count() }}

In Production

Total: {{ $orderCount->where('order_status', '1')->count() }}

Delivered

Total: {{ $orderCount->where('order_status', '4')->count() }}

Sales

{{ config('constants.currency_symbol') }} {{ number_format($totalSales, 2) }}

{{--

Card Sales

Amount: {{ config('constants.currency_symbol') }} {{ number_format($cardSales, 2) }}

Bank Sales

Amount: {{ config('constants.currency_symbol') }} {{ number_format($bankSales, 2) }}

--}}

Inventory

{{-- Value: {{ config('constants.currency_symbol') }} {{ number_format($inventoryValue, 2) }}
--}} Units: {{ number_format($totalQuantity) }}
Products: {{ number_format($totalProducts) }}

Customers

Customers: {{ number_format($totalCustomers) }}

Samples Request

Requests: {{ number_format($totalSampleRequests) }}

Quotations Request

Requests: {{ number_format($totalQuoteRequests) }}

Sales

Previous Month vs Current Month

All GCC Countries Sales Data

@forelse($countrySales as $key => $country) @empty @endforelse
# Country Name Total Sales
{{ $key + 1 }} {{ $country->country }} {{ number_format($country->total_sales, 2) }}
No Record Found

Latest Orders

Sr No. Order ID Date Company Contact Person Phone Amount Payment Method Amount Status Action
@endsection @push('js-script') @endpush @push('css-script') @endpush