@php $bSection = null; foreach ($sections as $s) { if (($s['key'] ?? '') === 'branches') { $bSection = $s; break; } } @endphp
@csrf

đŸĸ āφāĻŽāĻžāĻĻ⧇āϰ āĻļāĻžāĻ–āĻž (Branch)

āĻļāĻžāĻ–āĻž āϝ⧋āĻ— / āϏāĻŽā§āĻĒāĻžāĻĻāύāĻž / āĻŽā§āϛ⧇ āĻĢ⧇āϞāĻž

āύāĻŋāĻšā§‡āϰ ➕ āύāϤ⧁āύ āĻļāĻžāĻ–āĻž āϝ⧋āĻ— āĻ•āϰ⧁āύ āĻšā§‡āĻĒ⧇ āĻļāĻžāĻ–āĻž āĻŦāĻžāĻĄāĻŧāĻžāύ, 🗑 āĻŽā§āϛ⧁āύ āĻĻāĻŋāϝāĻŧ⧇ āĻŽā§āϛ⧁āύāĨ¤ āĻĒā§āϰāϤāĻŋāϟāĻŋ āĻļāĻžāĻ–āĻžāϰ slug (āϛ⧋āϟ āĻšāĻžāϤ⧇āϰ āχāĻ‚āϰ⧇āϜāĻŋ) āĻĻāĻŋāϝāĻŧ⧇ āĻĒāĻžāĻŦāϞāĻŋāĻ• āϞāĻŋāĻ‚āĻ• āϤ⧈āϰāĻŋ āĻšāϝāĻŧ — āϝ⧇āĻŽāύ /branches/chattogramāĨ¤

@if($bSection)
@foreach($bSection['fields'] ?? [] as $f) @include('admin.partials.field', [ 'name' => "content[branches][{$f['k']}]", 'label' => $f['label'], 'value' => $content['branches'][$f['k']] ?? ($f['default'] ?? ''), 'type' => $f['type'] ?? 'text', ]) @endforeach

@include('admin.partials.items', [ 'skey' => 'branches', 'idef' => $bSection['items'], 'items' => $content['branches']['items'] ?? [], ]) @endif