|
@@ -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 '<tr '.$bc[$var].'><td>';
|
|
|
- print $langs->trans("ASK_PAYMENT_BANK_DURING_PROPOSAL").'</td><td> </td><td align="center">';
|
|
|
+ print $langs->trans("BANK_ASK_PAYMENT_BANK_DURING_PROPOSAL").'</td><td> </td><td align="center">';
|
|
|
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 '<a href="'.$_SERVER['PHP_SELF'].'?action=set_ASK_PAYMENT_BANK_DURING_PROPOSAL&value=1">'.img_picto($langs->trans("Disabled"),'switch_off').'</a>';
|
|
|
+ print '<a href="'.$_SERVER['PHP_SELF'].'?action=set_BANK_ASK_PAYMENT_BANK_DURING_PROPOSAL&value=1">'.img_picto($langs->trans("Disabled"),'switch_off').'</a>';
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- print '<a href="'.$_SERVER['PHP_SELF'].'?action=set_ASK_PAYMENT_BANK_DURING_PROPOSAL&value=0">'.img_picto($langs->trans("Enabled"),'switch_on').'</a>';
|
|
|
+ print '<a href="'.$_SERVER['PHP_SELF'].'?action=set_BANK_ASK_PAYMENT_BANK_DURING_PROPOSAL&value=0">'.img_picto($langs->trans("Enabled"),'switch_on').'</a>';
|
|
|
}
|
|
|
}
|
|
|
print '</td></tr>';
|
|
@@ -624,7 +624,7 @@ else
|
|
|
{
|
|
|
$var=!$var;
|
|
|
print '<tr '.$bc[$var].'><td>';
|
|
|
- print $langs->trans("ASK_PAYMENT_BANK_DURING_PROPOSAL").'</td><td> </td><td align="center">'.$langs->trans('NotAvailable').'</td></tr>';
|
|
|
+ print $langs->trans("BANK_ASK_PAYMENT_BANK_DURING_PROPOSAL").'</td><td> </td><td align="center">'.$langs->trans('NotAvailable').'</td></tr>';
|
|
|
}
|
|
|
|
|
|
print '</table>';
|