mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-30 07:26:24 +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');
|
$start = filter('start');
|
||||||
$end = filter('end');
|
$end = filter('end');
|
||||||
|
|
||||||
$anagrafica = Anagrafica::find($id_record);
|
$anagrafica = Anagrafica::withTrashed()->find($id_record);
|
||||||
|
if (empty($anagrafica)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Preventivi
|
// Preventivi
|
||||||
$preventivi = Preventivo::whereBetween('data_bozza', [$start, $end])
|
$preventivi = Preventivo::whereBetween('data_bozza', [$start, $end])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user