|
@@ -52,7 +52,7 @@ class mod_chequereceipt_thyme extends ModeleNumRefChequeReceipts
|
|
|
$texte.= '<form action="'.$_SERVER["PHP_SELF"].'" method="POST">';
|
|
|
$texte.= '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
|
|
$texte.= '<input type="hidden" name="action" value="updateMask">';
|
|
|
- $texte.= '<input type="hidden" name="maskconstpayment" value="PAYMENT_THYME_MASK">';
|
|
|
+ $texte.= '<input type="hidden" name="maskconstchequereceipts" value="CHEQUERECEIPTS_THYME_MASK">';
|
|
|
$texte.= '<table class="nobordernopadding" width="100%">';
|
|
|
|
|
|
$tooltip=$langs->trans("GenericMaskCodes",$langs->transnoentities("Order"),$langs->transnoentities("Order"));
|
|
@@ -63,7 +63,7 @@ class mod_chequereceipt_thyme extends ModeleNumRefChequeReceipts
|
|
|
|
|
|
// Parametrage du prefix
|
|
|
$texte.= '<tr><td>'.$langs->trans("Mask").':</td>';
|
|
|
- $texte.= '<td align="right">'.$form->textwithpicto('<input type="text" class="flat" size="24" name="maskpayment" value="'.$conf->global->PAYMENT_THYME_MASK.'">',$tooltip,1,1).'</td>';
|
|
|
+ $texte.= '<td align="right">'.$form->textwithpicto('<input type="text" class="flat" size="24" name="maskchequereceipts" value="'.$conf->global->CHEQUERECEIPTS_THYME_MASK.'">',$tooltip,1,1).'</td>';
|
|
|
|
|
|
$texte.= '<td align="left" rowspan="2"> <input type="submit" class="button" value="'.$langs->trans("Modify").'" name="Button"></td>';
|
|
|
|
|
@@ -110,7 +110,7 @@ class mod_chequereceipt_thyme extends ModeleNumRefChequeReceipts
|
|
|
require_once DOL_DOCUMENT_ROOT .'/core/lib/functions2.lib.php';
|
|
|
|
|
|
// We get cursor rule
|
|
|
- $mask=$conf->global->PAYMENT_THYME_MASK;
|
|
|
+ $mask=$conf->global->CHEQUERECEIPTS_THYME_MASK;
|
|
|
|
|
|
if (! $mask)
|
|
|
{
|