@php use App\Services\Annunci\AnnunciService; @endphp
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif

Elenco annunci

@can(AnnunciService::PERMESSO_GESTIONE) @endcan
@forelse($annunci as $annuncio) @empty @endforelse
Titolo Descrizione Data pubblicazione Tipo Stato Azioni
{{ Str::limit($annuncio->Titolo, 40) }} {{ Str::limit(strip_tags($annuncio->Descrizione), 80) }} {{ $annuncio->DataPubblicazione?->format('d/m/Y') ?? '-' }} {{ ucfirst($annuncio->Tipo) }} {{ ucfirst($annuncio->Stato) }}
@if($this->puoEliminareAnnuncio($annuncio)) @endif
Nessun annuncio trovato.
@if($annunci->hasPages()) @endif
@can(AnnunciService::PERMESSO_GESTIONE) @endcan
@script @endscript