@extends('layouts.admin') @section('title', 'Manage Cuisines') @section('content')
Total Cuisines

{{ \App\Models\Cuisine::count() }}

Active Cuisines

{{ \App\Models\Cuisine::where('is_active', true)->count() }}

Popular Cuisines

{{ \App\Models\Cuisine::where('popular', true)->count() }}

Inactive

{{ \App\Models\Cuisine::where('is_active', false)->count() }}

@if(session('success')) @endif @if(session('error')) @endif @if($errors->any()) @endif
Cuisine List
Total: {{ $cuisines->total() }}
@forelse($cuisines as $cuisine) @empty @endforelse
ID Icon Name Slug Description Order Popular Status Actions
{{ $cuisine->id }} {{ $cuisine->name }} {{ $cuisine->slug }} {{ Str::limit($cuisine->description, 40) ?? '-' }} {{ $cuisine->display_order }} @if($cuisine->popular) Popular @else Normal @endif @if($cuisine->is_active) Active @else Inactive @endif
No Cuisines Found

Click the button above to add your first cuisine.

@endsection @section('scripts') @endsection