@if($entity->stato == 'registrato')
    <span class="badge bg-label-info">Registrato</span>
@elseif($entity->stato == 'da_fatturare')
    <span class="badge bg-label-primary">Da fatturare</span>
@elseif($entity->stato == 'fatturato')
    <span class="badge bg-label-success">Fatturato</span>
@elseif($entity->stato == 'annullato')
    <span class="badge bg-label-danger">Annullato</span>
@elseif($entity->stato == 'gratuito')
    <span class="badge bg-label-warning">Gratuito</span>
@endif