@include('reports.pdf-style')

Daily Sales Summary

{{ \Carbon\Carbon::parse($date)->format('l, d F Y') }}
{{ $orders->count() }}
Total Orders
Rs. {{ number_format($totalSales, 2) }}
Total Sales
Rs. {{ number_format($totalPaid, 2) }}
Total Received
Rs. {{ number_format($totalSales - $totalPaid, 2) }}
On Credit
@forelse($orders as $order) @empty @endforelse
Order # Customer Items Total Received
{{ $order->id }} {{ $order->customer->name ?? ($order->customer_name ?: 'Walk-in') }} @foreach($order->items as $item) {{ $item->product->category->name ?? '' }} {{ $item->product->weight->label ?? '' }} x{{ (int)$item->quantity }}{{ !$loop->last ? ', ' : '' }} @endforeach Rs. {{ number_format($order->total, 2) }} Rs. {{ number_format($order->paid, 2) }}
No orders on this date
TOTAL Rs. {{ number_format($totalSales, 2) }} Rs. {{ number_format($totalPaid, 2) }}