@extends('layouts.app') @section('content')

Dashboard Overview

Manage your handloom business insights

New Entry
Quick Actions Desk
Single-click operational shortcuts
@php $stats = [ ['label' => 'Total Exhibitions', 'value' => $total_exhibitions, 'icon' => 'bi-grid-1x2', 'bg' => 'bg-primary'], ['label' => "Today's Exhibitions", 'value' => $todays_exhibitions, 'icon' => 'bi-calendar-check', 'bg' => 'bg-primary'], ['label' => 'Pending Reports', 'value' => $pending_reports, 'icon' => 'bi-file-earmark-text', 'bg' => 'bg-primary'], ['label' => 'Active Employees', 'value' => $active_employees, 'icon' => 'bi-people', 'bg' => 'bg-primary'] ]; @endphp @foreach($stats as $stat)

{{ $stat['label'] }}

{{ $stat['value'] }}

@endforeach
Recent Customer Activity
@foreach($recent_customers as $index => $entry) @endforeach
SR. NO. CUSTOMER NAME CONTACT CITY BILL AMOUNT DATE
{{ $index + 1 }} {{ $entry->name }} {{ $entry->contact }} {{ $entry->city }} ₹{{ number_format($entry->bill_amount, 2) }} {{ \Carbon\Carbon::parse($entry->purchase_date)->format('d M, Y') }}
@endsection