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

Sales Performance Ledger

Comprehensive audit of physical retail billing and approved on-field exhibition streams.

Total Period Retail Billings

₹{{ number_format($total_customer_sales, 2) }}

Direct client bills registered
Live Exhibition Field Revenue

₹{{ number_format($total_exhibition_sales, 2) }}

On-site manager verified counters
Exhibition Stream Earnings
@forelse($exhibition_stream as $stream) @empty @endforelse
Event Name Location & City Approved Total Revenue
{{ $stream->exhibition->name ?? 'N/A' }} {{ $stream->exhibition->city ?? 'N/A' }} ₹{{ number_format($stream->sales_amount, 2) }}
No verified exhibition metrics recorded yet.
Customer Billing Registers
{{-- 📍 FIXED: Using relational data metrics array parsed stream from controller --}} @forelse($customer_bills_stream as $bill) @empty @endforelse
Date Invoice Code Customer Name City Amount
{{ \Carbon\Carbon::parse($bill->purchase_date)->format('d M, Y') }} {{ $bill->bill_number }} {{ $bill->customer->name ?? 'N/A' }} {{ $bill->customer->city ?? 'N/A' }} ₹{{ number_format($bill->bill_amount, 2) }}
No shop customer registrations recorded yet.
@endsection