@extends(\Auth::user()->role != 10 ? 'layout' : 'layoutfrontdesk') @section('title', 'In House Guest List Report') @section('css') @endsection @section('content')
{{-- Room sales --}}
@if(null === $no_roomrate) @endif @php $no = 1; $total_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 {{-- @if(null === $no_roomrate) @endif --}} @else @endif @if (count($guests) > 0) @if(null === $no_roomrate) @endif @endif
No RmNo RmType Arrangement Name EmailRmRateRate Code Incl. Breakfast ResNo A/Ch Nat Company/TA C/I C/O Segment
{{$no}} {{$guest['roomcurrent']}} {{ 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']->arrangement_codes}} {{-- {{strtoupper($guest['guest']->title)}} --}} {{$guest['detail']->guest_room}} {{$guest['guest']->email}}{{ribuan($guest['detail']->per_item)}}{{$guest['detail']->rate_codes}} {!! array_key_exists($guest['detail']->rate_codes, $room_breakfast) ? ($room_breakfast[$guest['detail']->rate_codes] == "" ? '-' : 'Yes') : '-' !!} {{$guest['guest']->kode_booking}} {{$guest['detail']->pax}}/{{$guest['guest']->jml_anak}} @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 {{$guest['guest']->kewarganegaraan}} {{$guest['guest']->company ? $guest['guest']->company->name : ($guest['guest']->segmentasi_rate_code == 7 ? '[WALK IN GUEST]' : '[INDIVIDUAL RESERVATION]')}} {{$guest['detail']->checkin ? $guest['detail']->checkin->format('d-m-Y H:i:s') : '-'}} {{$guest['detail']->checkout ? $guest['detail']->checkout->format('d-m-Y H:i:s') : '-'}} {{config('custom.segment_ratecodes')[$guest['detail']->segment_rate_code_drop_id]}}
9999999999 9999999999 Total Breakfast {{$total_breakfast}}

No Data

9999999999 9999999999 Total Breakfast {{$total_breakfast}}
@endsection @section('js') @endsection