From ee4bdb99fb34dbd771269659ff6f34bd72b3bb7e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 5 May 2026 00:56:49 +0200 Subject: [PATCH] Debug v24 --- htdocs/societe/card.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/htdocs/societe/card.php b/htdocs/societe/card.php index 918aef66991..3e9111f446b 100644 --- a/htdocs/societe/card.php +++ b/htdocs/societe/card.php @@ -1608,7 +1608,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio */ // Default bank account - if (isModEnabled('bank')) { + if (isModEnabled('bank') && getDolGlobalString('THIRDPARTY_SUGGEST_ALSO_BANK_ACCOUNT')) { print ''; print $langs->trans('DefaultBankAccount'); print ''; @@ -2492,6 +2492,10 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio } print ''; + if (isModEnabled('bank') && getDolGlobalString('THIRDPARTY_SUGGEST_ALSO_BANK_ACCOUNT')) { + // TODO + // Allow to edit field default bank account like we can in creation mode + } // Barcode if (isModEnabled('barcode') && getDolGlobalString('BARCODE_USE_ON_THIRDPARTY')) {