Update InvoiceHook.php

This commit is contained in:
Luca 2020-02-03 10:22:10 +01:00
parent c0785df8ef
commit d4ae77f7fe
1 changed files with 1 additions and 1 deletions

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);