Fix click on checkbox
This commit is contained in:
parent
b1c045eb01
commit
a737e9ef36
1 changed files with 3 additions and 3 deletions
|
|
@ -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 '<br><div class="center">';
|
||||
print '<input type="checkbox" checked name="closepaidinvoices"> '.$checkboxlabel;
|
||||
print '<input type="checkbox" checked name="closepaidinvoices" id="closepaidinvoices"><label for="closepaidinvoices"> '.$checkboxlabel.'</label>';
|
||||
/*if (isModEnabled('prelevement')) {
|
||||
$langs->load("withdrawals");
|
||||
if (!empty($conf->global->WITHDRAW_DISABLE_AUTOCREATE_ONPAYMENTS)) print '<br>'.$langs->trans("IfInvoiceNeedOnWithdrawPaymentWontBeClosed");
|
||||
|
|
|
|||
Loading…
Reference in a new issue