@foreach($datalist as $key=>$val) @php $calc = calcFinalAmount($val); @endphp @endforeach
S.No Room Check In Check Out Form Fill Room Amount Order Amount Total Amount Guest Name Guest Father Name Guest Mobile Guest Email Guest Gender Guest Age Guest Address Duration of Stay Total Persons Adult/Kids ID Card Type ID Card Number Invoice Applicable Company GST No. Booked By Vehicle Number Referred By Referred By Name Payment Mode Payment Status Reason of Visit/Stay Remark Amount Remark
{{$key+1}} @if(($val->room_type)) {{$val->room_type->title}}
( Room No. : {{$val->room_num}} ) @endif
{{dateConvert($val->check_in,'d-m-Y H:i')}} {{dateConvert($val->check_out,'d-m-Y H:i')}} @if($val->created_at_checkout!=null) {{dateConvert($val->created_at_checkout,'d-m-Y H:i')}}@endif {{ numberFormat($calc['finalRoomAmount']) }} {{ numberFormat($calc['finalOrderAmount']) }} {{ numberFormat($calc['finalRoomAmount']+$calc['finalOrderAmount']) }} {{$val->customer->name}} {{($val->customer) ? $val->customer->father_name : 'NA' }} {{($val->customer) ? $val->customer->mobile : 'NA'}} {{($val->customer) ? $val->customer->email : 'NA'}} {{($val->customer) ? $val->customer->gender : 'NA' }} {{($val->customer) ? $val->customer->age : 'NA' }} {{$val->customer->address}}, {{$val->customer->city}}, {{$val->customer->state}}, {{$val->customer->country}} {{$val->duration_of_stay}} {{$val->persons->count()}} {{$val->adult}}/{{$val->kids}} {{@getDynamicDropdownById($val->idcard_type, 'dropdown_value')}} {{$val->idcard_no}} {{($val->invoice_num!='') ? 'Yes' : 'No'}} {{$val->company_gst_num}} {{$val->booked_by}} {{$val->vehicle_number}} {{$val->referred_by}} {{$val->referred_by_name}} {{ @config('constants.PAYMENT_MODES')[$val->payment_mode]}} {{ @config('constants.PAYMENT_STATUS')[$val->payment_status]}} {{$val->reason_visit_stay}} {{$val->remark_amount}} {{$val->remark}}