@extends("admin.admin_app") @php $prefix = session('prefix') ?? 'admin'; @endphp @section("content")

{{ isset($venues->id) ? 'Edit Venue' : 'Add Venue' }} for {{ isset($hotels->hotel_name) ? $hotels->hotel_name : null }}

@if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(Session::has('flash_message'))
{{ Session::get('flash_message') }}
@endif {!! Form::open(array('url' => array('admin/hotels/addnewvenue'),'class'=>'addvenue form-horizontal padding-15','name'=>'category_form','id'=>'category_form','role'=>'form','enctype' => 'multipart/form-data')) !!}

Details

@if(isset($venues->getVenueLayout) && !empty($venues->getVenueLayout)) @foreach($venues->getVenueLayout as $file)
{{$file->layout}}
@endforeach @endif

Hall Facilities

@if(isset($HallFacilty) && !empty($HallFacilty)) @php $facilities = [ 'audio_visual' => 'AUDIO-VISUAL EQUIPMENT', 'projector' => 'PROJECTOR', 'video_conferencing' => 'VIDEO CONFERENCING', 'wireless_wire_internet_service' => 'WIRELESS OR WIRED INTERNET ACCESS', 'photocopying_service' => 'PHOTOCOPYING SERVICE', 'facsimile' => 'FACSIMILE', 'currency_exchange' => 'CURRENCY EXCHANGE', 'dj' => 'DJ', 'car_rental' => 'CAR RENTAL', 'laundry_service' => 'LAUNDRY SERVICE', 'wheelchairs' => 'WHEELCHAIRS', 'elevators' => 'ELEVATORS', 'doctor_on_call' => 'DOCTOR ON CALL', 'babysitter_on_call' => 'BABYSITTER ON CALL', 'flower_decoration' => 'FLOWER DECORATION', 'tent_service' => 'TENT SERVICE', 'decorative_lights' => 'DECORATIVE LIGHTS', 'photography' => 'PHOTOGRAPHY', 'videography' => 'VIDEOGRAPHY', 'outside_catering' => 'OUTSIDE CATERING', 'inside_catering' => 'INSIDE CATERING' ]; @endphp @foreach($facilities as $key => $label) @endforeach @if(isset($HallFacilty->other_service)) @foreach($HallFacilty->getAmentity as $key => $otherServ) @endforeach @endif
  Facility Provided by Hotel Outsourced Facility
{$key.'_hotel'}) && in_array($HallFacilty->{$key.'_hotel'}, ['Yes','No'])) || (isset($HallFacilty->{$key.'_outsourced'}) && in_array($HallFacilty->{$key.'_outsourced'}, ['Yes','No'])) ) checked @endif> {{ $label }}
other_service['name']) && in_array($otherServ->id, $HallFacilty->other_service['name'])) checked @endif > {{ $otherServ->name }} @php $hotelService = $HallFacilty->other_service['hotel'][$key] ?? null; $outsourcedService = $HallFacilty->other_service['outsourced'][$key] ?? null; @endphp {{-- Hotel Yes/No --}} {{-- Outsourced Yes/No --}}
@endif
Cancel
{!! Form::close() !!}
@endsection