Sales Bills Report

Total Bills: {{ $rows->count() }}     Generated: {{ now()->format('d-m-Y h:i A') }}
@forelse($rows as $i => $row) {{-- S.No --}} {{-- Date --}} {{-- Daily Serial Number --}} {{-- Order ID --}} {{-- Phone --}} {{-- Staff --}} {{-- Billed By --}} {{-- Billed In --}} {{-- Payment --}} {{-- Total --}} {{-- Status --}} @empty @endforelse @if($rows->count() > 0) @endif
# Date Serial No Order ID Phone Staff Billed By Billed In Payment Total Status
{{ $i + 1 }} {{ $row->created_at?->format('d-m-Y h:i A') ?? '-' }} {{ $row->daily_serial_number ?? '' }} {{ $row->order_id ?? '-' }} {{ $row->customer_phone ?: '-' }} {{ $row->staff?->name ?? '-' }} {{ $row->billingCounter?->counter_name ?? '-' }} {{ $row->billed_in ?: '-' }} {{ $row->payment_mode ? ucfirst($row->payment_mode) : '-' }} ₹ {{ number_format((float) $row->total, 2) }} {{ $row->status ? ucfirst($row->status) : '-' }}
No sales bills found.
Total ₹ {{ number_format((float) $rows->sum('total'), 2) }}