fix mailing an email

This commit is contained in:
2026-06-23 08:05:51 +02:00
parent c5127da750
commit def8d22544
2479 changed files with 325393 additions and 781 deletions
+4 -4
View File
@@ -161,7 +161,7 @@ $entityType = $entityType ?? 'gruppi';
<td>{{ Str::limit($gruppo->descrizione, 50) ?: '-' }}</td>
@endif
@if(in_array('diocesi', $visibleColumns))
<td>{{ $gruppo->diocesi?->nome ?? '-' }}</td>
<td>{{ $gruppo->diocesi->count() > 0 ? $gruppo->diocesi->pluck('nome')->implode(', ') : '-' }}</td>
@endif
@if(in_array('livello', $visibleColumns))
<td><span class="badge badge-{{ ($gruppo->depth ?? 0) == 0 ? 'primary' : 'secondary' }}">{{ $gruppo->depth ?? 0 }}</span></td>
@@ -176,7 +176,7 @@ $entityType = $entityType ?? 'gruppi';
<td>
@php $resp = $gruppo->getResponsabili() @endphp
@if($resp->count() > 0)
{{ $resp->pluck('cognome')->implode(', ') }}
{{ $resp->map(fn($r) => $r->nome . ' ' . $r->cognome)->implode(', ') }}
@else
-
@endif
@@ -189,10 +189,10 @@ $entityType = $entityType ?? 'gruppi';
<td>{{ $gruppo->città_incontro ?: '-' }}</td>
@endif
@if(in_array('telefono', $visibleColumns))
<td>-</td>
<td>{{ $gruppo->telefono_primario ?? '-' }}</td>
@endif
@if(in_array('email', $visibleColumns))
<td>-</td>
<td>{{ $gruppo->email_primaria ?? '-' }}</td>
@endif
@if(in_array('tag', $visibleColumns))
<td>