Data Guest List
Report Printed on: {{date('l, F d, Y')}}
Period: {{formatDate($period ?? getSystemDate())}}
{{-- --}} {{-- @if(null == $no_roomrate) --}} {{-- @endif --}} @php $no = 1; $total_breakfast = 0; $total_room_have_breakfast=0; @endphp @if (count($guests) > 0) @foreach($guests as $key => $id_guests) @foreach ($id_guests as $guest) {{-- --}} {{-- @if(null == $no_roomrate) --}} {{-- @endif --}} @php $no++; @endphp @endforeach @endforeach {{-- @foreach($guests as $guest) @if($guest->bookingDetails) @foreach($guest->bookingDetails as $detail) @if(null == $no_roomrate) @endif @php $no++; @endphp @endforeach @endif @endforeach --}} @if(null == $no_roomrate) @endif @else @endif
No RmNo RmType/ArrangementArrangementName License plateRate Code RmRate Incl. Breakfast Deposit Night Bill A/Ch ResNo C/I C/O Email Nat Company/TA Segment
{{$no}} {{$guest['roomcurrent']}} {{ array_key_exists($guest['detail']->jns_kamar, $roomtag) ? $roomtag[$guest['detail']->jns_kamar] : initial($guest['detail']->jns_kamar) }} / {{$guest['detail']->arrangement_codes}} {{$guest['detail']->arrangement_codes}} {{-- {{strtoupper($guest['guest']->title)}} --}} {{$guest['detail']->guest_room}} {{$guest['guest']->plat_nomor ?? '-'}}{{ $guest['detail']->rate_codes }} {{ ribuan($guest['detail']->per_item) }} {!! array_key_exists($guest['detail']->arrangement_id, $room_breakfast) ? ($room_breakfast[$guest['detail']->arrangement_id] == "" ? '-' : 'Yes') : '-' !!} @if(array_key_exists($guest['detail']->arrangement_id, $room_breakfast)) @if($room_breakfast[$guest['detail']->arrangement_id] != "") @php $total_room_have_breakfast += 1 @endphp @endif @endif {{($guest['invoice_payment']?ribuanWithComma($guest['invoice_payment']) :'-') ?? '-'}} {{($guest['night']? ribuanWithComma($guest['night']) :' ') ?? ' '}} Night {{($guest['invoice_bill']? ribuanWithComma($guest['invoice_bill']) :'-') ?? '-'}} {{$guest['detail']->pax}}/{{$guest['guest']->jml_anak}} @if(array_key_exists($guest['detail']->arrangement_id, $room_breakfast)) @if($room_breakfast[$guest['detail']->arrangement_id] != "") @php $total_breakfast += $guest['detail']->pax @endphp @endif @endif {{$guest['guest']->kode_booking}} {{$guest['detail']->checkin_real ? dateFormat($guest['detail']->checkin_real, 'd-m-Y') : ($guest['detail']->checkin ? $guest['detail']->checkin->format('d-m-Y') : '-')}}
{{$guest['detail']->checkin_real ? dateFormat($guest['detail']->checkin_real, 'H:i:s') : ($guest['detail']->checkin ? $guest['detail']->checkin->format('H:i:s') : null)}}
{{$guest['detail']->checkout_real ? dateFormat($guest['detail']->checkout_real, 'd-m-Y') : ($guest['detail']->checkout ? $guest['detail']->checkout->format('d-m-Y') : '-')}}
{{$guest['detail']->checkout_real ? dateFormat($guest['detail']->checkout_real, 'H:i:s') : ($guest['detail']->checkout ? $guest['detail']->checkout->format('H:i:s') : null)}}
{{$guest['guest']->email}} {{$guest['guest']->kewarganegaraan}} {{$guest['guest']->company ? $guest['guest']->company->name : ($guest['guest']->segmentasi_rate_code == 7 ? '[WALK IN GUEST]' : '[INDIVIDUAL RESERVATION]')}} {{config('custom.segment_ratecodes')[$guest['detail']->segment_rate_code_drop_id]}}
{{$no}} {{$detail->nomor_kamar}} {{ array_key_exists($detail->jns_kamar, $roomtag) ? $roomtag[$detail->jns_kamar] : initial($detail->jns_kamar) }} {{$detail->arrangement_codes}} {{strtoupper($guest->title)}} {{$guest->nama}} {{$guest->email}}{{ ribuan($detail->per_item) }}{{ $detail->rate_codes }} {!! $room_breakfast[$detail->rate_codes] ? 'Yes' : '-' !!} {{$guest->kode_booking}} {{$detail->pax}}/{{$guest->jml_anak}} @if(array_key_exists($detail->rate_codes, $room_breakfast)) @if($room_breakfast[$detail->rate_codes] != "") @php $total_breakfast += $detail->pax @endphp @endif @endif {{$guest->kewarganegaraan}} {{$guest->company ? $guest->company->name : ($guest->segmentasi_rate_code == 7 ? '[WALK IN GUEST]' : '[INDIVIDUAL RESERVATION]')}} {{$guest->start_date->format('d-m-Y')}} {{$guest->end_date->format('d-m-Y')}} {{config('custom.segment_ratecodes')[$guest->segmentasi_rate_code]}}
Total Breakfast | Room/Pax {{$total_room_have_breakfast}}/{{$total_breakfast}}

No Data