{{-- Header bar --}}
{{-- Group list --}}
@if ($groups->isEmpty())
category

Henüz grup oluşturulmadı.

@else
    @foreach ($groups as $group)
  • folder {{ $group->name }}
    {{-- Description --}} @if ($group->description) @endif {{-- Category count badge --}}
    fastfood {{ $group->categories_count }}
    {{-- Service hours indicator --}} @if (($group->data['service_hours_enabled'] ?? false)) schedule Saatlik @endif {{-- Actions --}}
    {{-- Toggle enabled --}} {{-- Manage categories --}} {{-- Service hours --}} {{-- Edit --}} {{-- Delete --}}
  • {{-- Category badges row --}} @if ($group->categories->isNotEmpty())
  • @foreach ($group->categories as $cat) {{ $cat->name }} @endforeach
  • @endif @endforeach
@endif
{{-- Create/Edit Modal --}} @if ($showModal)
{{-- Header --}}

{{ $isEditing ? 'Grubu Düzenle' : 'Yeni Grup' }}

{{-- Form --}}
@error('name')

{{ $message }}

@enderror
@endif {{-- Category Management Modal --}} @if ($showCategoryModal)
{{-- Header --}}

Kategori Ata

Bu gruba ait olacak kategorileri seçin

{{-- Category list with checkboxes --}}
@if ($this->all_categories->isEmpty())

Kategori bulunamadı.

@else @foreach ($this->all_categories as $category) @php $isSelected = in_array($category->id, $selectedCategories); @endphp @endforeach @endif
{{-- Footer --}}
{{ count($selectedCategories) }} kategori seçili
@endif {{-- Service Hours Modal --}} @if ($showHoursModal)
{{-- Header --}}

Grup Servis Saatleri

Bu grubun QR menüde hangi saatlerde aktif olacağını belirleyin

{{-- Enable toggle --}}
Servis saatleri kontrolü
@if ($serviceHoursEnabled) {{-- Day slots --}}
@php $dayNames = [ 1 => 'Pazartesi', 2 => 'Salı', 3 => 'Çarşamba', 4 => 'Perşembe', 5 => 'Cuma', 6 => 'Cumartesi', 7 => 'Pazar' ]; @endphp @foreach ($dayNames as $dayNum => $dayName) @php $slots = $serviceHours[$dayNum] ?? []; $hasOpenSlot = collect($slots)->contains('is_closed', false); @endphp
{{ $dayName }}
@if (count($slots) > 0)
@foreach ($slots as $slotIndex => $slot)
—
@endforeach
@else

Bu gün için tanımlı servis saati yok.

@endif
@endforeach
@else
Servis saatleri kontrolü kapalı. Grup her zaman erişilebilir.
@endif {{-- Footer --}}
@endif