startSection('title', 'Gruppi'); ?> startSection('page_title', 'Elenco Gruppi'); ?> canManage('gruppi'); $canDeleteGruppi = Auth::user()->canDelete('gruppi'); $columnLabels = [ 'nome' => 'Nome', 'descrizione' => 'Descrizione', 'diocesi' => 'Diocesi', 'livello' => 'Livello', 'padre' => 'Gruppo Padre', 'membri' => 'Membri', 'responsabili' => 'Responsabili', 'indirizzo' => 'Indirizzo', 'citta' => 'Città', 'telefono' => 'Telefono', 'email' => 'Email', ]; $vistaDefaultJson = $vista ? $vista->toJson() : 'null'; $allColumnsJson = json_encode($allColumns); $visibleColumnsJson = json_encode($visibleColumns); ?> startSection('content'); ?>

Elenco Gruppi

Nuovo Gruppo
addLoop($__currentLoopData); foreach($__currentLoopData as $gruppo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> popLoop(); $loop = $__env->getLastLoop(); ?>
Nome Descrizione Diocesi Livello Gruppo Padre Membri Responsabili Indirizzo Città Telefono Email Azioni
nome); ?> descrizione, 50) ?: '-'); ?> diocesi?->nome ?? '-'); ?> depth ?? 0); ?> parent?->nome ?? '-'); ?> individui->count()); ?> getResponsabili() ?> count() > 0): ?> pluck('cognome')->implode(', ')); ?> - indirizzo_incontro ?: '-'); ?> città_incontro ?: '-'); ?> - -
filter(fn($g) => $g->parent_id === null) ?> addLoop($__currentLoopData); foreach($__currentLoopData as $gruppo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> make('gruppi.partials.tree-item', ['gruppo' => $gruppo, 'isRoot' => true], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>

Nessun gruppo presente. Crea il primo gruppo

stopSection(); ?> startSection('scripts'); ?> stopSection(); ?> make('layouts.adminlte', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>