{{ __('dashboard.items') }}

@can('create', \App\Models\Item::class) {{ __('dashboard.new_item') }} @endcan
{{ __('dashboard.id') }} {{ __('dashboard.image') }} {{ __('dashboard.name') }} {{ __('dashboard.price') }} {{ __('dashboard.active') }} @forelse ($items as $item) {{ $item->id }} @if ($item->image && file_exists(storage_path('app/public/' . $item->image))) {{ $item->name }} @endif {{ $item->name }} {{ number_format((float) $item->price, 2) }} @if ($item->active) {{ __('dashboard.active') }} @else {{ __('dashboard.inactive') }} @endif
@can('update', $item) @endcan @can('delete', $item) @endcan
@empty {{ __('dashboard.no') }} {{ __('dashboard.items') }} {{ __('dashboard.found') }}. @endforelse
@if ($confirmingDelete)

{{ __('dashboard.delete') }}

{{ __('dashboard.are_you_sure') }}

{{ __('dashboard.cancel') }} {{ __('dashboard.delete') }}
@endif