diff --git a/plugins/receiptFE/edit.php b/plugins/receiptFE/edit.php index c05662c26..db07b03bd 100755 --- a/plugins/receiptFE/edit.php +++ b/plugins/receiptFE/edit.php @@ -39,7 +39,7 @@ if (Interaction::isEnabled()) { ->orderBy('data_stato_fe') ->get(); - if (!empty($fatture_generate_errore)) { + if (!empty($fatture_generate_errore->count())) { echo '
'.tr('Attenzione: le seguenti fatture hanno ricevuto uno scartato o hanno presentano errori in fase di trasmissione').'.
@@ -64,7 +64,7 @@ if (Interaction::isEnabled()) { ->orderBy('data_stato_fe') ->get(); - if (!empty($fatture_generate)) { + if (!empty($fatture_generate->count())) { echo ''.tr('Informazione: le seguenti fatture sono in attesa di una ricevuta da più di 7 giorni').'.