modifiche siderbar e correzioni
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
<div class="card-body">
|
||||
<table class="table table-sm table-borderless mb-0">
|
||||
<tr>
|
||||
<td style="width: 150px;"><strong>Tipo:</strong></td>
|
||||
<td style="width: 150px;"><strong>Ricorrenza:</strong></td>
|
||||
<td>
|
||||
@if($evento->tipo_recorrenza && $evento->tipo_recorrenza !== 'singolo')
|
||||
<span class="badge badge-info">{{ $evento->periodicita_label }}</span>
|
||||
@@ -52,6 +52,21 @@
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@if($evento->tipo_evento)
|
||||
<tr>
|
||||
<td><strong>Tipologia:</strong></td>
|
||||
<td>
|
||||
@php
|
||||
$tipologia = \App\Models\TipologiaEvento::where('nome', $evento->tipo_evento)->first();
|
||||
@endphp
|
||||
@if($tipologia)
|
||||
<span class="badge badge-primary">{{ $tipologia->descrizione ?: $tipologia->nome }}</span>
|
||||
@else
|
||||
<span class="badge badge-secondary">{{ $evento->tipo_evento }}</span>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if($evento->tipo_recorrenza === 'settimanale')
|
||||
<tr>
|
||||
<td><strong>Giorno:</strong></td>
|
||||
|
||||
Reference in New Issue
Block a user