diff --git a/htdocs/admin/propal.php b/htdocs/admin/propal.php
index de935b3d0f0..aef978ec6ad 100644
--- a/htdocs/admin/propal.php
+++ b/htdocs/admin/propal.php
@@ -163,9 +163,9 @@ if ($action == 'setdefaultduration')
}
}
-if ($action == 'set_ASK_PAYMENT_BANK_DURING_PROPOSAL')
+if ($action == 'set_BANK_ASK_PAYMENT_BANK_DURING_PROPOSAL')
{
- $res = dolibarr_set_const($db, "ASK_PAYMENT_BANK_DURING_PROPOSAL",$value,'chaine',0,'',$conf->entity);
+ $res = dolibarr_set_const($db, "BANK_ASK_PAYMENT_BANK_DURING_PROPOSAL",$value,'chaine',0,'',$conf->entity);
if (! $res > 0) $error++;
@@ -602,20 +602,20 @@ if ($conf->banque->enabled)
{
$var=!$var;
print '
| ';
- print $langs->trans("ASK_PAYMENT_BANK_DURING_PROPOSAL").' |   | ';
+ print $langs->trans("BANK_ASK_PAYMENT_BANK_DURING_PROPOSAL").' |   | ';
if (! empty($conf->use_javascript_ajax))
{
- print ajax_constantonoff('ASK_PAYMENT_BANK_DURING_PROPOSAL');
+ print ajax_constantonoff('BANK_ASK_PAYMENT_BANK_DURING_PROPOSAL');
}
else
{
- if (empty($conf->global->ASK_PAYMENT_BANK_DURING_PROPOSAL))
+ if (empty($conf->global->BANK_ASK_PAYMENT_BANK_DURING_PROPOSAL))
{
- print ''.img_picto($langs->trans("Disabled"),'switch_off').'';
+ print ''.img_picto($langs->trans("Disabled"),'switch_off').'';
}
else
{
- print ''.img_picto($langs->trans("Enabled"),'switch_on').'';
+ print ''.img_picto($langs->trans("Enabled"),'switch_on').'';
}
}
print ' |
';
@@ -624,7 +624,7 @@ else
{
$var=!$var;
print '| ';
- print $langs->trans("ASK_PAYMENT_BANK_DURING_PROPOSAL").' | | '.$langs->trans('NotAvailable').' |
';
+ print $langs->trans("BANK_ASK_PAYMENT_BANK_DURING_PROPOSAL").' | '.$langs->trans('NotAvailable').' | ';
}
print '';
diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php
index b14c9516465..6e105acea6d 100644
--- a/htdocs/comm/propal.php
+++ b/htdocs/comm/propal.php
@@ -1310,7 +1310,7 @@ if ($action == 'create')
print '';
// Bank Account
- if (! empty($conf->global->ASK_PAYMENT_BANK_DURING_PROPOSAL) && $conf->module->banque->enabled) {
+ if (! empty($conf->global->BANK_ASK_PAYMENT_BANK_DURING_PROPOSAL) && $conf->module->banque->enabled) {
print '| ' . $langs->trans('BankAccount') . ' | ';
$form->select_comptes($fk_account, 'fk_account', 0, '', 1);
print ' |
';
@@ -1894,7 +1894,7 @@ if ($action == 'create')
print '';
}
- if (! empty($conf->global->ASK_PAYMENT_BANK_DURING_PROPOSAL) && $conf->banque->enabled)
+ if (! empty($conf->global->BANK_ASK_PAYMENT_BANK_DURING_PROPOSAL) && $conf->banque->enabled)
{
// Bank Account
print '| ';
diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang
index 13e9580e2b8..fec89ae5bcd 100644
--- a/htdocs/langs/en_US/admin.lang
+++ b/htdocs/langs/en_US/admin.lang
@@ -1139,7 +1139,7 @@ AddDeliveryAddressAbility=Add delivery date ability
UseOptionLineIfNoQuantity=A line of product/service with a zero amount is considered as an option
FreeLegalTextOnProposal=Free text on commercial proposals
WatermarkOnDraftProposal=Watermark on draft commercial proposals (none if empty)
-ASK_PAYMENT_BANK_DURING_PROPOSAL=Ask for bank account destination of proposal
+BANK_ASK_PAYMENT_BANK_DURING_PROPOSAL=Ask for bank account destination of proposal
##### Orders #####
OrdersSetup=Order management setup
OrdersNumberingModules=Orders numbering models
|