Disponibili
{{ $chiavi->where('stato', 'disponibile')->count() }}
In Uso
{{ $chiavi->where('stato', 'in_uso')->count() }}
Smarrite
{{ $chiavi->where('stato', 'smarrita')->count() }}
Totali
{{ $chiavi->count() }}
| Chiave | Tipo | Stato | QR Code | Ultimo Movimento | Azioni |
|---|---|---|---|---|---|
|
{{ $chiave->nome }}
{{ $chiave->codice_identificativo }}
@if($chiave->descrizione)
{{ Str::limit($chiave->descrizione, 50) }}
@endif
|
{{ $chiave->tipo_nome }} | {{ $chiave->stato_nome }} |
{{ Str::limit($chiave->qr_code, 20) }}
|
@if($chiave->movimenti->count() > 0)
@php $ultimo = $chiave->movimenti->first() @endphp
{{ $ultimo->tipo_movimento }}
{{ $ultimo->data_movimento->format('d/m/Y H:i') }}
{{ Str::limit($ultimo->soggetto_riferimento, 30) }}
@else
Nessun movimento
@endif
|
Inizia creando la prima chiave per questo stabile