{{ ($dList->orderCustomerInfo) ? $dList->orderCustomerInfo['customer_name'] : $dList->clientName }} |
{{ $dList['app_order_id'] }} |
@if(Helper::widgetAccess('enable_order_history_albatross_excel'))
@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']}} |
@endif
{{ ($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']}} |
@if(Helper::widgetAccess('show_column_auth_code'))
{{ $dList['auth_code'] }} |
@endif
@if(Helper::widgetAccess('show_column_tax_amount'))
{{$dList['total_tax_amount']}} |
@endif
@if(Helper::widgetAccess('show_column_is_order_printed'))
{{ $dList['is_order_printed']=='true' ? 'Yes' : 'No' }} |
@endif
@if(Helper::widgetAccess('show_column_service_charge'))
{{$dList['service_charge_cash']}} |
{{$dList['service_charge_card']}} |
@endif
{{$dList['total_discount'] }} |
{{($dList['item_discount']>0)?$dList['item_discount']:0}} |
{{$dList['tip_amount'] }} |
{{$dList['order_total'] }} |
{{$dList['payment_total'] }} |
@endforeach
@else