# | @if(\Auth::user()->role == 1)Hotel | @endifRoom Number | Room Type | Status | Date Status | Report |
---|---|---|---|---|---|---|
{{$no}} | @if(\Auth::user()->role == 1){{$kamar->hotel->nama}} | @endif{{$kamar->no_kamar}} |
@if(count($kamar->jenisKamars))
@foreach($kamar->jenisKamars as $jenis_kamar)
-{{$jenis_kamar->nama}} @endforeach @endif |
{{ array_key_exists( $kamar->status, config('custom.status_kamar') ) ? config('custom.status_kamar')[$kamar->status] : '-'}} | {{dateFormat(@$kamar->date_system_house_keeping, "d-m-Y")}} |