Branch: {{ $branch->name }}
@endif| Date | Orders | @if(count($charges) > 0) @foreach($charges as $charge){{ $charge->charge_name }} | @endforeach @endif @if(count($taxes) > 0) @foreach($taxes as $tax){{ $tax->tax_name }} ({{ $tax->tax_percent }}%) | @endforeachTotal Tax | @endifCash | Card | UPI | @if($paymentGateway && $paymentGateway->razorpay_status)Razorpay | @endif @if($paymentGateway && $paymentGateway->stripe_status)Stripe | @endif @if($paymentGateway && $paymentGateway->flutterwave_status)Flutterwave | @endifDelivery Fee | Discount | Tip | Total | Total (Excl. Tip) | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($item['date'])->format('M d, Y') }} | {{ $item['total_orders'] }} | @if(count($charges) > 0) @foreach($charges as $charge){{ currency_format($item['charges'][$charge->charge_name] ?? 0, $currencyId) }} | @endforeach @endif @if(count($taxes) > 0) @foreach($taxes as $tax){{ currency_format($item['taxes'][$tax->tax_name] ?? 0, $currencyId) }} | @endforeach{{ currency_format($item['total_tax_amount'] ?? 0, $currencyId) }} | @endif{{ currency_format($item['cash_amount'], $currencyId) }} | {{ currency_format($item['card_amount'], $currencyId) }} | {{ currency_format($item['upi_amount'], $currencyId) }} | @if($paymentGateway && $paymentGateway->razorpay_status){{ currency_format($item['razorpay_amount'], $currencyId) }} | @endif @if($paymentGateway && $paymentGateway->stripe_status){{ currency_format($item['stripe_amount'], $currencyId) }} | @endif @if($paymentGateway && $paymentGateway->flutterwave_status){{ currency_format($item['flutterwave_amount'], $currencyId) }} | @endif{{ currency_format($item['delivery_fee'], $currencyId) }} | {{ currency_format($item['discount_amount'], $currencyId) }} | {{ currency_format($item['tip_amount'], $currencyId) }} | {{ currency_format($item['total_amount'], $currencyId) }} | {{ currency_format($item['total_excluding_tip'], $currencyId) }} | ||||
| No sales data available for this period | |||||||||||||||||||
| TOTAL | {{ $reportData->sum('total_orders') }} | @if(count($charges) > 0) @foreach($charges as $charge){{ currency_format($reportData->sum(fn($item) => $item['charges'][$charge->charge_name] ?? 0), $currencyId) }} | @endforeach @endif @if(count($taxes) > 0) @foreach($taxes as $tax){{ currency_format($reportData->sum(fn($item) => $item['taxes'][$tax->tax_name] ?? 0), $currencyId) }} | @endforeach{{ currency_format($reportData->sum('total_tax_amount'), $currencyId) }} | @endif{{ currency_format($reportData->sum('cash_amount'), $currencyId) }} | {{ currency_format($reportData->sum('card_amount'), $currencyId) }} | {{ currency_format($reportData->sum('upi_amount'), $currencyId) }} | @if($paymentGateway && $paymentGateway->razorpay_status){{ currency_format($reportData->sum('razorpay_amount'), $currencyId) }} | @endif @if($paymentGateway && $paymentGateway->stripe_status){{ currency_format($reportData->sum('stripe_amount'), $currencyId) }} | @endif @if($paymentGateway && $paymentGateway->flutterwave_status){{ currency_format($reportData->sum('flutterwave_amount'), $currencyId) }} | @endif{{ currency_format($reportData->sum('delivery_fee'), $currencyId) }} | {{ currency_format($reportData->sum('discount_amount'), $currencyId) }} | {{ currency_format($reportData->sum('tip_amount'), $currencyId) }} | {{ currency_format($reportData->sum('total_amount'), $currencyId) }} | {{ currency_format($reportData->sum('total_excluding_tip'), $currencyId) }} | ||||