We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65930bf commit e17453dCopy full SHA for e17453d
1 file changed
plugins/receiptFE/edit.php
@@ -40,9 +40,12 @@
40
}
41
42
// Messaggio informativo su fatture con stato di errore
43
+$data_setting = Carbon::createFromFormat('d/m/Y', setting('Data inizio controlli su stati FE'))->format('Y-m-d');
44
+
45
$fatture_generate_errore = Fattura::vendita()
46
->whereIn('codice_stato_fe', ['NS', 'ERR', 'EC02'])
47
->where('data_stato_fe', '>=', $_SESSION['period_start'])
48
+ ->where('data', '>=', $data_setting)
49
->orderBy('data_stato_fe')
50
->get();
51
@@ -90,6 +93,7 @@
90
93
->where('codice_stato_fe', 'WAIT')
91
94
92
95
->where('data_stato_fe', '<', $data_limite)
96
97
98
99
0 commit comments