@extends(in_array(\Auth::user()->role, [10, 40]) ? 'layoutfrontdesk' : 'layout') @section('title', 'Dashboard') @section('css') @endsection @section('content')
@if(hotelID()) @if (!checkLicense() == 1)
Warning! This Hotel is Inactive. please contact our marketing!
@else @if(cekSetupCompleted()) @if(isset($_GET['setupcomplete'])) @if($_GET['setupcomplete'] == 1)
Congrats! now all features are available.
@endif @endif {{--
--}} {{--

Order Room Statistics

@if(in_array(\Auth::user()->role, [1,5])) @if(\Session::get('hotel_id'))
@if(count($jml_kamars) > 0)
    @foreach($jml_kamars as $key => $val)
  • {{$val['jenis'] ?? '-'}} {{$val['count'] ?? 0}} Booked Room
  • @endforeach
@else @endif
@else
@endif @else
@if(count($jml_kamars) > 0)
    @foreach($jml_kamars as $key => $val)
  • {{$val['jenis'] ?? '-'}} {{$val['count'] ?? 0}} Booked Room
  • @endforeach
@else @endif
@endif

Room Stocks {{dateFormat(getSystemDate(), 'd F Y')}}

@if(in_array(\Auth::user()->role, [1,5])) @if(\Session::get('hotel_id'))
@if(count($stok_kamars) > 0)
    @foreach($stok_kamars as $stok_kamar)
  • @php $badge = $stok_kamar['stok_kamars_count'] == 0 ? 'bg-danger' : 'bg-success'; @endphp {{$stok_kamar['nama']}}  @if(in_array(\Auth::user()->role, [1,5])){{$this_hotel->nama}}@endif {{$stok_kamar['stok_kamars_count']}} Room
  • @endforeach
@else @endif
@else
@endif @else
@if(count($stok_kamars) > 0)
    @foreach($stok_kamars as $stok_kamar)
  • @php $badge = $stok_kamar['stok_kamars_count'] == 0 ? 'bg-danger' : 'bg-success'; @endphp {{$stok_kamar['nama']}}  @if(in_array(\Auth::user()->role, [1,5])){{$this_hotel->nama}}@endif {{$stok_kamar['stok_kamars_count']}} Room
  • @endforeach
@else @endif
@endif
--}} @if (in_array(\Auth::user()->role, [1,2,5,6]))

Rp {{ribuanDuaAngkaBelakangKomaIndo($room_rev->rev)}}

Room Only Revenue
{{$start_date_index.' - '.$end_date_index}}

{{$occp}}%

Occupancy %
{{$start_date_index.' - '.$end_date_index}}

Rp {{ribuanDuaAngkaBelakangKomaIndo($pars->par)}}

RevPAR (Price per available room)
{{$start_date_index.' - '.$end_date_index}}
@endif {{--
Room Order Statistics
Guest Segment Statistics
--}} @if (in_array(\Auth::user()->role, [1,2,5,6]))

Rp {{ribuanDuaAngkaBelakangKomaIndo($average_daily_rate)}}

Yesterday Daily Report : {{$prev_daily_rate_date}}

Rp {{ribuanDuaAngkaBelakangKomaIndo($average_room_rates)}}

Average Room Rates : {{$period_average_room_rates}}
@endif @if (!in_array(\Auth::user()->role, [50]))
Reservation Statistics: ({{$start_date_index.' - '.$end_date_index}})    

{{ $arriving_stat }}

Expected Arrival

{{ $checkin_stat }}

In house

{{ $departure_stat }}

Departure
@endif
Room Status Statistics: ({{$start_date_index.' - '.$end_date_index}})     @if (!in_array(\Auth::user()->role, [50])) @endif

{{ $vc_stats }}

Vacant Clean

{{ $vd_stats }}

Vacant Dirty

{{ $od_stats }}

Occupied Dirty
@if (!in_array(\Auth::user()->role, [50]))
Room Stock Availability    
{{-- --}} {{-- --}}
@endif
Guest Lost and Found    
@if (count($data_guest_lost_found) > 0) @foreach ($data_guest_lost_found as $item) @endforeach @endif
Room Number Note Date Time Status
{{$item->nomor_kamar}} {{$item->note}} {{dateFormat($item->date,'d-m-Y')}} {{dateFormat($item->losttime,'H:i:s')}} {{$item->status?config('custom.lostfound_status')[$item->status] : ''}}
@else @php $tipe_prop = propertiTipe(); @endphp
Warning! Please complete all settings below before using all features.
@if (in_array($tipe_prop, [1])) @endif @if (in_array($tipe_prop, [1])) @endif @if (in_array($tipe_prop, [1,2])) @endif @if (in_array($tipe_prop, [1])) @endif
Setup Facility @if(cekFacility()) @else GO @endif
Setup Room Type @if(cekRoomType()) @else GO @endif
Add Room @if(cekRoom()) @else GO @endif
Setup Main Account COA @if(cekmainAccountCoa()) @else GO @endif
Setup COA @if(cekCoa()) @else GO @endif
Setup Department @if(cekDepartment()) @else GO @endif
Setting COA Default @if(cekCoaCash()) @else GO @endif
Setup Outlet @if(cekOutlet()) @else GO @endif
Setup Item Type @if(cekItemType()) @else GO @endif
Setup Item @if(cekItem()) @else GO @endif
Setup Arrangement @if(cekArrangement()) @else GO @endif
Setup Ratecode and Service Tax Hotel @if(cekRatecode()) @else GO @endif
Add Payment Method @if(cekPaymentMethod()) @else GO @endif
Add A/R & A/P Payment Method @if(cekArApPayment()) @else GO @endif
Setup Bank Account @if(cekRekeningBank()) @else GO @endif
Setup Complimentaries @if(cekComplimentaries()) @else GO @endif
@endif @endif @endif
@endsection @section('js') {{-- --}} @if(\Auth::user()->role == 10) @endif @endsection