@extends('admin.layouts.main-layout') @php if(!empty($sub_service->encrypted_id)) { $title = "Edit Sub-Service"; } else { $title = "Add Sub-Service"; } @endphp @section('title', $title) @section('content')
@if(!empty($enc_parent))
$enc_service, "subservice" => $sub_service->encrypted_id]) : route('add.subservice', ["service" => $enc_service, "parent" => $enc_parent]) }}" method="POST" enctype="multipart/form-data"> @else $enc_service, "subservice" => $sub_service->encrypted_id]) : route('add.subservice', $enc_service) }}" method="POST" enctype="multipart/form-data"> @endif @csrf
{{ $title }}
@if (session('error')) @elseif (session('success')) @endif
{{--
@error('service_template')
{{ $message }}
@enderror
--}}
@error('service_name')
{{ $message }}
@enderror
@error('service_url')
{{ $message }}
@enderror
@error('blogs')
{{ $message }}
@enderror
@if(!empty($sub_service->encrypted_id) && !empty($sub_service->service_image))
Service_Image
@endif
FAQ Management
@endsection