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

Hotel / Edit

{{csrf_field()}}
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('city')) {{ $errors->first('city') }} @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
(Recommended Size 500KB And For perfect view please Upload size of image 536 × 302 ) @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
(Recommended size: 536 × 302 pixels, Max file size: 500KB) @if ($errors->has('image_url')) {{ $errors->first('image_url') }} @endif @if($hotel->image_url) city Image @else city Image @endif
@if ($errors->has('image_alt')) {{ $errors->first('image_alt') }} @endif
@if ($errors->has('image_title')) {{ $errors->first('image_title') }} @endif
@if ($errors->has('description')) {{ $errors->first('description') }} @endif

Amenities

@if ($errors->has('amenitie_heading')) {{ $errors->first('amenitie_heading') }} @endif
@php $amenities = $hotel->amenity ?? []; @endphp @foreach ($amenities as $amenity)
@endforeach @if (empty($amenities))
@endif

Nearby

@if ($errors->has('nearby_heading')) {{ $errors->first('nearby_heading') }} @endif
@php $nearbyList = $hotel->nearby ?? []; @endphp @foreach ($nearbyList as $nearby)
@endforeach @if (empty($nearbyList))
@endif

Resturants

@if ($errors->has('resturant_heading')) {{ $errors->first('resturant_heading') }} @endif
@php $restaurants = $hotel->resturant ?? []; @endphp @foreach ($restaurants as $resturant)
@endforeach @if (empty($restaurants))
@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