{{-- HEADER --}}
Manajemen Layanan Kelola daftar layanan dan galeri foto klinik.
Tambah Layanan
{{-- FILTER --}}
@foreach ($categories as $id => $name) @endforeach
{{-- TABLE --}} Foto Nama Layanan Kategori Deskripsi Aksi @forelse ($services as $s) {{-- Avatar Stack untuk Foto --}}
@if ($s->photo && count($s->photo) > 0) @foreach (array_slice($s->photo, 0, 3) as $img) @endforeach @if (count($s->photo) > 3)
+{{ count($s->photo) - 3 }}
@endif @else
@endif
{{ $s->name }} {{ $s->category->name }}

{{ Str::limit(strip_tags($s->description), 50, '...') }}

@empty Tidak ada data layanan ditemukan. @endforelse
{{ $services->links() }}
{{-- MODAL FORM --}}
{{ $serviceId ? 'Edit' : 'Tambah' }} Layanan Isi informasi detail mengenai layanan klinik di bawah ini.
@foreach ($categories as $id => $name) @endforeach
Deskripsi Detail @error('description')

{{ $message }}

@enderror
{{-- MULTIPLE PHOTO UPLOAD --}}
Foto & Galeri (Multiple)
Sedang mengunggah foto...
{{-- Preview Foto yang Sudah Ada --}} @if ($existingPhotos)
@foreach ($existingPhotos as $index => $path)
@endforeach
@endif {{-- Preview Foto Baru (Temporary) --}} @if ($photos)
@foreach ($photos as $photo)
Baru
@endforeach
@endif
Batal Simpan Perubahan Memproses...