mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-29 07:02:41 +01:00
Fix statistiche per anagrafiche eliminate
This commit is contained in:
parent
d5b309b8c1
commit
0ae4166684
@ -14,7 +14,10 @@ $calendar_id = filter('calendar_id');
|
||||
$start = filter('start');
|
||||
$end = filter('end');
|
||||
|
||||
$anagrafica = Anagrafica::find($id_record);
|
||||
$anagrafica = Anagrafica::withTrashed()->find($id_record);
|
||||
if (empty($anagrafica)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Preventivi
|
||||
$preventivi = Preventivo::whereBetween('data_bozza', [$start, $end])
|
||||
|
Loading…
x
Reference in New Issue
Block a user