@switch($stato)
    @case('in_attesa')
        @if(isset($label_completa))
            <span class="badge bg-warning text-dark">In attesa di pagamento</span>
        @else
            <span class="badge bg-warning text-dark">In attesa</span>
        @endif
        @break

    @case('confermata')
        <span class="badge bg-success">Confermata</span>
        @break

    @case('annullata')
        <span class="badge bg-danger">Annullata</span>
        @break

    @case('completata')
        <span class="badge bg-primary">Completata</span>
        @break
    @case('in_corso')
        <span class="badge bg-info">In corso</span>
        @break
    @case('in_attesa_pagamento')
        <span class="badge bg-warning">In attesa pagamento</span>
        @break
    @case('pagato')
        <span class="badge bg-success">Pagato</span>
        @break
    @case('sospeso')
        <span class="badge bg-warning">Sospeso</span>
        @break
    @case('annullato')
        <span class="badge bg-danger">Annullato</span>
        @break
    @case('rifiutato')
        <span class="badge bg-danger">Rifiutato</span>
        @break
    @case('errore')
        <span class="badge bg-danger">Errore</span>
        @break

    @case('carrello')
        <span class="badge bg-info">Carrello</span>
        @break
    @case('in_coda')
        <span class="badge bg-label-warning">In coda</span>
        @break
    @case('preso')
        <span class="badge bg-label-primary">Preso</span>
        @break
    @case('completato')
        <span class="badge bg-label-success">Completato</span>
        @break
    @case('fallito')
        <span class="badge bg-label-danger">Fallito</span>
        @break
    @case('annullato')
        <span class="badge bg-label-danger">Annullato</span>
        @break
    @case('inviata')
        <span class="badge bg-label-info">Inviata</span>
        @break
    @case('confermata')
        <span class="badge bg-label-success">Confermata</span>
        @break
    @case('lista_attesa')
        <span class="badge bg-label-warning">Lista d'attesa</span>
        @break
    @case('cancellata')
        <span class="badge bg-label-danger">Cancellata</span>
        @break
    @case('rifiutata')
        <span class="badge bg-label-danger">Rifiutata</span>
        @break
    @case('annullata')
        <span class="badge bg-label-danger">Annullata</span>
        @break

    @default
        <span class="badge bg-secondary">Sconosciuto</span>
@endswitch