Update mod_takepos_ref_universal.php
This commit is contained in:
parent
e0b1ad308b
commit
a97f606cd9
@ -17,8 +17,8 @@
|
|||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
* or see http://www.gnu.org/
|
* or see https://www.gnu.org/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -26,6 +26,7 @@
|
|||||||
* \ingroup takepos
|
* \ingroup takepos
|
||||||
* \brief File with Universal ref numbering module for takepos
|
* \brief File with Universal ref numbering module for takepos
|
||||||
*/
|
*/
|
||||||
|
|
||||||
dol_include_once('/core/modules/takepos/modules_takepos.php');
|
dol_include_once('/core/modules/takepos/modules_takepos.php');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -51,7 +52,7 @@ class mod_takepos_ref_universal extends ModeleNumRefTakepos
|
|||||||
public $nom = 'Universal';
|
public $nom = 'Universal';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Renvoi la description du modele de numerotation
|
* return description of the numbering model
|
||||||
*
|
*
|
||||||
* @return string Texte descripif
|
* @return string Texte descripif
|
||||||
*/
|
*/
|
||||||
@ -77,7 +78,7 @@ class mod_takepos_ref_universal extends ModeleNumRefTakepos
|
|||||||
$tooltip .= $langs->trans('GenericMaskCodes5');
|
$tooltip .= $langs->trans('GenericMaskCodes5');
|
||||||
$tooltip .= $langs->trans('CashDeskGenericMaskCodes6');
|
$tooltip .= $langs->trans('CashDeskGenericMaskCodes6');
|
||||||
|
|
||||||
// Parametrage du prefix
|
// Setting up the prefix
|
||||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||||
$texte .= '<td align="right">'.$form->textwithpicto('<input type="text" class="flat minwidth175" name="maskvalue" value="'.$conf->global->TAKEPOS_REF_UNIVERSAL_MASK.'">', $tooltip, 1, 1).'</td>';
|
$texte .= '<td align="right">'.$form->textwithpicto('<input type="text" class="flat minwidth175" name="maskvalue" value="'.$conf->global->TAKEPOS_REF_UNIVERSAL_MASK.'">', $tooltip, 1, 1).'</td>';
|
||||||
|
|
||||||
@ -92,7 +93,7 @@ class mod_takepos_ref_universal extends ModeleNumRefTakepos
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Renvoi un exemple de numerotation
|
* Return an example of numbering
|
||||||
*
|
*
|
||||||
* @return string Example
|
* @return string Example
|
||||||
*/
|
*/
|
||||||
@ -125,7 +126,7 @@ class mod_takepos_ref_universal extends ModeleNumRefTakepos
|
|||||||
|
|
||||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
|
||||||
|
|
||||||
// On defini critere recherche compteur
|
// We define search criteria counter
|
||||||
$mask = $conf->global->TAKEPOS_REF_UNIVERSAL_MASK;
|
$mask = $conf->global->TAKEPOS_REF_UNIVERSAL_MASK;
|
||||||
|
|
||||||
if (!$mask) {
|
if (!$mask) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user