Seller Report

From Date: {{ $from_date }}

To Date: {{ $to_date }}

Total Sellers: {{ $sellers->count() }}

Generated On: {{ date('d-m-Y H:i:s') }}

@php $statusLabels = [ 0 => 'Inactive', 1 => 'Active' ]; @endphp @forelse($sellers as $seller) @empty @endforelse @if($sellers->count() > 0) @endif
SL No Seller ID Seller Name Mobile Status Total Products Active Products Total Orders Total Revenue Created Date
{{ $seller->sl_no }} #{{ $seller->id }} {{ $seller->name_en ?? 'N/A' }} @if($seller->country_code) {{ $seller->country_code }}-{{ $seller->mobile ?? 'N/A' }} @else {{ $seller->mobile ?? 'N/A' }} @endif {{ $statusLabels[$seller->status] ?? 'Unknown' }} {{ $seller->total_products ?? 0 }} {{ $seller->active_products ?? 0 }} {{ $seller->total_orders ?? 0 }} {{ number_format($seller->total_revenue ?? 0, 2) }} {{ $seller->created_at ? date('d-m-Y', strtotime($seller->created_at)) : 'N/A' }}
No sellers found for the selected date range.
Grand Totals: {{ $sellers->sum('total_products') }} {{ $sellers->sum('active_products') }} {{ $sellers->sum('total_orders') }} {{ number_format($sellers->sum('total_revenue'), 2) }}