@if(isset($daily_orders) && $daily_orders == 'yes') @else @endif @if(Helper::widgetAccess('show_column_tax_amount')) @endif @if($Paymethods) @foreach($Paymethods as $Paymethod) @endforeach @endif @if(Helper::widgetAccess('hide_drop1_drop2')) @else @endif @php $totalQty = 0;$totalSales = 0; @endphp @if(!empty($establishmentData)) @php $total_gross_sales=$total_net_sales=$total_tax_amount=$total_surcharge=$total_tip_amount=$total_payments=$total_transactions=$total_discount=$total_invoices=0;$total_cash_amount=$total_card_amount=$total_other_amount=$drop_one=$drop_two=$total_items_sold=$total_tax_amount_cash=$total_tax_amount_card='0.00'; @endphp @foreach($establishmentData as $tList) @if(!empty($tList['date'])) @php $other_amount = '0.00'; $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_surcharge+=$tList['total_surcharge']; $total_tip_amount+=$tList['total_tip_amount']; $total_payments+=$tList['total_payments']; $drop_one+=$tList['drop_one']; $drop_two+=$tList['drop_two']; $total_transactions+=$tList['total_transactions']; $total_items_sold+=$tList['total_items_sold']; $total_cash_amount+=$tList['total_cash_amount']; $total_card_amount+=$tList['total_card_amount']; $other_amount = round($tList['total_payments']-($tList['total_cash_amount']+$tList['total_card_amount']),2); $total_other_amount+=$other_amount; $total_tax_amount_cash+=$tList['tax_amount_cash']; $total_tax_amount_card+=$tList['tax_amount_card']; @endphp @if(isset($daily_orders) && $daily_orders == 'yes') @else @endif @if(Helper::widgetAccess('show_column_tax_amount')) @endif @if($Paymethods) @foreach($Paymethods as $Paymethod) @endforeach @endif @if(Helper::widgetAccess('hide_drop1_drop2')) @else @endif @php @endphp @endif @endforeach @if(Helper::widgetAccess('show_column_tax_amount')) @endif @php if($Paymethods){ foreach($Paymethods as $Paymethod){ $pay_method = 'total_'.$Paymethod->payment_key; echo ''; } } @endphp @if(Helper::widgetAccess('hide_drop1_drop2')) @else @endif @else @endif

{{ __('lbl.establishment_report') }} ({{$storeName}})

{{ __('lbl.from') }} {{$timeFilter['start']}} {{ __('lbl.to') }} {{$timeFilter['end']}}
{{ __('lbl.date') }} {{ __('lbl.business_name') }} {{ __('lbl.gross_sales')}} {{ __('lbl.total_discount') }} {{ __('lbl.net_sales') }} {{ __('lbl.total_tax') }} {{ __('lbl.cash_tax') }} {{ __('lbl.card_tax') }} {{ __('lbl.surchages') }} {{ __('lbl.tip_amount') }} {{$Paymethod->payment_value}}{{ __('lbl.Cash') }} {{ __('lbl.card') }} {{ __('lbl.other') }} {{ __('lbl.total_payments') }} {{ __('lbl.total_item_sold') }} {{ __('lbl.drop_one') }} {{ __('lbl.drop_two') }} {{ __('lbl.total_transactions') }}
{{ $tList['date'] }}{{ $tList['business_name'] }}{{ $tList['total_gross_sales'] }} {{ $tList['total_discount'] }} {{ $tList['total_net_sales'] }}{{ $tList['total_tax_amount'] }} {{ $tList['tax_amount_cash'] }} {{ $tList['tax_amount_card'] }}{{ $tList['total_surcharge'] }} {{ $tList['total_tip_amount'] }} {{ $tList['total_'.$Paymethod->payment_key] }} {{ $tList['total_cash_amount'] }} {{ $tList['total_card_amount'] }} {{ $other_amount }} {{ $tList['total_payments'] }} {{ $tList['total_items_sold'] }}{{ $tList['drop_one'] }} {{ $tList['drop_two'] }}{{ $tList['total_transactions'] }}
{{ __('lbl.total') }} {{ $total_gross_sales }} {{ $total_discount }} {{ $total_net_sales }} {{ $total_tax_amount }} {{ $total_tax_amount_cash }} {{ $total_tax_amount_card }} {{ $total_surcharge }} {{ $total_tip_amount }} '.array_sum(array_column($establishmentData,$pay_method)).'{{ $total_cash_amount }} {{ $total_card_amount }} {{ $total_other_amount }} {{ round($total_payments,2) }} {{$total_items_sold}} {{ $drop_one }} {{ $drop_two }} {{ $total_transactions }}
{{ __('lbl.no_record_found') }}