@switch($oggetto)
    @case('entrata')
        <span class="badge bg-success">€ {{ number_format($entity->importo, 2, ',', '.') }}</span>
        @break
    @case('uscita')
        <span class="badge bg-danger">€ {{ number_format($entity->importo, 2, ',', '.') }}</span>
        @break
    @case('pagamento')
        <button class="btn btn-sm btn-primary" onclick="showEntita({{ $entity->id }}, '{{ $oggetto }}')">Vedi</button>
        @break
    @case('ordine')
        <button class="btn btn-sm btn-primary" onclick="showEntita({{ $entity->id }}, '{{ $oggetto }}')">Vedi</button>
        @break
    @case('prenotazione')
        <button class="btn btn-sm btn-primary" onclick="showEntita({{ $entity->id }}, '{{ $oggetto }}')">Vedi</button>
        @break
    @case('evento')
        <button class="btn btn-sm btn-primary" onclick="showEntita({{ $entity->id }}, '{{ $oggetto }}')">Vedi</button>
        @break
    @case('fornitore')
        <button class="btn btn-sm btn-primary" onclick="showEntita({{ $entity->id }}, '{{ $oggetto }}')">
        {{ $entity->nome }}    
        <i class="bx bx-arrow-back mx-1 rotate-180"></i>
        </button>
        @break
    @default
        <span class="badge bg-secondary">N/A</span>
@endswitch