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

Edit Service

@else

Create new Service

@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="inputId">
Basic Details
The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.
@fieldshow(services-title)
@endfieldshow @fieldshow(services-parent_id)
@endfieldshow
@fieldshow(services-content) @if(!config('admin.services.sections'))
@endif @endfieldshow
@fieldshow(services-content) @if(config('admin.services.sections'))
Content
@include('admin.services.sections')
@endif @endfieldshow @fieldshow(services-seo)
SEO
@fieldshow(services-bottom_description)
@endfieldshow @fieldshow(services-browser_title)
@endfieldshow @fieldshow(services-meta_keywords)
@endfieldshow @fieldshow(services-meta_description)
@endfieldshow
@endfieldshow @fieldshow(services-extra_data)
Extra Data
@fieldshow(services-og_title)
@endfieldshow @fieldshow(services-og_description)
@endfieldshow @fieldshow(services-extra_js)
@endfieldshow
@endfieldshow
Publish
id || $obj->status == 1) checked="" @endif>
@fieldshow(services-is_featured)
is_featured == 1) checked="checked" @endif>
@endfieldshow
id || $obj->no_detail_page == 1) 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
@fieldshow(services-priority)
Priority
@endfieldshow @fieldshow(services-faq) @if($obj->id) @endif @endfieldshow
Icon Image
@include('admin.media.set_file', ['file'=>$obj->icon_image, 'title'=>'Icon Image', 'popup_type'=>'single_image', 'type'=>'Image', 'holder_attr'=>'icon_image_id'])
@fieldshow(services-featured_image_id)
Featured Image
@include('admin.media.set_file', ['file'=>$obj->featured_image, 'title'=>'Featured Image', 'popup_type'=>'single_image', 'type'=>'Image', 'holder_attr'=>'featured_image_id'])
@endfieldshow @fieldshow(services-banner_image_id)
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'])
@endfieldshow @fieldshow(services-og_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'])
@endfieldshow
@include('admin._partials.footer')
@endsection @section('footer') @if(config('admin.services.sections')) @endif @parent @endsection