@extends('admin.layouts.master') @section('css') @endsection @section('page-header') @endsection @section('content')
@foreach ($configsByGroup as $groupKey => $groupConfigs)
{{ $groups[$groupKey] ?? $groupKey }} {{ count($groupConfigs) }}
@foreach ($groupConfigs as $config)
{{ $config->display_name_ar }}
{{ $config->key }}
{{ $types[$config->type] ?? $config->type }} @if ($config->is_public) @endif @if ($config->is_encrypted) @endif
@if ($config->description_ar) {{ $config->description_ar }} @endif
@switch($config->type) @case('boolean')
getCastedValue() ? 'checked' : '' }}>
@break @case('text') @break @case('image') @if ($config->value) Preview @endif @break @case('file') @if ($config->value) عرض الملف @endif @break @case('color')
@break @case('select') @break @case('integer') @case('decimal') @break @default @endswitch
تم الحفظ
@endforeach
@endforeach
@endsection @section('js') @endsection