Date range wise product sales report
Selected Range
{{ \Carbon\Carbon::parse($from_date)->format('d M, Y') }} - {{ \Carbon\Carbon::parse($to_date)->format('d M, Y') }}
Total Products
{{ $bestSellingProducts->count() }}
Total Amount
৳{{ number_format($bestSellingProducts->sum('total_amount'), 2) }}
| # | Product Name | Sell Qty | Amount (৳) |
|---|---|---|---|
| {{ $index + 1 }} | {{ $product->product_name }} | {{ number_format($product->total_qty, 0) }} | ৳{{ number_format($product->total_amount, 2) }} |
|
No products sold in this date range |
|||
| Total: | {{ number_format($bestSellingProducts->sum('total_qty'), 0) }} | ৳{{ number_format($bestSellingProducts->sum('total_amount'), 2) }} | |