1
0
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:
Thomas Zilio 2020-05-06 20:17:39 +02:00
parent d5b309b8c1
commit 0ae4166684

View File

@ -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])