diff --git a/app/Filament/Pages/Supporto/TicketAcquaLight.php b/app/Filament/Pages/Supporto/TicketAcquaLight.php
new file mode 100644
index 0000000..26a2dba
--- /dev/null
+++ b/app/Filament/Pages/Supporto/TicketAcquaLight.php
@@ -0,0 +1,22 @@
+ null,
'exif_datetime' => null,
'device' => null,
+ 'capture_source' => null,
'file_label' => null,
'original_label' => null,
'other' => [],
diff --git a/resources/views/filament/pages/supporto/ticket-acqua-light.blade.php b/resources/views/filament/pages/supporto/ticket-acqua-light.blade.php
new file mode 100644
index 0000000..a8fce41
--- /dev/null
+++ b/resources/views/filament/pages/supporto/ticket-acqua-light.blade.php
@@ -0,0 +1,299 @@
+
+
+ @if ($errors->any())
+
+
Controlla i dati prima di inviare
+
+ @foreach ($errors->all() as $error)
+ - {{ $error }}
+ @endforeach
+
+
+ @endif
+
+
+
+
+
Ticket Acqua Light
+
Flusso rapido per studio e collaboratori: cerca l'unità, conferma il nominativo, scatta la foto e registra la lettura.
+
+
Versione rapida affiancata alla completa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Riportare solo i numeri neri
+
+
+ @for($i = 0; $i < 5; $i++)
+
+ @endfor
+
m³
+
+
+
+ @for($i = 0; $i < 4; $i++)
+
NO
+ @endfor
+
+
+
+
Le immagini che hai fornito funzionano bene come guida visiva: mostrano chiaramente che vanno riportate solo le cifre nere.
+
+
+
+
+
+
+
+
Lettura attuale del contatore
+
+ @if($previousReading)
+
Ultima lettura nota: {{ number_format((float) $previousReading['value'], 3, ',', '.') }} del {{ $previousReading['date'] ?: 'n/d' }}
+ @endif
+
+
+
+
+
+
+
+
+ Note generali
+
+
+
+
+ Registra lettura light
+ Salvataggio...
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/views/filament/pages/supporto/ticket-acqua.blade.php b/resources/views/filament/pages/supporto/ticket-acqua.blade.php
index 7261597..6f26673 100644
--- a/resources/views/filament/pages/supporto/ticket-acqua.blade.php
+++ b/resources/views/filament/pages/supporto/ticket-acqua.blade.php
@@ -287,6 +287,13 @@
$device = trim((string) data_get($metadata, 'device', ''));
@endphp
@if($hasGps || $exifDate !== '' || $device !== '')
+
+ @if(($metadata['capture_source'] ?? null) === 'camera')
+ GPS da browser
+ @elseif(($metadata['capture_source'] ?? null) === 'attachment')
+ EXIF da libreria
+ @endif
+
@if($hasGps)
Coordinate: {{ number_format((float) $gpsLat, 5, '.', '') }}, {{ number_format((float) $gpsLng, 5, '.', '') }}
@@ -297,6 +304,9 @@
@if($device !== '')
Dispositivo: {{ $device }}
@endif
+ @if(!empty($metadata['capture_source']))
+
Sorgente metadati: {{ $metadata['capture_source'] === 'camera' ? 'browser/camera live' : $metadata['capture_source'] }}
+ @endif
@endif
diff --git a/resources/views/filament/pages/supporto/ticket-gestione.blade.php b/resources/views/filament/pages/supporto/ticket-gestione.blade.php
index d2dd638..52be3b9 100644
--- a/resources/views/filament/pages/supporto/ticket-gestione.blade.php
+++ b/resources/views/filament/pages/supporto/ticket-gestione.blade.php
@@ -356,6 +356,11 @@
@if(!empty($details['gps']))
GPS
@endif
+ @if(($details['capture_source'] ?? null) === 'camera')
+ GPS da browser
+ @elseif(($details['capture_source'] ?? null) === 'attachment')
+ EXIF da libreria
+ @endif
@if(!empty($details['exif_datetime']))
EXIF
@endif
@@ -374,6 +379,9 @@
@if(!empty($details['device']))
Dispositivo: {{ $details['device'] }}
@endif
+ @if(!empty($details['capture_source']))
+ Sorgente metadati: {{ $details['capture_source'] === 'camera' ? 'browser/camera live' : $details['capture_source'] }}
+ @endif
@if(!empty($details['file_label']))
Nome file: {{ $details['file_label'] }}
@endif
diff --git a/resources/views/filament/pages/supporto/ticket-mobile.blade.php b/resources/views/filament/pages/supporto/ticket-mobile.blade.php
index 25ff29d..653ddeb 100644
--- a/resources/views/filament/pages/supporto/ticket-mobile.blade.php
+++ b/resources/views/filament/pages/supporto/ticket-mobile.blade.php
@@ -498,6 +498,11 @@
@if($hasGps)
GPS
@endif
+ @if(($metadata['capture_source'] ?? null) === 'camera')
+ GPS da browser
+ @elseif(($metadata['capture_source'] ?? null) === 'attachment')
+ EXIF da libreria
+ @endif
@if($exifDate !== '')
EXIF
@endif
@@ -518,6 +523,9 @@
@if($device !== '')
Dispositivo: {{ $device }}
@endif
+ @if(!empty($metadata['capture_source']))
+ Sorgente metadati: {{ $metadata['capture_source'] === 'camera' ? 'browser/camera live' : $metadata['capture_source'] }}
+ @endif
@endif