@extends(\Auth::user()->role != 10 ? 'layout' : 'layoutfrontdesk') @section('title', 'Room Type | Add Room Type') @section('content')
@csrf
Data Room Type {{-- @if(Auth::user()->role == 1)
@if (\Session::get('hotel_id') != null)
{{$sessionhotel->nama}}
@else @endif
@else @endif --}}
@foreach($fasilitas as $fas)
@endforeach
{{--
Rate Code:
Harga:
--}}
Recommend size : 500px * 500px Max file size : 1MB
Recommend size : 500px * 500px Max file size : 1MB
For setup room availability on OTA
{{--
*Sell All Availability Room to OTA(*same availability for OTA and Hotely)
--}}
{{--
--}}
{{--
Total Room : {{$jenis_kamar->kamars_count}}, Non OTA => {{$jenis_kamar->kamars_count - $jenis_kamar->max_ota_room}} type_ota_sell == 1 ? '' : 'disabled'}}>
@php $test1 = new Datetime($jenis_kamar->change_to_date); $test2 = new Datetime(getSystemDate()); $diff = $test2->diff($test1)->format("%a"); // dump($diff); @endphp @if ( $diff <= 2 && $diff >= 0)

Current Update to OTA {{ $diff }} day remaining!, please update the date to more update on OTA availability

@endif
--}}
Change Availability OTA until:
{{--
--}}
Back
@endsection @section('js') {{-- --}} @endsection