@php($title = 'Kuliner') @extends('admin.layout', ['title' => $title]) @section('content') @php($type = $filters['type'] ?? '') @php($typeLabel = $culinaryTypes[$type] ?? 'Kuliner')
| Gambar | Nama | Status | Update Terakhir | Aksi |
|---|---|---|---|---|
|
@php($images = is_array($c->images) ? $c->images : [])
@if(count($images))
@php($imagePath = $images[0])
@if(Str::startsWith($imagePath, 'http'))
@else
|
{{ $c->name }}
{{ $c->slug }}
@php($rowType = $c->type ?? '')
@if($rowType !== '')
{{ $culinaryTypes[$rowType] ?? $rowType }}
@endif
|
@if($c->is_published)
Published
@else
Draft
@endif
@if($c->is_popular)
Populer
@endif
|
{{ $c->updated_at?->format('d/m/Y H:i') ?? '-' }} |