Walkin List
Report Printed on: {{date('l, F d, Y')}}
Period: {{ dateFormat($period, 'd-m-Y') }}
@php $no = 1; $total_breakfast = 0; $total_room_have_breakfast=0; @endphp @if (count($guests) > 0) @foreach($guests as $key => $guest) {{-- --}} @php $no++; @endphp @endforeach {{-- @foreach($guests as $guest) @if($guest->bookingDetails) @foreach($guest->bookingDetails as $detail) @if(null == $no_roomrate) @endif @php $no++; @endphp @endforeach @endif @endforeach --}} {{-- --}} {{-- --}} {{-- --}} @else @endif
No Reservation No Room Number Name Arrival Date Night Departure Date Qty RmType Adult Reservation Status Arrangement RmRate Arrival Time Departure Time Segment Remark
{{$no}} {{$guest['guest']->kode_booking}} {{$guest['detail']->nomor_kamar}} {{strtoupper($guest['guest']->title)}} {{$guest['guest']->nama}} {{$guest['detail']->start_date->format('d-m-Y')}} @php $cal_jumlah_malam = abs(strtotime($guest['detail']->end_date) - strtotime($guest['detail']->start_date)); $years = floor($cal_jumlah_malam / (365*60*60*24)); $months = floor(($cal_jumlah_malam - $years * 365*60*60*24) / (30*60*60*24)); $days = floor(($cal_jumlah_malam - $years * 365*60*60*24 - $months*30*60*60*24)/ (60*60*24)); @endphp {{$days}} {{$guest['detail']->end_date->format('d-m-Y')}} @php $a=1; // foreach ($guest['guest']->bookingDetails as $key => $value) { // if ($value->array_sub == 0 ) { // $a += 1; // } // } @endphp {{$a}} {{ array_key_exists($guest['detail']->jns_kamar, $roomtag) ? ($roomtag[$guest['detail']->jns_kamar] == "" ? initial($guest['detail']->jns_kamar) : $roomtag[$guest['detail']->jns_kamar]) : initial($guest['detail']->jns_kamar) }} {{$guest['detail']->pax}} @if(array_key_exists($guest['detail']->rate_codes, $room_breakfast)) @if($room_breakfast[$guest['detail']->rate_codes] != "") @php $total_breakfast += $guest['detail']->pax @endphp @endif @endif {{config('custom.status_booking')[$guest['detail']->status_booking]}} {{$guest['detail']->arrangement_codes}} {{ribuanWithComma($guest['detail']->per_item)}}{{$guest['detail']->start_date->format('H:i:s')}} {{$guest['detail']->end_date->format('H:i:s')}} @php if ($guest['detail']->checkin) { $start = dateFormat($guest['detail']->checkin, 'H:m:s'); } else { // $start = dateFormat($guest['guest']->start_date, 'H:m:s'); // ambil expected arrival as of 05/18 $start = dateFormat($guest['detail']->expected_arrival, 'H:m:s'); } @endphp {{$start}} @php if ($guest['detail']->checkout) { $end = dateFormat($guest['detail']->checkout, 'H:m:s'); } else { // jadi - as of 08/06 $end = '-'; // $end = dateFormat($guest['detail']->expected_arrival, 'H:m:s'); // $end = date('d-m-Y', strtotime($guest['guest']->end_date)); } @endphp {{$end}} {{config('custom.segment_ratecodes')[$guest['guest']->segmentasi_rate_code]}} {!!$guest['guest']->ket_pembayaran ?? '-'!!}
{{$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