{{ $branch->branch_name ?? 'Branch' }} - Bulk Sales Bills Report

Generated on: {{ now()->format('d-m-Y h:i A') }} | Total Records: {{ count($rows) }}

@php $grandTotal = 0; $grandAdvance = 0; $grandBalance = 0; @endphp @forelse ($rows as $index => $row) @php $grandTotal += (float) $row->total; $grandAdvance += (float) $row->advance_amt; $grandBalance += (float) $row->balance_amt; @endphp @empty @endforelse @if(count($rows) > 0) @endif
# Booked Date Order ID Serial No Customer Phone Delivery Date Sold By Total (₹) Advance (₹) Balance (₹) Payment Status
{{ $index + 1 }} {{ $row->created_at ? $row->created_at->format('d/m/Y h:i A') : '-' }} {{ $row->order_id }} {{ $row->daily_serial_number ?: '-' }} {{ $row->customer_name ?: '-' }} {{ $row->customer_phone ?: '-' }} {{ $row->delivery_date ? \Carbon\Carbon::parse($row->delivery_date)->format('d/m/Y h:i A') : '-' }} {{ $row->staff->name ?? '-' }} {{ number_format($row->total, 2) }} {{ number_format($row->advance_amt, 2) }} {{ number_format($row->balance_amt, 2) }} {{ ucfirst($row->payment_mode ?? 'cash') }} {{ ucfirst($row->status) }}
No bulk sales bills found for the selected criteria.
Total: ₹ {{ number_format($grandTotal, 2) }} ₹ {{ number_format($grandAdvance, 2) }} ₹ {{ number_format($grandBalance, 2) }}