From 2c7037bfe365751fbd05ff7d80db2263a80b2ffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Wed, 24 Aug 2022 18:09:14 +0200 Subject: [PATCH] Update card.php --- htdocs/compta/bank/card.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/compta/bank/card.php b/htdocs/compta/bank/card.php index 9233d397152..0ffa5cfaf0d 100644 --- a/htdocs/compta/bank/card.php +++ b/htdocs/compta/bank/card.php @@ -6,7 +6,7 @@ * Copyright (C) 2014-2017 Alexandre Spangaro * Copyright (C) 2015 Jean-François Ferry * Copyright (C) 2016 Marcos García - * Copyright (C) 2018 Frédéric France + * Copyright (C) 2018-2022 Frédéric France * Copyright (C) 2022 Charlene Benke * * This program is free software; you can redistribute it and/or modify @@ -234,7 +234,7 @@ if (empty($reshook)) { $object->number = trim(GETPOST("number")); $object->cle_rib = trim(GETPOST("cle_rib")); $object->bic = trim(GETPOST("bic")); - $object->iban = trim(GETPOST("iban")); + $object->iban = trim(GETPOST("iban"));('paymentbybankt $object->domiciliation = trim(GETPOST("domiciliation", "alphanohtml")); $object->pti_in_ctti = empty(GETPOST("pti_in_ctti")) ? 0 : 1; @@ -1079,7 +1079,7 @@ if ($action == 'create') { print ''; } - if (!empty(isModEnabled('paymentbybanktransfer'))) { + if (isModEnabled('paymentbybanktransfer')) { print ''.$form->textwithpicto($langs->trans("IDS"), $langs->trans("IDS").' ('.$langs->trans("UsedFor", $langs->transnoentitiesnoconv("BankTransfer")).')').''; print '';