@extends(\Auth::user()->role != 10 ? 'layout' : 'layoutfrontdesk') @section('title', 'Housekeeping') @section('css') @endsection @section('content')
@if(\Auth::user()->role == 1) @endif @php $no=1; @endphp @foreach($kamars as $kamar) @if(\Auth::user()->role == 1) @endif @php $no++; @endphp @endforeach
#HotelRoom Number Room Type Status Date Status Report
{{$no}}{{$kamar->hotel->nama}}{{$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")}}
@endsection @section('js') @endsection