{{__('lbl.store_name')}} : {{$storeName}}

{{__('lbl.from')}}: {{$timeFilter['start']}} {{__('lbl.to')}}: {{$timeFilter['end']}}


@if($showProductsOnExport) @endif @if(Helper::widgetAccess('show_return_columns_in_operations')) @endif @if(Helper::widgetAccess('show_column_tax_amount')) @endif @php $totalQty = 0;$totalSales = 0;$totalNetTotal = 0;$totalItemDiscount=0;$totalOrderDiscount=0;$totalTaxAmount=0; @endphp @if(!empty($OperationsData)) @foreach($OperationsData as $key => $CategoriesList) @php $cat_key = explode('_',$key); $cat_id = $cat_key[0];$cat_name = $cat_key[1]; $row_total_quantity='0';$row_raw_sales_price='0'; $row_void_raw_quantity='0';$row_raw_sales_price_void='0'; $row_return_raw_quantity='0';$row_raw_sales_price_return='0'; $row_tax_amount=$row_item_discount_total='0';$row_item_discount='0';$row_order_discount='0';$row_net_totals=$row_order_discount_total='0'; @endphp @if($showProductsOnExport) @endif @foreach($CategoriesList as $dList) @php //echo '
';print_r($dList);exit;
                        $void_message[$dList['message']][]=$dList['raw_sales_price_void']; 
                        // DISCOUNTS
                        $item_discount_total = $dList['item_discount_total']>0 ? $dList['item_discount_total'] : '0';
                        $row_item_discount_total +=$item_discount_total;
                        $order_discount_total = $dList['order_discount_amount_total']>0?$dList['order_discount_amount_total']:'0';
                        $row_order_discount_total += $order_discount_total;
                        // SALES
                        $row_total_quantity +=$dList['raw_quantity']; 
                        $row_raw_sales_price +=$dList['raw_sales_price'];
                        // RETURN 
                        $return_raw_quantity=!empty($dList['return_raw_quantity'])?$dList['return_raw_quantity']:'0';
                        $row_return_raw_quantity +=$return_raw_quantity;
                        $return_raw_return_price=!empty($dList['raw_sales_price_return'])?$dList['raw_sales_price_return']:'0.00';
                        $row_raw_sales_price_return += $return_raw_return_price;
                         // VOID
                        $void_raw_quantity=!empty($dList['void_raw_quantity'])?$dList['void_raw_quantity']:'0';
                        $row_void_raw_quantity +=$void_raw_quantity;
                        $void_raw_sales_price=!empty($dList['raw_sales_price_void'])?$dList['raw_sales_price_void']:'0.00';
                        $row_raw_sales_price_void += $void_raw_sales_price;
                        // TAXES
                        $row_tax_amount +=$dList['tax_amount'];
                        // NET SALES
                        $row_net_totals +=$dList['net_sales_price'];
                        @endphp 
                        @if($showProductsOnExport)
                        
@if(Helper::widgetAccess('show_return_columns_in_operations')) @endif @if(Helper::widgetAccess('show_column_tax_amount')) @endif @endif @php $totalQty += $dList['raw_quantity']; $totalSales += $dList['raw_sales_price']; $totalNetTotal += ($dList['net_sales_price']); $totalTaxAmount += $dList['tax_amount']; $totalItemDiscount += $item_discount_total; $totalOrderDiscount += $dList['order_discount_amount_total']; @endphp @endforeach @if(!$showProductsOnExport) @if(Helper::widgetAccess('show_return_columns_in_operations')) @endif @if(Helper::widgetAccess('show_column_tax_amount')) @endif @endif @endforeach @else @endif @if(Helper::widgetAccess('show_return_columns_in_operations')) @endif @if(Helper::widgetAccess('show_column_tax_amount')) @endif
{{__('lbl.sales_by_class')}}
{{ __('lbl.product_name') }} {{ __('lbl.raw_qty') }} {{ __('lbl.raw_sales') }}{{ __('lbl.return_qty') }} {{ __('lbl.return_sales') }}{{ __('lbl.item_disc') }} {{ __('lbl.order_disc') }} {{ __('lbl.net_totals') }} {{ __('lbl.voids_qty') }} {{ __('lbl.voids_sales') }}{{ __('lbl.total_tax') }}
{{$cat_name}}
{{ $dList['product_name'] }} {{ number_format($dList['raw_quantity'],2) }} {{ number_format($dList['raw_sales_price'],2) }}{{ $return_raw_quantity }} {{ $row_raw_sales_price_return }}{{storecurrency().$item_discount_total }} {{storecurrency().$order_discount_total }} {{storecurrency().number_format(($dList['net_sales_price']),2)}} {{ $void_raw_quantity }} {{ $row_raw_sales_price_void }}{{storecurrency().number_format(($dList['tax_amount'] ),2)}}
{{$cat_name}} {{ $row_total_quantity}} {{storecurrency().number_format($row_raw_sales_price,2) }}{{ $row_return_raw_quantity }} {{storecurrency().$row_raw_sales_price_return }}{{storecurrency().number_format($row_item_discount_total,2) }} {{storecurrency().number_format($row_order_discount_total,2) }} {{storecurrency().number_format($row_net_totals,2) }} {{ $row_void_raw_quantity }} {{storecurrency().$row_raw_sales_price_void }}{{storecurrency().number_format($row_tax_amount,2) }}
{{ __('lbl.no_record_found') }}
{{ __('lbl.total') }} {{ $totalQty }} {{storecurrency().number_format($totalSales,2) }} {{storecurrency().number_format($totalItemDiscount,2) }} {{storecurrency().number_format($totalOrderDiscount,2) }} {{storecurrency().number_format($disSalesTotal['order_net_sales'],2) }} {{storecurrency().number_format($totalTaxAmount,2) }}
@php $paymentsTotal = $paymentSummary['paymentsTotal']; $surcharge = $paymentSummary['surcharge']; $orderTotal = $paymentSummary['orderTotal']; @endphp @if (!empty($Paymethods)) @foreach ($Paymethods as $key => $Paymethod) @if(isset($paymentSummary[$Paymethod->payment_key.'Amount'])) @endif @endforeach @endif @if (!empty($paymentSummary['CARDS'])) @foreach ($paymentSummary['CARDS'] as $cardType => $cardAmount) @php $cardTypePercentage = ($paymentsTotal != 0) ? number_format($cardAmount * 100 / $paymentsTotal,2) : '0.00'; @endphp @endforeach @endif @if(Helper::widgetAccess('show_column_service_charge')) @endif @if(Helper::widgetAccess('show_refund_cash_card_data')) @endif @if(Helper::widgetAccess('show_tax_cash_card_data')) @endif
{{ __('lbl.payment_details') }}
{{ __('lbl.Cash') }} {{storecurrency().number_format($paymentSummary['cashAmount'],2) }} {{ $paymentSummary['cash_percentage'] }}%
{{ __('lbl.Card') }} {{storecurrency().number_format($paymentSummary['cardtotalpayment'],2) }} {{ $paymentSummary['card_percentage'] }}%
{{ __('lbl.cash_transctions') }} {{ round($paymentSummary['cashTranactions']) }} {{ $paymentSummary['cash_trans_perc'] }}%
{{ __('lbl.card_transctions') }} {{ round($paymentSummary['cardTransactions']) }} {{ $paymentSummary['card_trans_perc'] }}%
{{ __('lbl.other_transctions') }} {{ round($paymentSummary['otherTransactions']) }} {{ $paymentSummary['other_trans_perc'] }}%
{{ __('lbl.total_transctions') }} {{ round($paymentSummary['totalTransactions']) }} 100%
{{ __($Paymethod->payment_value) }} {{storecurrency().number_format($paymentSummary[$Paymethod->payment_key.'Amount'],2) }} {{ $paymentSummary[$Paymethod->payment_key.'_percentage'] }}%
{{ __('lbl.CreditM') }} {{storecurrency().number_format($paymentSummary['creditMAmount'],2) }} {{ $paymentSummary['creditm_percentage'] }}%
{{ $cardType }} {{storecurrency().number_format($cardAmount,2) }} {{ $cardTypePercentage }}%
{{ __('lbl.CustomPayment') }} {{storecurrency().number_format(0,2) }} 0.00%
{{ __('lbl.TotalTenderPayments') }} {{storecurrency().number_format(0,2) }} 0.00%
{{ __('lbl.GiftCards') }} {{storecurrency().number_format(0,2) }} 0.00%
{{ __('lbl.tip_amount') }} {{storecurrency().number_format($paymentSummary['tipAmount'],2) }} 0.00%
{{ __('lbl.service_charge') }} {{storecurrency().number_format($paymentSummary['serviceCharge'],2) }} 0.00%
{{ __('lbl.service_charge_cash') }} {{storecurrency().number_format($paymentSummary['service_charge_cash'],2) }} 0.00%
{{ __('lbl.service_charge_card') }} {{storecurrency().number_format($paymentSummary['service_charge_card'],2) }} 0.00%
{{ __('lbl.refunds') }} {{storecurrency().number_format($paymentSummary['refundAmount'],2) }} 0.00%
{{ __('lbl.refund_amount_cash') }} {{storecurrency().number_format($paymentSummary['total_refund_cash'],2) }} 0.00%
{{ __('lbl.refund_amount_card') }} {{storecurrency().number_format($paymentSummary['total_refund_card'],2) }} 0.00%
{{ __('lbl.surcharge') }} {{storecurrency().number_format($paymentSummary['surcharge'],2) }} 0.00%
{{ __('lbl.tax_amount') }} {{storecurrency().number_format($paymentSummary['tax_amount'],2) }} 0.00%
{{ __('lbl.tax_amount_cash') }} {{storecurrency().number_format($paymentSummary['tax_amount_cash'],2) }} 0.00%
{{ __('lbl.tax_amount_card') }} {{storecurrency().number_format($paymentSummary['tax_amount_card'],2) }} 0.00%
{{ __('lbl.payments_total') }} {{storecurrency().number_format($paymentSummary['paymentsTotal'],2) }} 100.00%
{{__('lbl.net_sales')}}
{{ __('lbl.taxed_net_sales') }} {{storecurrency().number_format($flatTax['taxed_item_net_sales'],2) }}
{{ __('lbl.untaxed_net_sales') }} {{storecurrency().number_format($flatTax['untaxed_item_net_sales'],2) }}
{{ __('lbl.total') }} {{storecurrency().number_format(($flatTax['taxed_item_net_sales']+$flatTax['untaxed_item_net_sales']),2) }}
{{__('lbl.discount_summary')}}
{{ __('lbl.item_discount') }} {{storecurrency().number_format($disSalesTotal['item_discount_total'],2) }}
{{ __('lbl.order_discount') }} {{storecurrency().number_format($disSalesTotal['order_discount_total'],2) }}
{{ __('lbl.total') }} {{storecurrency().number_format($disSalesTotal['item_discount_total']+$disSalesTotal['order_discount_total'],2) }}
@if(Helper::widgetAccess('show_column_tax_amount'))
{{__('lbl.flattax_summary')}}
{{ __('lbl.tax') }} {{ '@'.$prevailingTax->amount.' %'}} {{storecurrency().round($flatTax['tax_amount_flat'],2) }}
{{ __('lbl.total') }} {{storecurrency().round($flatTax['tax_amount_flat'],2) }}
@endif
{{__('lbl.surcharges')}}
{{ __('lbl.surcharge') }} {{storecurrency().number_format($surcharge,2) }}
@if (!empty($orderTypes)) @foreach ($orderTypes as $orderType) @php $order_type = $orderType['order_type']==''?'Other':$orderType['order_type']; @endphp @endforeach @php $total_transactions = array_sum(array_column($orderTypes,'total_transactions')); $total_net_sales = number_format(array_sum(array_column($orderTypes,'total_net_sales')),2); @endphp @endif
{{__('lbl.order_type')}}
{{ __('lbl.order_type') }} {{ __('lbl.transactions') }} {{ __('lbl.net_sales') }} {{ __('lbl.percentage_total_payment') }}
{{ $order_type }} {{ $orderType['total_transactions'] }} {{storecurrency().number_format($orderType['total_net_sales'], 2) }} {{ $orderType['percentage'] }}%
{{ $total_transactions }} {{storecurrency().$total_net_sales }} 100%
@php $totalVoidValue=0; @endphp @if(!empty($void_message)) @foreach($void_message as $messages => $prices) @php $totalVoidValue = $totalVoidValue + array_sum($prices); @endphp @endforeach @endif
{{__('lbl.void_reasons')}}
{{ $messages }} {{storecurrency().number_format(array_sum($prices),2) }}
{{ __('lbl.total') }} {{storecurrency().number_format($totalVoidValue,2) }}
{{__('lbl.gross_product_sales')}}
{{__('lbl.tax_gross_sales')}} {{storecurrency().number_format($flatTax['taxed_item_gross_sales'],2)}}
{{__('lbl.untax_gross_sales')}} {{storecurrency().number_format($flatTax['untaxed_item_gross_sales'],2)}}
{{__('lbl.tax_service_fee')}} {{storecurrency()}}0.00
{{__('lbl.untax_service_fee')}} {{storecurrency()}}0.00
{{__('lbl.shipping_and_handling')}} {{storecurrency()}}0.00
{{__('lbl.crv_charges_incl_sales')}} {{storecurrency().number_format($salesSummary['crv_tax'],2)}}
{{__('lbl.total_payments')}} {{storecurrency().number_format($salesSummary['gross_sales'],2)}}
@if($tillCashdrawerLogData) @php $tilLog=!empty($tillCashdrawerLogData) ? $tillCashdrawerLogData->toArray() : []; @endphp
{{__('lbl.cash_summary')}}
{{ __('lbl.start_amount') }} {{storecurrency()}}{{($tilLog['start_amount']>0)?$tilLog['start_amount']:'0'}}
{{ __('lbl.pay_ins') }} {{storecurrency()}}{{($tilLog['pay_ins']>0)?$tilLog['pay_ins']:'0' }}
{{ __('lbl.pay_outs') }} {{storecurrency()}}{{($tilLog['pay_outs']>0)?$tilLog['pay_outs']:'0' }}
{{ __('lbl.safe_drop') }} {{storecurrency()}}{{($tilLog['safe_drop']>0)?$tilLog['safe_drop']:'0' }}
{{ __('lbl.total_expected_cash') }} {{storecurrency()}}{{($tilLog['expected_cash_In']>0)?$tilLog['expected_cash_In']:'0' }}
{{ __('lbl.expected_cash_from_till') }} {{storecurrency()}}{{($tilLog['total_end_cash']>0)?$tilLog['total_end_cash']:'0' }}
{{ __('lbl.other') }} {{storecurrency()}}{{($tilLog['coin_dispensed']>0)?$tilLog['coin_dispensed']:'0' }}
{{ __('lbl.variance') }} {{storecurrency()}}{{($tilLog['variance']>0)?$tilLog['variance']:'0' }}
{{ __('lbl.cash_payments') }} {{storecurrency()}}{{($tilLog['cash_transactions']>0)?$tilLog['cash_transactions']:'0' }}
{{ __('lbl.number_of_sales_cash_drawer_opened') }} {{ $tilLog['total_transactions'] }}
@endif
{{__('lbl.service_performance')}}
{{__('lbl.total_transactions')}} {{round($salesSummary['total_transactions'])}}
{{__('lbl.average_check')}} {{storecurrency().number_format($salesSummary['average_check'],2)}}
{{__('lbl.total_guests')}} {{ $salesSummary['total_guests'] }}
{{__('lbl.average_sale_per_guest')}} {{storecurrency().number_format($salesSummary['average_guest_spent'],2) }}
{{__('lbl.cash_office')}}
{{__('lbl.declared_safe_drops')}} {{storecurrency()}}0.00
{{__('lbl.actual_safe_drops')}} {{storecurrency()}}0.00
{{__('lbl.variance')}} {{storecurrency()}}0.00
{{__('lbl.safe_count')}} {{storecurrency()}}0.00
{{__('lbl.amount_to_deposit')}} {{storecurrency()}}0.00
{{__('lbl.amount_to_safe')}} {{storecurrency()}}0.00
{{__('lbl.net_to_account_for')}}
{{__('lbl.net_to_account_for')}} {{storecurrency().number_format(round($paymentSummary['orderTotal'],2),2)}}
@if (!empty($discountReasons)) @foreach ($discountReasons as $key => $reasons) @endforeach @endif
{{__('lbl.discount_reasons')}}
{{$reasons['discount_name']}} {{$reasons['total_items']}} {{storecurrency().number_format($reasons['discount_item'],2) }} {{storecurrency().number_format($reasons['discount_order'],2) }}