{{$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}} |
{{-- {{strtoupper($guest['guest']->title)}} --}}
{{$guest['detail']->guest_room}}
|
{{$guest['guest']->plat_nomor ?? '-'}} |
@if(null == $no_roomrate)
@endif
{{$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]}} |
@php $no++; @endphp
@endforeach
@endforeach
{{--
@foreach($guests as $guest)
@if($guest->bookingDetails)
@foreach($guest->bookingDetails as $detail)
{{$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}} |
@if(null == $no_roomrate)
{{ribuan($detail->per_item)}} |
@endif
{{$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]}} |
@php $no++; @endphp
@endforeach
@endif
@endforeach
--}}