@php $formattedStartTime = \Carbon\Carbon::createFromFormat('H:i', $startTime)->format('h:i A'); $formattedEndTime = \Carbon\Carbon::createFromFormat('H:i', $endTime)->format('h:i A'); @endphp ({{ $startDate === $endDate ? __('modules.report.salesDataFor') . " $startDate, " . __('modules.report.timePeriod') . " $formattedStartTime - $formattedEndTime" : __('modules.report.salesDataFrom') . " $startDate " . __('app.to') . " $endDate, " . __('modules.report.timePeriodEachDay') . " $formattedStartTime - $formattedEndTime" }})
Today's Tax Collection
{{ currency_format($todayTaxTotal, restaurant()->currency_id) }}
Today's Orders
{{ $todayOrdersCount }}
Today's Revenue
{{ currency_format($todayRevenue, restaurant()->currency_id) }}
{{ currency_format($totalTax, restaurant()->currency_id) }}
{{ currency_format($totalAmount, restaurant()->currency_id) }}
{{ $totalOrders }}
{{ $totalItems }}
| Tax Name | Tax Rate (%) | Total Tax Amount | Items Count | Orders Count |
|---|---|---|---|---|
| {{ $tax['name'] }} | {{ number_format($tax['percent'], 2) }}% | {{ currency_format($tax['total_amount'], restaurant()->currency_id) }} | - | - |
| Total | {{ currency_format($totalTax, restaurant()->currency_id) }} | {{ $totalItems }} | {{ $totalOrders }} | |
@lang('app.noDataFound')
| Date | Total Tax | Total Revenue | Orders | Items Sold | Tax Breakdown |
|---|---|---|---|---|---|
| {{ $dateData['formatted_date'] }} | {{ currency_format($dateData['total_tax'], restaurant()->currency_id) }} | {{ currency_format($dateData['total_revenue'], restaurant()->currency_id) }} | {{ $dateData['total_orders'] }} | {{ $dateData['total_items'] }} |
@if(count($dateData['tax_breakdown']) > 0)
@foreach($dateData['tax_breakdown'] as $taxName => $taxInfo)
@else
No tax breakdown
@endif
{{ $taxName }}
({{ number_format($taxInfo['percent'], 2) }}%):
{{ currency_format($taxInfo['amount'], restaurant()->currency_id) }}
@endforeach
|
| Total | {{ currency_format($totalTax, restaurant()->currency_id) }} | {{ currency_format($totalAmount, restaurant()->currency_id) }} | {{ $totalOrders }} | {{ $totalItems }} | - |
@lang('app.noDataFound')
| Order # | Date & Time | Subtotal | Tax Breakdown | Total Tax | Total Amount |
|---|---|---|---|---|---|
| #{{ $orderDetail['order']->order_number }} | {{ \Carbon\Carbon::parse($orderDetail['order']->date_time)->format('M d, Y h:i A') }} | {{ currency_format($orderDetail['subtotal'], restaurant()->currency_id) }} |
@if(count($orderDetail['tax_breakdown']) > 0)
@foreach($orderDetail['tax_breakdown'] as $taxName => $taxInfo)
@else
No tax breakdown
@endif
{{ $taxName }}
({{ number_format($taxInfo['percent'], 2) }}%):
{{ currency_format($taxInfo['amount'], restaurant()->currency_id) }}
@endforeach
|
{{ currency_format($orderDetail['tax_amount'], restaurant()->currency_id) }} | {{ currency_format($orderDetail['total'], restaurant()->currency_id) }} |
| @lang('app.noDataFound') | |||||
| Order # | Date & Time | Subtotal | Tax Breakdown | Total Tax | Total Amount |
|---|---|---|---|---|---|
| #{{ $orderDetail['order']->order_number }} | {{ \Carbon\Carbon::parse($orderDetail['order']->date_time)->format('M d, Y h:i A') }} | {{ currency_format($orderDetail['subtotal'], restaurant()->currency_id) }} |
@if(count($orderDetail['tax_breakdown']) > 0)
@foreach($orderDetail['tax_breakdown'] as $taxName => $taxInfo)
@else
No tax breakdown
@endif
{{ $taxName }}
({{ number_format($taxInfo['percent'], 2) }}%):
{{ currency_format($taxInfo['amount'], restaurant()->currency_id) }}
@endforeach
|
{{ currency_format($orderDetail['tax_amount'], restaurant()->currency_id) }} | {{ currency_format($orderDetail['total'], restaurant()->currency_id) }} |
| Total | {{ currency_format($selectedDateTotals['subtotal'], restaurant()->currency_id) }} | - | {{ currency_format($selectedDateTotals['tax'], restaurant()->currency_id) }} | {{ currency_format($selectedDateTotals['total'], restaurant()->currency_id) }} | |
No orders found for this date.