From 0f9dd0b04a98cef3c1835c28852204af78a449be Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 22 Sep 2022 14:53:34 +0200 Subject: [PATCH] Fix missing test on multicurrency to show remain to pay vendor invoice --- htdocs/fourn/facture/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fourn/facture/card.php b/htdocs/fourn/facture/card.php index 7704466d939..33fac296f8d 100644 --- a/htdocs/fourn/facture/card.php +++ b/htdocs/fourn/facture/card.php @@ -3507,7 +3507,7 @@ if ($action == 'create') { print ''.price($resteapayeraffiche).' '; // Remainder to pay Multicurrency - if ($object->multicurrency_code != $conf->currency || $object->multicurrency_tx != 1) { + if (isModEnabled('multicurreny') && $object->multicurrency_code != $conf->currency || $object->multicurrency_tx != 1) { print ''; print ''; print $langs->trans('RemainderToPayMulticurrency');