From d6ede5c89045cd242fdb57a71dc5235e68d371a9 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 10 Sep 2024 11:03:13 +0200 Subject: [PATCH] Debug v20 --- htdocs/societe/paymentmodes.php | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/htdocs/societe/paymentmodes.php b/htdocs/societe/paymentmodes.php index b97b5ed3f33..39a4b54c8dc 100644 --- a/htdocs/societe/paymentmodes.php +++ b/htdocs/societe/paymentmodes.php @@ -1534,6 +1534,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard' print '
'; } + // List of bank accounts if ($permissiontoaddupdatepaymentinformation) { $morehtmlright = dolGetButtonTitle($langs->trans('Add'), '', 'fa fa-plus-circle', $_SERVER["PHP_SELF"] . '?socid=' . $object->id . '&action=create'); @@ -1729,8 +1730,8 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard' $reshook = $hookmanager->executeHooks('printFieldListValue', $parameters, $object); // Note that $action and $object may have been modified by hook print $hookmanager->resPrint; + // Show online signature link if (!getDolGlobalInt('SOCIETE_DISABLE_BANKACCOUNT') && getDolGlobalInt("SOCIETE_RIB_ALLOW_ONLINESIGN")) { - // Show online signature link print ''; $useonlinesignature = 1; if ($useonlinesignature) { @@ -1848,16 +1849,17 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard' print img_picto($langs->trans("Default"), 'on'); } print ''; - /* - print ''; - print $langs->trans("Remote"); - //if ($src->cvc_check == 'fail') print ' - CVC check fail'; - print ''; - */ + // Doc gen print ''; print ''; + // Online sign + if (!getDolGlobalInt('SOCIETE_DISABLE_BANKACCOUNT') && getDolGlobalInt("SOCIETE_RIB_ALLOW_ONLINESIGN")) { + print ''; + print ''; + } + // Fields from hook $parameters = array('arrayfields' => array(), 'stripe_card_ref' => $rib->stripe_card_ref, 'stripe_account' => $rib->stripe_account, 'linetype' => 'stripebanremoteonly'); $reshook = $hookmanager->executeHooks('printFieldListValue', $parameters, $object); // Note that $action and $object may have been modified by hook