@extends('layouts.appAdmin') @section('content')

Liste des plats{{-- @lang('crud.dishes.index_title') --}}

@forelse($dishes as $dish) @empty @endforelse
{{-- @lang('crud.dishes.inputs.nom') --}} {{-- @sortablelink('nom', trans('crud.dishes.inputs.nom')) --}} {{-- @sortablelink('nom') --}} Nom {{-- @lang('crud.dishes.inputs.description') --}} {{-- @sortablelink('description','Type') --}} Type {{-- @lang('crud.dishes.inputs.plat_active') --}} Actif? @lang('crud.common.actions')
{{ $dish->nom ?? '-' }} {{ $dish->description ?? '-' }} @if ($dish->plat_active) @else @endif
@can('update', $dish) @endcan @can('view', $dish) @endcan @can('delete', $dish)
@csrf @method('DELETE')
@endcan
@lang('crud.common.no_items_found')
{!! $dishes->render() !!}
@endsection