@lang('marketplace::home.items')
@MerchantHasRole(['create_menu']) @if($category_id)
@endif @endMerchantHasRole
@if($this->items && count($this->items) > 0) @foreach($this->items as $key => $item) @endforeach @endif
# {{ __('marketplace::home.itemName') }} {{ __('marketplace::home.status') }} {{ __('marketplace::home.date') }} {{ __('marketplace::home.actions') }}
{{ $item->id }} {{ \Illuminate\Support\Str::of($item->title)->limit(30) }}

{{ $item?->status->trans() }}

{{ \Illuminate\Support\Carbon::parse($item->created_at)->translatedFormat('l , j F Y') }}
@MerchantHasRole(['delete_menu']) @endMerchantHasRole
@if(!($this->items && count($this->items) > 0))

{{ __('marketplace::home.noItems') }}

@endif
@MerchantHasRole(['create_menu']) @endMerchantHasRole @MerchantHasRole(['delete_menu']) @endMerchantHasRole