@extends("admin.admin_app") @section("content") @php $service=null; @endphp @if(isset($_GET['service']) && !empty($_GET['service'])) @php $service=$_GET['service']; @endphp @endif

@if($service=='sub') Other Services - @endif {{$title}}

@if(isset($type) && in_array($type,['add','edit']))
{!! Form::open(array('url' => array('admin/multi-purpose/'.$model.'/'.$type.'/'.@$data->id.'?field='.$field.'&title='.$title.'&service='.$service),'class'=>'form-horizontal padding-15','name'=>'category_form','id'=>'category_form','role'=>'form','enctype' => 'multipart/form-data')) !!} @if($service=='sub' && $_GET['type_id']) @endif
@if($service=='sub' && $_GET['type_id']) Cancel @else Cancel @endif
{!! Form::close() !!}
@else
@if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(Session::has('flash_message'))
{{ Session::get('flash_message') }}
@endif @if(isset($model) && in_array($model, ['valetParking','LicenseLiquor','HotelPurchasedLiquor','AllowedLiquor','HotelFacilityAmenities'])) @endif @if(isset($data) && !empty($data)) @foreach($data as $i => $value) @if(isset($model) && in_array($model, ['valetParking','LicenseLiquor','HotelPurchasedLiquor','AllowedLiquor','HotelFacilityAmenities'])) @endif @endforeach @endif
SNo. NameStatusActions
{{ $i+1 }} {{ $value->name }} @if($value->status=='0') @else @endif
@php $tab=null; @endphp @if(in_array($title,['Bar','Restaurant','Cafeteria Dining','Restro Bar'])) @php $tab = "&model=RestaurantBar&col=" . ($_GET['col'] ?? ''); @endphp @endif @if(isset($_GET['service']) && isset($model) && $model == 'HotelFacilityAmenities' && $_GET['service']=='main') @else @if ($model == 'valetParking') @else @endif @endif
@endif @endsection