@extends('admin._layouts.fileupload') @section('header') @parent @endsection @section('content')
@if($obj->id)

Edit Facility

@else

Create new Facility

@endif
@if(auth()->user()->can($permissions['create'])) @endif
@include('admin._partials.notifications') @if($obj->id)
@else @endif @csrf id) value="{{encrypt($obj->id)}}" @endif id="inputFacilityId">
Basic Details
The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.
@if(isset($features_section) && count($features_section)) @php $i=0; @endphp @foreach($features_section as $item)
@php $i++; @endphp @endforeach @endif
{{--
Facility Options
is_trending == 1) checked="checked" @endif>
--}}
Facility Images
@if(count($obj->images)>0) @foreach($obj->images as $key=>$image)
@include('admin.media.set_file', ['file'=>$image->media, 'title'=>'Facility Image', 'popup_type'=>'single_image', 'type'=>'Image', 'holder_attr'=>'facility_images[]', 'id'=>'facility_image_edit_'.$key])
@endforeach @endif
@include('admin.media.set_file', ['file'=>null, 'title'=>'Facility Image', 'popup_type'=>'single_image', 'type'=>'Image', 'holder_attr'=>'facility_images[]', 'id'=>'facility_image_1'])
@include('admin.media.set_file', ['file'=>null, 'title'=>'Facility Image', 'popup_type'=>'single_image', 'type'=>'Image', 'holder_attr'=>'facility_images[]', 'id'=>'facility_image_2'])
SEO
Extra Data
Publish
id || $obj->status == 1) checked="" @endif>
is_featured == 1) checked="checked" @endif>
no_detail_page == 1) checked="checked" @endif>
@if(!$obj->id) {{date('d M, Y h:i A')}} @else {{date('d M, Y h:i A', strtotime($obj->created_at))}} @endif
@if(!$obj->id) {{date('d M, Y h:i A')}} @else {{date('d M, Y h:i A', strtotime($obj->updated_at))}} @endif
@if(!$obj->id) {{auth()->user()->name}} @else {{$obj->created_user->name}} @endif
@if(!$obj->id) {{auth()->user()->name}} @else {{$obj->updated_user->name}} @endif
Priority
@if($obj->id) @endif
Search Keywords
Banner Image
@include('admin.media.set_file', ['file'=>$obj->banner_image, 'title'=>'Banner Image', 'popup_type'=>'single_image', 'type'=>'Image', 'holder_attr'=>'banner_image_id'])
Logo Image
@include('admin.media.set_file', ['file'=>$obj->logo_image, 'title'=>'Logo Image', 'popup_type'=>'single_image', 'type'=>'Image', 'holder_attr'=>'logo_image_id'])
OG Image
@include('admin.media.set_file', ['file'=>$obj->og_image, 'title'=>'OG Image', 'popup_type'=>'single_image', 'type'=>'Image', 'holder_attr'=>'og_image_id'])
@include('admin._partials.footer')
@endsection @section('footer') @parent @endsection