@if($dateRange === 'custom')
@endif
Total Sales
Rs. {{ number_format($metrics['totalSales'], 2) }}
{{ $metrics['orderCount'] }} orders
Product Profit
Rs. {{ number_format($metrics['totalProductProfit'], 2) }}
Baking Lab Cost: Rs. {{ number_format($metrics['totalBakingLabCost'], 2) }}
Delivery Profit
Rs. {{ number_format($metrics['totalDeliveryProfit'], 2) }}
Actual Delivery Cost: Rs. {{ number_format($metrics['totalDeliveryCost'], 2) }}
Total Profit
Rs. {{ number_format($metrics['totalProfit'], 2) }}
@if($metrics['totalSales'] > 0)
{{ number_format(($metrics['totalProfit'] / $metrics['totalSales']) * 100, 1) }}% Margin
@endif