From a737e9ef3655e8f39d5e9dec9fd3bd17cf2f4e9a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 21 Jun 2024 03:02:10 +0200 Subject: [PATCH] Fix click on checkbox --- htdocs/compta/paiement.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php index 9c06cedaac1..eb761f7aa88 100644 --- a/htdocs/compta/paiement.php +++ b/htdocs/compta/paiement.php @@ -361,8 +361,8 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie } // Invoice with Paypal transaction - // TODO add hook here - if (isModEnabled('paypalplus') && $conf->global->PAYPAL_ENABLE_TRANSACTION_MANAGEMENT && !empty($facture->ref_ext)) { + // @TODO add hook here + if (isModEnabled('paypalplus') && getDolGlobalString('PAYPAL_ENABLE_TRANSACTION_MANAGEMENT') && !empty($facture->ref_ext)) { if (getDolGlobalString('PAYPAL_BANK_ACCOUNT')) { $accountid = getDolGlobalString('PAYPAL_BANK_ACCOUNT'); } @@ -883,7 +883,7 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie } print '
'; - print ' '.$checkboxlabel; + print ''; /*if (isModEnabled('prelevement')) { $langs->load("withdrawals"); if (!empty($conf->global->WITHDRAW_DISABLE_AUTOCREATE_ONPAYMENTS)) print '
'.$langs->trans("IfInvoiceNeedOnWithdrawPaymentWontBeClosed");