forked from Wavyzz/dolibarr
Update mod_takepos_ref_universal.php
This commit is contained in:
@@ -17,8 +17,8 @@
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
* or see http://www.gnu.org/
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
* or see https://www.gnu.org/
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -26,6 +26,7 @@
|
||||
* \ingroup takepos
|
||||
* \brief File with Universal ref numbering module for takepos
|
||||
*/
|
||||
|
||||
dol_include_once('/core/modules/takepos/modules_takepos.php');
|
||||
|
||||
/**
|
||||
@@ -51,7 +52,7 @@ class mod_takepos_ref_universal extends ModeleNumRefTakepos
|
||||
public $nom = 'Universal';
|
||||
|
||||
/**
|
||||
* Renvoi la description du modele de numerotation
|
||||
* return description of the numbering model
|
||||
*
|
||||
* @return string Texte descripif
|
||||
*/
|
||||
@@ -77,7 +78,7 @@ class mod_takepos_ref_universal extends ModeleNumRefTakepos
|
||||
$tooltip .= $langs->trans('GenericMaskCodes5');
|
||||
$tooltip .= $langs->trans('CashDeskGenericMaskCodes6');
|
||||
|
||||
// Parametrage du prefix
|
||||
// Setting up the prefix
|
||||
$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>';
|
||||
|
||||
@@ -92,7 +93,7 @@ class mod_takepos_ref_universal extends ModeleNumRefTakepos
|
||||
}
|
||||
|
||||
/**
|
||||
* Renvoi un exemple de numerotation
|
||||
* Return an example of numbering
|
||||
*
|
||||
* @return string Example
|
||||
*/
|
||||
@@ -125,7 +126,7 @@ class mod_takepos_ref_universal extends ModeleNumRefTakepos
|
||||
|
||||
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;
|
||||
|
||||
if (!$mask) {
|
||||
|
||||
Reference in New Issue
Block a user