@extends('layouts.admin') @section('header_style') @endsection @section('content')
@csrf
extra_beds == '1' ) checked @endif > extra_beds == '0' ) checked @endif >
@if($room[0]->extra_beds == '1')
@else @endif
breakfast == '1' ) checked @endif> breakfast == '0' ) checked @endif>
@if(strpos($hotel[0]->room_image, '/') !== false) @if($hotel[0]->room_image == '' || $hotel[0]->room_image == null) @else @php $img2 = $hotel[0]->room_image; @endphp @endif @else @if($hotel[0]->room_image == '' || $hotel[0]->room_image == null) @else @php $img2 = "hotelineweb/include/uploads/images/".$hotel[0]->room_image; @endphp @endif @endif
View
@php $i=0; $facilityDecLength=count($hotelfacility); $facilityDec = str_pad($facilityDec, $facilityDecLength,'0',STR_PAD_LEFT) @endphp @foreach ($hotelfacility as $key => $tc) @if ($tc->status == 'Activated') @php $i++; @endphp @if(!is_null($facilityDec) && $facilityDec[$facilityDecLength - ($key+1)]== 1) @php $selected = 'checked'; @endphp @else @php $selected = ''; @endphp @endif @if ($i == 3) @php $i=0; @endphp @endif @endif @endforeach
{{$tc->name}}
@php $count = 1; @endphp @foreach ($daterange_rate as $dr) @php $count++; @endphp @endforeach
From To Rate (RM)
Valid from: To:
Monday: Tuesday: Wednesday:
Thursday Friday: Saturday:
Sunday:

Valid from: To:
Monday: Tuesday: Wednesday:
Thursday Friday: Saturday:
Sunday:

@php $count2 = 1; @endphp @foreach ($specific_rate as $sr) @php $count2++; @endphp @endforeach
Date Rate (RM)

@php $count3 = 1; @endphp @foreach ($blockout as $bo) @php $count3++; @endphp @endforeach
Date
@endsection @section('footer_script') @endsection