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");