@extends('layouts.layout-admin') @section('styles') @endsection @section('content') {{ __('Hotel Details') }} {{ __('Home') }} {{ __('Edit Hotel') }} {{ __('Hotel Details') }} @csrf {{method_field('PUT')}} {{ __('Supplier') }} {{ __('*') }} -- Select Supplier -- @foreach($supplierList as $supplier) supplier_id == $hotelInfo->supplier_id)?'selected':'' }}>{{$supplier->supplier_company}} ({{$supplier->supplier_code}}) @endforeach @if($errors->has('supplier_id')) {{ $errors->first('supplier_id') }} @endif {{ __('Hotel Code') }} @if($errors->has('hotel_code')) {{ $errors->first('hotel_code') }} @endif {{ __('Hotel Name') }} {{ __('*') }} @if($errors->has('hotel_name')) {{ $errors->first('hotel_name') }} @endif {{ __('Hotel Name(AR)') }} {{ __('*') }} @if($errors->has('hotel_name_ar')) {{ $errors->first('hotel_name_ar') }} @endif {{ __('Hotel Type') }} {{ __('*') }} {!! Form::select('hotel_type', $hotelType, $hotelInfo->hotel_type, ['id' => 'hotel_type', 'class' => 'form-control m-bot15']) !!} @if($errors->has('hotel_type')) {{ $errors->first('hotel_type') }} @endif {{ __('Zip Code') }} @if($errors->has('zipcode')) {{ $errors->first('zipcode') }} @endif {{ __('Hotel Address') }} {{$hotelInfo->hotel_address}} @if($errors->has('hotel_address')) {{ $errors->first('hotel_address') }} @endif {{ __('Hotel Locator Desc') }} {{$hotelInfo->hotel_locator_desc}} @if($errors->has('hotel_locator_desc')) {{ $errors->first('hotel_locator_desc') }} @endif {{ __('Country') }} {{ __('*') }} {{ __('select') }} @foreach($countries as $country) countries_id == $hotelInfo->country_id)?'selected':'' }}>{{ $country->countries_name }} @endforeach @if($errors->has('country_id')) {{ $errors->first('country_id') }} @endif {{ __('City') }} {{ __('*') }} @if($errors->has('city')) {{ $errors->first('city') }} @endif {{ __('Hotel Chain') }} @if($errors->has('hotel_chain')) {{ $errors->first('hotel_chain') }} @endif {{ __('Max Child') }} @if($errors->has('max_child')) {{ $errors->first('max_child') }} @endif {{ __('Phone Number') }} {{ __('*') }} @if($errors->has('phone_no')) {{ $errors->first('phone_no') }} @endif {{ __('Fax') }} @if($errors->has('fax')) {{ $errors->first('fax') }} @endif {{ __('Mobile Number') }} @if($errors->has('mobile_no')) {{ $errors->first('mobile_no') }} @endif {{ __('URL') }} @if($errors->has('url')) {{ $errors->first('url') }} @endif {{ __('Email') }} {{ __('*') }} @if($errors->has('email')) {{ $errors->first('email') }} @endif {{ __('Hotel Image') }} Hotel Image @if($errors->has('hotel_image')) {{ $errors->first('hotel_image') }} @endif @if($hotelInfo->hotel_image) View Image Remove Image @endif {{ __('Latitude') }} @if($errors->has('latitude')) {{ $errors->first('latitude') }} @endif {{ __('Longitude') }} @if($errors->has('longitude')) {{ $errors->first('longitude') }} @endif {{ __('Available') }} {!! Form::select('available', $available, $hotelInfo->available, ['id' => 'available', 'class' => 'form-control m-bot15']) !!} @if($errors->has('available')) {{ $errors->first('available') }} @endif {{ __('Govt Approved') }} {!! Form::select('govt_approved', $govtApproved, $hotelInfo->govt_approved, ['id' => 'govt_approved', 'class' => 'form-control m-bot15']) !!} @if($errors->has('govt_approved')) {{ $errors->first('govt_approved') }} @endif {{ __('Check In Time') }} @if($errors->has('check_in_time')) {{ $errors->first('check_in_time') }} @endif {{ __('Check Out Time') }} @if($errors->has('check_out_time')) {{ $errors->first('check_out_time') }} @endif {{ __('Zone') }} {!! Form::select('zone', $zone, $hotelInfo->zone, ['id' => 'zone', 'class' => 'form-control m-bot15']) !!} @if($errors->has('zone')) {{ $errors->first('zone') }} @endif {{ __('Time Zone') }} {{ __('select') }} @foreach($timezoneList as $timezone) id == $hotelInfo->time_zone)?'selected':'' }}>{{ $timezone->timezone }} @endforeach @if($errors->has('time_zone')) {{ $errors->first('time_zone') }} @endif {{ __('Star Category') }} {!! Form::select('star_category', $starCategory, $hotelInfo->star_category, ['id' => 'star_category', 'class' => 'form-control m-bot15']) !!} @if($errors->has('star_category')) {{ $errors->first('star_category') }} @endif {{ __('Status') }} {!! Form::select('status', $status, $hotelInfo->status, ['id' => 'status', 'class' => 'form-control m-bot15']) !!} @if($errors->has('status')) {{ $errors->first('status') }} @endif {{ __('Review Widget Code') }} {{$hotelInfo->review_widget_code}} @if($errors->has('review_widget_code')) {{ $errors->first('review_widget_code') }} @endif {{ __('Hotel Desc') }} {{$hotelInfo->hotel_desc}} @if($errors->has('hotel_desc')) {{ $errors->first('hotel_desc') }} @endif {{ __('Hotel Desc(AR)') }} {{$hotelInfo->hotel_desc_ar}} @if($errors->has('hotel_desc_ar')) {{ $errors->first('hotel_desc_ar') }} @endif direct_payment)? 'checked' : '' !!} class="form-check-input" name="direct_payment" id="direct_payment"> Direct Payment preferred_hotel)? 'checked' : '' !!} class="form-check-input" name="preferred_hotel" id="preferred_hotel"> Preferred Hotel {{ __('Makani Number') }} @if($errors->has('makani_number')) {{ $errors->first('makani_number') }} @endif {{ __('Min Deposit Percent') }} @if($errors->has('min_deposit_percent')) {{ $errors->first('min_deposit_percent') }} @endif {{ __('Update Hotel') }} {{ __('Cancel') }} @endsection @section('scripts') @endsection
{{ $errors->first('supplier_id') }}
{{ $errors->first('hotel_code') }}
{{ $errors->first('hotel_name') }}
{{ $errors->first('hotel_name_ar') }}
{{ $errors->first('hotel_type') }}
{{ $errors->first('zipcode') }}
{{ $errors->first('hotel_address') }}
{{ $errors->first('hotel_locator_desc') }}
{{ $errors->first('country_id') }}
{{ $errors->first('city') }}
{{ $errors->first('hotel_chain') }}
{{ $errors->first('max_child') }}
{{ $errors->first('phone_no') }}
{{ $errors->first('fax') }}
{{ $errors->first('mobile_no') }}
{{ $errors->first('url') }}
{{ $errors->first('email') }}
{{ $errors->first('hotel_image') }}
{{ $errors->first('latitude') }}
{{ $errors->first('longitude') }}
{{ $errors->first('available') }}
{{ $errors->first('govt_approved') }}
{{ $errors->first('check_in_time') }}
{{ $errors->first('check_out_time') }}
{{ $errors->first('zone') }}
{{ $errors->first('time_zone') }}
{{ $errors->first('star_category') }}
{{ $errors->first('status') }}
{{ $errors->first('review_widget_code') }}
{{ $errors->first('hotel_desc') }}
{{ $errors->first('hotel_desc_ar') }}
{{ $errors->first('makani_number') }}
{{ $errors->first('min_deposit_percent') }}