@extends(\Auth::user()->role != 10 ? 'layout' : 'layoutfrontdesk') @section('title', 'Room Type | Edit Room Type') @section('content')
@method('PATCH') @csrf
Data Room Type {{-- @if(Auth::user()->role == 1)
@if (\Session::get('hotel_id') != null)
{{@$jenis_kamar->hotel->nama}}
@else @endif
@else @endif --}}
@foreach($fasilitas as $fas)
@endforeach
{{--
Rate Code:
Harga:
@if(count($jenis_kamar->rateCodes) > 0) @foreach($jenis_kamar->rateCodes as $key => $ratecode)
@if($key > 0)
 
@else @endif
@endforeach @else
@endif
--}}
Recommend size : 500px * 500px Max file size : 1MB
@if ($profile) @endif
Recommend size : 500px * 500px Max file size : 1MB
@foreach ($tambahan as $gbr)
{{-- --}}
@endforeach
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