Refactor: remove setup wizard and related middleware, update settings management
This commit is contained in:
@@ -113,16 +113,19 @@
|
||||
</div>
|
||||
<ul class="divide-y divide-gray-100">
|
||||
@forelse($daRientrare as $t)
|
||||
@php($assegnazioneCorrente = $t->assegnazioneCorrente)
|
||||
<li class="px-4 py-2.5 flex items-center justify-between hover:bg-gray-50">
|
||||
<div>
|
||||
<a href="{{ route('territori.show', $t) }}" class="text-sm font-semibold text-gray-900 hover:text-indigo-600">N° {{ $t->numero }}</a>
|
||||
<p class="text-xs text-gray-500">
|
||||
{{ $t->assegnazioneCorrente?->proclamatore?->nome_completo }}
|
||||
— {{ $t->assegnazioneCorrente?->giorni }} giorni
|
||||
{{ $assegnazioneCorrente?->proclamatore?->nome_completo }}
|
||||
— {{ $assegnazioneCorrente?->giorni }} giorni
|
||||
</p>
|
||||
</div>
|
||||
@can('territori.return')
|
||||
<a href="{{ route('assegnazioni.rientra', $t->assegnazioneCorrente) }}" class="text-xs font-medium text-red-600 hover:text-red-800">Rientra →</a>
|
||||
@if($assegnazioneCorrente)
|
||||
<a href="{{ route('assegnazioni.rientra', ['assegnazione' => $assegnazioneCorrente->id]) }}" class="text-xs font-medium text-red-600 hover:text-red-800">Rientra →</a>
|
||||
@endif
|
||||
@endcan
|
||||
</li>
|
||||
@empty
|
||||
|
||||
Reference in New Issue
Block a user