@extends('backend.app') @section('title', 'Repair Phone CMS Settings') @section('content')

Repair Phone CMS Settings

Configure Repair Phone Page CMS

@php $data = $repairPhone->data ?? []; $sections = [ 1 => $data['section_1'] ?? [], 2 => $data['section_2'] ?? [], 3 => $data['section_3'] ?? [], 4 => $data['section_4'] ?? [], ]; @endphp
@csrf
@foreach ($sections as $sId => $sectionData)
@if ($sId === 2)
@endif @if ($sId === 3)
@endif @if ($sId === 4)
@endif

Section {{ $sId }} Content

Only PNG type images can be uploaded (Max size: 10MB).
@if (!empty($sectionData['image']))
Device Image
@endif

Dynamic Features / Repair Items

@foreach ($sectionData['features'] ?? [] as $idx => $feat)
Feature Item
@endforeach
@endforeach
@push('script') @endpush @endsection