@php
$totalQty = $totalSales = 0;
@endphp
@if($enterpriseSalesData)
@php
$total_gross_sales=$total_net_sales=$total_tax_amount=$total_order_amount=$total_transactions=$total_discount=$total_invoices=0;$total_surcharge=$total_tip_amount=$total_service_charge=$total_items_sold='0.00';
@endphp
@foreach($enterpriseSalesData as $tList)
@php
$total_gross_sales+=$tList['total_gross_sales'];
$total_discount+=$tList['total_discount'];
$total_net_sales+=$tList['total_net_sales'];
$total_tax_amount+=$tList['total_tax_amount'];
$total_order_amount+=$tList['total_order_amount'];
$total_transactions+=$tList['total_transactions'];
$total_surcharge+=$tList['total_surcharge'];
$total_tip_amount+=$tList['total_tip_amount'];
$total_service_charge+=$tList['total_service_charge'];
$total_items_sold+=$tList['total_items_sold'];
@endphp
{{ $tList['date'] }} |
{{storecurrency().$tList['total_gross_sales'] }} |
{{storecurrency().number_format($tList['total_discount'],2) }} |
{{storecurrency().number_format($tList['total_net_sales'],2) }} |
@if(Helper::widgetAccess('show_column_tax_amount'))
{{storecurrency().number_format($tList['total_tax_amount'],2) }} |
@endif
{{storecurrency().number_format($tList['total_surcharge'],2) }} |
{{storecurrency().number_format($tList['total_tip_amount'],2) }} |
@if(Helper::widgetAccess('show_column_service_charge'))
{{storecurrency().number_format($tList['total_service_charge'],2) }} |
@endif
{{storecurrency().number_format($tList['total_order_amount'],2) }} |
{{ $tList['total_items_sold'] }} |
{{ $tList['total_transactions'] }} |
@php
@endphp
@endforeach
{{ __('lbl.total') }} |
{{storecurrency().number_format($total_gross_sales,2) }} |
{{storecurrency().number_format($total_discount,2) }} |
{{storecurrency().number_format($total_net_sales,2) }} |
@if(Helper::widgetAccess('show_column_tax_amount'))
{{storecurrency().number_format($total_tax_amount,2) }} |
@endif
{{storecurrency().number_format($total_surcharge,2) }} |
{{storecurrency().number_format($total_tip_amount,2) }} |
@if(Helper::widgetAccess('show_column_service_charge'))
{{storecurrency().number_format($total_service_charge,2) }} |
@endif
{{storecurrency().number_format($total_order_amount,2) }} |
{{ $total_items_sold }} |
{{ $total_transactions }} |
@else
{{ __('lbl.no_record_found') }} |
@endif