@extends(\Auth::user()->role != 10 ? 'layout' : 'layoutfrontdesk') @section('title', 'Booking | Verifikasi Pembayaran Booking') @section('css') @endsection @section('content')
@if(\Auth::user()->role == 10) @endif @php $no=1; @endphp @foreach($bookings as $booking) @if(\Auth::user()->role == 10) @endif @php $no++; @endphp @endforeach
# Kode BookingHotelNama Kamar Checkin x Checkout Jumlah Malam Jumlah Orang Tipe Booking Total Biaya Jenis Pembayaran Status Verifikasi Cek
{{$no}} {{$booking->kode_booking ? $booking->kode_booking : '-'}}{{$booking->hotel->nama}}{{$booking->nama}} @foreach($booking->jns_kamar as $key => $val)

-{{$val}}

@endforeach
@php $checkin = $booking->start_date ? $booking->start_date->format('d-m-Y h:m') : '-'; $checkout = $booking->end_date ? $booking->end_date->format('d-m-Y h:m') : '-'; @endphp

 {{$checkin}}

 {{$checkout}}

{{$booking->jml_malam}} malam @if($booking->jml_dewasa == 0 && $booking->jml_anak == 0) - @else @if($booking->jml_dewasa > 0) Dewasa ({{$booking->jml_dewasa}} orang) @endif @if($booking->jml_anak > 0) Anak-anak ({{$booking->jml_anak}} orang) @endif @endif {{config('custom.tipe_booking')[$booking->tipe_booking]}} Rp. {{number_format($booking->total_biaya, 0, ',', '.')}} {{config('custom.jenis_pembayaran')[$booking->jns_pembayaran]}} {{config('custom.status_booking')[$booking->status_booking]}}
@endsection @section('js') @endsection