@if($export == '1')

Annex D

{{ __('lbl.list_fo_daily_collection') }}
For : {{$storeName}}
Date : {{$date_today}}
{{ __('lbl.report_number') }}: _____________________
@endif @php $totalPayments = 0; @endphp @if(!empty($BankTranscations)) @php $order_info_key = ($export == '1') ? 'orderItemInfo' : 'order_item_info'; $order_customer_info_key = ($export == '1') ? 'orderCustomerInfo' : 'order_customer_info'; @endphp @foreach($BankTranscations as $key => $dList) @php $totalPayments += $dList['order_total']; @endphp @endforeach @endif
{{ __('lbl.date_and_time') }} {{ __('lbl.ar_number') }} {{ __('lbl.created_by') }} {{ __('lbl.name_of_payer') }} {{ __('lbl.particulars') }} {{ __('lbl.service_number_range') }} {{ __('lbl.amount') }}
{{\Carbon\Carbon::parse($dList['created_at'],config('app.timestamp'))->setTimezone(Helper::usertimezone())->format('Y-m-d H:i')}} {{$dList['payment_slip_number']}} {{$dList['created_by']}} @php $customer_name = isset($dList['order_customer_info']) ? $dList['order_customer_info']['customer_name'] : $dList['clientName']; @endphp {{$customer_name}} @php $particular = ($dList['paymentType']=='CARD') ? $dList['paymentType'].'('.$dList['card_last_4'].')' : $dList['paymentType']; @endphp {{strtoupper($particular)}} @php $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}} {{storecurrency().$dList['order_total']}}
{{storecurrency().number_format($totalPayments,2) }}
@if($export == '1')
({{$date_today}})
Date
@endif