@if(Helper::widgetAccess('enable_order_history_albatross_excel')) @endif @if(Helper::widgetAccess('show_column_auth_code')) @endif @if(Helper::widgetAccess('show_column_tax_amount')) @endif @if(Helper::widgetAccess('show_column_is_order_printed')) @endif @if(Helper::widgetAccess('show_column_service_charge')) @endif @if(!empty($ordersData)) @foreach($ordersData as $key => $dList) @php $order_info_key = ($export == '1') ? 'orderItemInfo' : 'order_item_info'; /*$getNames = \App\Models\Orders::getEmployeeInfo($dList['employee_id']); $getCustNames = \App\Models\Orders::getCustomerInfo($dList['customer_id']);*/ @endphp @if(Helper::widgetAccess('enable_order_history_albatross_excel')) @endif @if(Helper::widgetAccess('show_column_auth_code')) @endif @if(Helper::widgetAccess('show_column_tax_amount')) @endif @if(Helper::widgetAccess('show_column_is_order_printed')) @endif @if(Helper::widgetAccess('show_column_service_charge')) @endif @endforeach @else @endif

{{ __('lbl.orders_sales') }} Report

{{ __('lbl.from') }} {{$timeFilter['start']}} {{ __('lbl.to') }} {{$timeFilter['end']}}
{{ __('lbl.establishment') }} {{$storeName}}
 
{{ __('lbl.applicant_name') }} {{ __('lbl.order_number') }}{{ __('lbl.service_number_range') }} {{ __('lbl.payment_slip_number') }}{{ __('lbl.created_by') }} {{ __('lbl.created_at') }} {{ __('lbl.status') }} {{ __('lbl.gross_total') }} {{ __('lbl.net_sales') }} {{ __('lbl.last_digits') }}{{ __('lbl.auth_code') }}{{ __('lbl.tax') }}{{ __('lbl.is_printed') }}{{ __('lbl.service_charge_cash') }} {{ __('lbl.service_charge_card') }}{{ __('lbl.discount') }} {{ __('lbl.item_discount') }} {{ __('lbl.tip_amount') }} {{ __('lbl.gross_sales') }} {{ __('lbl.payment_total') }}
{{ ($dList->orderCustomerInfo) ? $dList->orderCustomerInfo['customer_name'] : $dList->clientName }} {{ $dList['app_order_id'] }} @php $item_discount = isset($dList[$order_info_key][0]) ? $dList[$order_info_key][0]['item_discount'] : '0.00'; $service_number = isset($dList[$order_info_key][0]) ? $dList[$order_info_key][0]['service_number'] : []; $service_no_range = !empty($service_number) ? explode('-',$service_number) : null ; if(is_array($service_no_range)){ $service_no_range = array_filter($service_no_range); $service_number = (reset($service_no_range) == end($service_no_range)) ? reset($service_no_range) : reset($service_no_range).'-'.end($service_no_range); }else{ $service_number = ''; } @endphp {{$service_number}} {{ $dList['payment_slip_number']}} {{ ($dList->orderEmployeeInfo) ? $dList->orderEmployeeInfo->emp_name : '' }} {{\Carbon\Carbon::parse($dList['created_at'], config('app.timestamp'))->setTimezone(Helper::usertimezone())->format('Y-m-d H:i:s')}} {{ $dList['status']}} {{$dList['order_gross_total']}} {{$dList['total_net_sales']}} {{$dList['card_last_4']}} {{ $dList['auth_code'] }}{{$dList['total_tax_amount']}} {{ $dList['is_order_printed']=='true' ? 'Yes' : 'No' }}{{$dList['service_charge_cash']}} {{$dList['service_charge_card']}}{{$dList['total_discount'] }} {{($dList['item_discount']>0)?$dList['item_discount']:0}} {{$dList['tip_amount'] }} {{$dList['order_total'] }} {{$dList['payment_total'] }}
{{ __('lbl.no_record_found') }}