Update InvoiceHook.php
This commit is contained in:
parent
c0785df8ef
commit
d4ae77f7fe
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue