@extends('admin.layout') @section('content')
@csrf
{{ __('Customize Sections') }}
@error('category_section_status')

{{ $message }}

@enderror
@error('work_process_section_status')

{{ $message }}

@enderror
@error('feature_section_status')

{{ $message }}

@enderror
@if ($themeVersion == 2 || $themeVersion == 3)
@error('banner_section')

{{ $message }}

@enderror
@endif @if ($themeVersion == 1)
@error('testimonial_section_status')

{{ $message }}

@enderror
@endif
@error('call_to_action_section_status')

{{ $message }}

@enderror
@error('vendor_featured_section_status')

{{ $message }}

@enderror
@error('latest_service_section_status')

{{ $message }}

@enderror
@error('footer_section_status')

{{ $message }}

@enderror
@if (count($customSectons) > 0) @foreach ($customSectons as $customSecton) @php $content = App\Models\CustomSectionContent::where( 'custom_section_id', $customSecton->id, )->first(); $customStatus = json_decode($sectionInfo->custom_section_status, true); $sectionStatus = isset($customStatus[$customSecton->id]) ? $customStatus[$customSecton->id] : 0; @endphp
@error('custom_section_status')

{{ $message }}

@enderror
@endforeach @endif
@endsection