1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-11 07:05:22 +01:00

Update InvoiceHook.php

This commit is contained in:
Luca 2020-02-03 10:22:10 +01:00
parent c0785df8ef
commit d4ae77f7fe

View File

@ -19,7 +19,7 @@ class InvoiceHook extends Manager
}
$remaining = Fattura::where('hook_send', 1)
->where('codice_stato_fe', 'ERR')
->where('codice_stato_fe', 'QUEUE')
->count();
return !empty($remaining);