diff --git a/.env b/.env new file mode 100644 index 00000000..677b8745 --- /dev/null +++ b/.env @@ -0,0 +1,68 @@ +APP_NAME=Glastree +APP_ENV=local +APP_KEY=base64:aWz7908H9c7s+it9uMTwb6pyUrpddyMclcuN9Kzv7Ao= +APP_DEBUG=true +APP_URL= +APP_PROTOCOL=https +FORCE_HTTPS=true +TRUSTED_PROXIES=* + +APP_LOCALE=it +APP_FALLBACK_LOCALE=it +APP_FAKER_LOCALE=it_IT + +APP_MAINTENANCE_DRIVER=file +# APP_MAINTENANCE_STORE=database + +# PHP_CLI_SERVER_WORKERS=4 + +BCRYPT_ROUNDS=12 + +LOG_CHANNEL=stack +LOG_STACK=single +LOG_DEPRECATIONS_CHANNEL=null +LOG_LEVEL=debug + +DB_CONNECTION=mysql +DB_HOST=localhost +DB_PORT=3306 +DB_DATABASE=glastree +DB_USERNAME=glastree +DB_PASSWORD=glastree + +SESSION_DRIVER=file +SESSION_LIFETIME=120 +SESSION_ENCRYPT=false +SESSION_PATH=/ +SESSION_DOMAIN=null + +BROADCAST_CONNECTION=log +FILESYSTEM_DISK=local +QUEUE_CONNECTION=database + +CACHE_STORE=database +# CACHE_PREFIX= + +MEMCACHED_HOST=127.0.0.1 + +REDIS_CLIENT=phpredis +REDIS_HOST=127.0.0.1 +REDIS_PASSWORD=null +REDIS_PORT=6379 + +MAIL_MAILER=log +MAIL_SCHEME=null +MAIL_HOST=127.0.0.1 +MAIL_PORT=2525 +MAIL_USERNAME=null +MAIL_PASSWORD=null +MAIL_FROM_ADDRESS="hello@example.com" +MAIL_FROM_NAME="${APP_NAME}" + +AWS_ACCESS_KEY_ID= +AWS_SECRET_ACCESS_KEY= +AWS_DEFAULT_REGION=us-east-1 +AWS_BUCKET= +AWS_USE_PATH_STYLE_ENDPOINT=false + +VITE_APP_NAME="${APP_NAME}" diff --git a/storage/framework/views/28c9abf6c3545b82f2c66c4bde35bcb3.php b/storage/framework/views/28c9abf6c3545b82f2c66c4bde35bcb3.php new file mode 100755 index 00000000..5e2ca1ad --- /dev/null +++ b/storage/framework/views/28c9abf6c3545b82f2c66c4bde35bcb3.php @@ -0,0 +1,418 @@ +startSection('title', 'Report'); ?> +startSection('page_title', 'Report e Statistiche'); ?> + +startSection('styles'); ?> + + + +stopSection(); ?> + +startSection('content'); ?> + + +
+ + + +
+ + + +
+ + + +
+ + +
+ +
+
+

+ +

+
+
+
+
+
+
+ +
+ Individui + +
+
+
+
+
+ +
+ Gruppi + +
+
+
+
+
+ +
+ Eventi + +
+
+
+
+
+ +
+ Documenti + +
+
+
+
+
+ +
+ Mailing List + +
+
+
+
+
+ +
+ Contatti + +
+
+
+
+
+
+
+ + +
+
+

+ +

+
+
+
+
+ addLoop($__currentLoopData); foreach($__currentLoopData as $report): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> +
+ +
+
+ +
+

+ + +
+
+ +
+ +
+ + + CSV + +
+
+ + + +
+
+
+ popLoop(); $loop = $__env->getLastLoop(); ?> +
+
+
+
+ + +
+
+

+ +

+
+
+
+
+
+ count() > 0): ?> + + + + + + + + + + + addLoop($__currentLoopData); foreach($__currentLoopData as $report): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> + + + + + + + popLoop(); $loop = $__env->getLastLoop(); ?> + +
NomeTipoCreato ilAzioni
+ + nome); ?> + + tipo_report)); ?>created_at->format('d/m/Y H:i')); ?> + + + + + + +
+ + +
+
+ +
+ +

Nessun report personalizzato creato.

+
+ +
+ +
+
+
+

Crea Report Personalizzato

+
+
+
+ +
+ + +
+
+ + +
+
+ + +
+
+ + + Seleziona le colonne da includere nel report +
+
+ + +
+
+ + +
+
+ + +
+ +
+
+
+
+
+
+
+
+
+stopSection(); ?> + +startSection('scripts'); ?> + + +stopSection(); ?> + +make('layouts.adminlte', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> \ No newline at end of file diff --git a/storage/framework/views/3e6ce60b14f81ebeab1319a77fb1b79b.php b/storage/framework/views/3e6ce60b14f81ebeab1319a77fb1b79b.php new file mode 100755 index 00000000..7e26f6d9 --- /dev/null +++ b/storage/framework/views/3e6ce60b14f81ebeab1319a77fb1b79b.php @@ -0,0 +1,65 @@ +startSection('title', 'Importa Gruppi'); ?> +startSection('page_title', 'Importa Gruppi da CSV'); ?> + +startSection('content'); ?> +
+
+
+
+

Carica file CSV

+
+
+
+ +
+ + + + Il file deve essere in formato CSV con separatore virgola. + +
+ + + Annulla + +
+
+
+
+
+
+
+

Template

+
+
+

Scarica il template CSV per l'importazione:

+ + Scarica Template + +
+
+
+
+

Formato CSV

+
+
+
Campi:
+
    +
  • nome (obbligatorio)
  • +
  • descrizione
  • +
  • parent_id (ID del gruppo padre)
  • +
  • diocesi_id (ID della diocesi)
  • +
  • indirizzo_incontro
  • +
  • cap_incontro
  • +
  • città_incontro
  • +
  • sigla_provincia_incontro (2 lettere)
  • +
+
+
+
+
+stopSection(); ?> + +make('layouts.adminlte', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> \ No newline at end of file diff --git a/storage/framework/views/77ae2092ee84e47a55a05ab55f7003a0.php b/storage/framework/views/77ae2092ee84e47a55a05ab55f7003a0.php new file mode 100755 index 00000000..c846100b --- /dev/null +++ b/storage/framework/views/77ae2092ee84e47a55a05ab55f7003a0.php @@ -0,0 +1,441 @@ +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

+
+
+ + +
+ + + + Importa + + + Nuovo Gruppo + + +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + addLoop($__currentLoopData); foreach($__currentLoopData as $gruppo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + popLoop(); $loop = $__env->getLastLoop(); ?> + +
Nome Descrizione DiocesiLivelloGruppo PadreMembriResponsabiliIndirizzoCittàTelefonoEmailAzioni
+ + + 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(); ?> \ No newline at end of file