@extends('layout.admin') @section('styles') @endsection @section('content')

Hotel / Edit

{{csrf_field()}}
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('hotel_star')) {{ $errors->first('hotel_star') }} @endif
@php $ratings = [ 1 => 'Poor', 2 => 'Fair', 3 => 'Good', 4 => 'Very Good', 5 => 'Excellent', ]; @endphp
@if ($errors->has('rating')) {{ $errors->first('rating') }} @endif
@if ($errors->has('description')) {{ $errors->first('description') }} @endif

Images

(Recommended Size 500KB And For perfect view please Upload size of image 995 × 646 ) @if($hotel->images && $hotel->images->count())
Existing Images:
@foreach($hotel->images as $image)
{{ $image->alt }} {{-- Delete Icon and Hidden Checkbox --}} × {{-- Alt Text --}} {{-- Title Text --}}
@endforeach
@endif @if ($errors->has('banner_image')) {{ $errors->first('banner_image') }} @endif

Facilities

@php $facilities = $hotel->facilities ?? []; @endphp @foreach ($facilities as $facility)
@endforeach @if (empty($facilities))
@endif

Food and Drink

@php $foodDrinkList = $hotel->food_drink ?? []; @endphp @foreach ($foodDrinkList as $foodDrink)
@endforeach @if (empty($foodDrinkList))
@endif

Outdoor and Entertainment

@php $outdoorEntertainments = $hotel->outdoor_entertainment ?? []; @endphp @foreach ($outdoorEntertainments as $outdoorEntertainment)
@endforeach @if (empty($outdoorEntertainments))
@endif

Essentials and other facilities

@php $essentialsFacilities = $hotel->essentials_facilities ?? []; @endphp @foreach ($essentialsFacilities as $essentialsFacility)
@endforeach @if (empty($essentialsFacilities))
@endif

Hotel Map

@if ($errors->has('hotel_map')) {{ $errors->first('hotel_map') }} @endif
@if ($errors->has('hotel_address')) {{ $errors->first('hotel_address') }} @endif
@if ($hotel->status == 0) @else @endif
@endsection @section('script') @endsection