mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix tooltip on numbering modules
This commit is contained in:
parent
0bc82e4c94
commit
a701f84543
|
|
@ -76,6 +76,7 @@ class mod_asset_advanced extends ModeleNumRefAsset
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("Asset"), $langs->transnoentities("Asset"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
//$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Parametrage du prefix
|
||||
$text .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
|
|
|
|||
|
|
@ -90,6 +90,7 @@ class mod_barcode_product_standard extends ModeleNumRefBarCode
|
|||
$tooltip .= '9771234{00000}? (example of ISSN code with prefix 1234)<br>';
|
||||
$tooltip .= '9791234{00000}? (example of ISMN code with prefix 1234)<br>';
|
||||
//$tooltip.=$langs->trans("GenericMaskCodes5");
|
||||
//$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Mask parameter
|
||||
//$texte.= '<tr><td>'.$langs->trans("Mask").' ('.$langs->trans("BarCodeModel").'):</td>';
|
||||
|
|
|
|||
|
|
@ -103,6 +103,7 @@ class mod_barcode_thirdparty_standard extends ModeleNumRefBarCode
|
|||
$tooltip .= '9771234{00000}? (example of ISSN code with prefix 1234)<br>';
|
||||
$tooltip .= '9791234{00000}? (example of ISMN code with prefix 1234)<br>';
|
||||
//$tooltip.=$langs->trans("GenericMaskCodes5");
|
||||
//$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Mask parameter
|
||||
//$texte.= '<tr><td>'.$langs->trans("Mask").' ('.$langs->trans("BarCodeModel").'):</td>';
|
||||
|
|
|
|||
|
|
@ -77,6 +77,7 @@ class mod_bom_advanced extends ModeleNumRefBoms
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("Bom"), $langs->transnoentities("Bom"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
//$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Parametrage du prefix
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@ class mod_chequereceipt_thyme extends ModeleNumRefChequeReceipts
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("CheckReceiptShort"), $langs->transnoentities("CheckReceiptShort"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
//$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Parametrage du prefix
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
|
|
|
|||
|
|
@ -77,6 +77,7 @@ class mod_commande_saphir extends ModeleNumRefCommandes
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("Order"), $langs->transnoentities("Order"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Parametrage du prefix
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
|
|
|
|||
|
|
@ -70,6 +70,7 @@ class mod_contract_magre extends ModelNumRefContracts
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("Contract"), $langs->transnoentities("Contract"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
$texte .= '<td class="right">'.$form->textwithpicto('<input type="text" class="flat minwidth175" name="maskcontract" value="'.getDolGlobalString("CONTRACT_MAGRE_MASK").'">', $tooltip, 1, 1).'</td>';
|
||||
|
|
|
|||
|
|
@ -82,6 +82,7 @@ class mod_delivery_saphir extends ModeleNumRefDeliveryOrder
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("Delivery"), $langs->transnoentities("Delivery"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Parametrage du prefix
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
|
|
|
|||
|
|
@ -79,6 +79,7 @@ class mod_expedition_ribera extends ModelNumRefExpedition
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("Shipment"), $langs->transnoentities("Shipment"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
$texte .= '<td class="right">'.$form->textwithpicto('<input type="text" class="flat minwidth175" name="maskexpedition" value="'.getDolGlobalString('EXPEDITION_RIBERA_MASK').'">', $tooltip, 1, 1).'</td>';
|
||||
|
|
|
|||
|
|
@ -81,6 +81,7 @@ class mod_expensereport_sand extends ModeleNumRefExpenseReport
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("ExpenseReport"), $langs->transnoentities("ExpenseReport"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Parametrage du prefix
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
|
|
|
|||
|
|
@ -76,6 +76,7 @@ class mod_facture_mercure extends ModeleNumRefFactures
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("Invoice"), $langs->transnoentities("Invoice"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Setting the prefix
|
||||
$texte .= '<tr><td><span class="opacitymedium">'.$langs->trans("Mask").' ('.$langs->trans("InvoiceStandard").'):</span></td>';
|
||||
|
|
|
|||
|
|
@ -83,6 +83,7 @@ class mod_arctic extends ModeleNumRefFicheinter
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("InterventionCard"), $langs->transnoentities("InterventionCard"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
//$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Setting the prefix
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
|
|
|
|||
|
|
@ -70,6 +70,7 @@ class mod_holiday_immaculate extends ModelNumRefHolidays
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("Holiday"), $langs->transnoentities("Holiday"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
//$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
$texte .= '<td class="right">'.$form->textwithpicto('<input type="text" class="flat minwidth175" name="maskholiday" value="'.getDolGlobalString('HOLIDAY_IMMACULATE_MASK').'">', $tooltip, 1, 1).'</td>';
|
||||
|
|
|
|||
|
|
@ -77,6 +77,7 @@ class mod_evaluation_advanced extends ModeleNumRefEvaluation
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("Evaluation"), $langs->transnoentities("Evaluation"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
//$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Parametrage du prefix
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
|
|
|
|||
|
|
@ -78,6 +78,7 @@ class mod_mo_advanced extends ModeleNumRefMos
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("Mo"), $langs->transnoentities("Mo"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
//$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Parametrage du prefix
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
|
|
|
|||
|
|
@ -80,6 +80,7 @@ class mod_payment_ant extends ModeleNumRefPayments
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("Order"), $langs->transnoentities("Order"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
//$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Parametrage du prefix
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
|
|
|
|||
|
|
@ -94,6 +94,7 @@ class mod_codeproduct_elephant extends ModeleProductCode
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4c");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
//$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Parametrage du prefix customers
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").' ('.$langs->trans("ProductCodeModel").'):</td>';
|
||||
|
|
|
|||
|
|
@ -82,6 +82,7 @@ class mod_lot_advanced extends ModeleNumRefBatch
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("Batch"), $langs->transnoentities("Batch"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
//$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Parametrage du prefix
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
|
|
|
|||
|
|
@ -82,6 +82,7 @@ class mod_sn_advanced extends ModeleNumRefBatch
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("Batch"), $langs->transnoentities("Batch"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
//$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Parametrage du prefix
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
|
|
|
|||
|
|
@ -87,6 +87,7 @@ class mod_project_universal extends ModeleNumRefProjects
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("Project"), $langs->transnoentities("Project"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Prefix settings
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
|
|
|
|||
|
|
@ -82,6 +82,7 @@ class mod_task_universal extends ModeleNumRefTask
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("Task"), $langs->transnoentities("Task"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Parametrage du prefix
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
|
|
|
|||
|
|
@ -83,6 +83,7 @@ class mod_propale_saphir extends ModeleNumRefPropales
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("Proposal"), $langs->transnoentities("Proposal"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Parametrage du prefix
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@ class mod_reception_moonstone extends ModelNumRefReception
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("Reception"), $langs->transnoentities("Reception"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
$texte .= '<td class="right">'.$form->textwithpicto('<input type="text" class="flat minwidth175" name="maskreception" value="'.getDolGlobalString("RECEPTION_MOONSTONE_MASK").'">', $tooltip, 1, 1).'</td>';
|
||||
|
|
|
|||
|
|
@ -97,13 +97,17 @@ class mod_codeclient_elephant extends ModeleThirdPartyCode
|
|||
|
||||
$tooltip = $langs->trans("GenericMaskCodes", $langs->transnoentities("ThirdParty"), $langs->transnoentities("ThirdParty"));
|
||||
//$tooltip.=$langs->trans("GenericMaskCodes2"); Not required for third party numbering
|
||||
$tooltip .= $langs->trans("GenericMaskCodes2b").'<br>';
|
||||
$tooltip .= '<br>';
|
||||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= '<br>';
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4b");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
//$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Parametrage du prefix customers
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").' ('.$langs->trans("CustomerCodeModel").'):</td>';
|
||||
$texte .= '<td class="right">'.$form->textwithpicto('<input type="text" class="flat minwidth175" name="value1" value="'.getDolGlobalString('COMPANY_ELEPHANT_MASK_CUSTOMER').'"'.$disabled.'>', $tooltip, 1, 1).'</td>';
|
||||
$texte .= '<td class="right">'.$form->textwithpicto('<input type="text" class="flat minwidth175" name="value1" value="'.getDolGlobalString('COMPANY_ELEPHANT_MASK_CUSTOMER').'"'.$disabled.'>', $tooltip, 1, 1, '', 0, 3, 'tooltipelephantcutomer').'</td>';
|
||||
|
||||
$texte .= '<td class="left" rowspan="2"> <input type="submit" class="button button-edit reposition smallpaddingimp" name="modify" value="'.$langs->trans("Modify").'"'.$disabled.'></td>';
|
||||
|
||||
|
|
@ -111,7 +115,7 @@ class mod_codeclient_elephant extends ModeleThirdPartyCode
|
|||
|
||||
// Parametrage du prefix suppliers
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").' ('.$langs->trans("SupplierCodeModel").'):</td>';
|
||||
$texte .= '<td class="right">'.$form->textwithpicto('<input type="text" class="flat minwidth175" name="value2" value="'.getDolGlobalString('COMPANY_ELEPHANT_MASK_SUPPLIER').'"'.$disabled.'>', $tooltip, 1, 1).'</td>';
|
||||
$texte .= '<td class="right">'.$form->textwithpicto('<input type="text" class="flat minwidth175" name="value2" value="'.getDolGlobalString('COMPANY_ELEPHANT_MASK_SUPPLIER').'"'.$disabled.'>', $tooltip, 1, 1, '', 0, 3, 'tooltipelephantsupplier').'</td>';
|
||||
$texte .= '</tr>';
|
||||
|
||||
$texte .= '</table>';
|
||||
|
|
|
|||
|
|
@ -78,6 +78,7 @@ class mod_stocktransfer_advanced extends ModeleNumRefStockTransfer
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("StockTransfer"), $langs->transnoentities("StockTransfer"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
//$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Parametrage du prefix
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
|
|
|
|||
|
|
@ -91,6 +91,7 @@ class mod_facture_fournisseur_tulip extends ModeleNumRefSuppliersInvoices
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("Invoice"), $langs->transnoentities("Invoice"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Setting the prefix
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").' ('.$langs->trans("InvoiceStandard").')';
|
||||
|
|
|
|||
|
|
@ -85,6 +85,7 @@ class mod_commande_fournisseur_orchidee extends ModeleNumRefSuppliersOrders
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("Order"), $langs->transnoentities("Order"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Parametrage du prefix
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
|
|
|
|||
|
|
@ -81,6 +81,7 @@ class mod_supplier_payment_brodator extends ModeleNumRefSupplierPayments
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("Order"), $langs->transnoentities("Order"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Parametrage du prefix
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
|
|
|
|||
|
|
@ -83,6 +83,7 @@ class mod_supplier_proposal_saphir extends ModeleNumRefSupplierProposal
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("CommRequest"), $langs->transnoentities("CommRequest"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
$mask = getDolGlobalString('SUPPLIER_PROPOSAL_SAPHIR_MASK');
|
||||
|
||||
|
|
|
|||
|
|
@ -78,6 +78,7 @@ class mod_takepos_ref_universal extends ModeleNumRefTakepos
|
|||
$tooltip .= $langs->trans('GenericMaskCodes3');
|
||||
$tooltip .= $langs->trans('GenericMaskCodes4a', $langs->transnoentities('CashDesk'), $langs->transnoentities('CashDesk'));
|
||||
$tooltip .= $langs->trans('GenericMaskCodes5');
|
||||
//$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
$tooltip .= $langs->trans('CashDeskGenericMaskCodes6');
|
||||
|
||||
// Setting up the prefix
|
||||
|
|
|
|||
|
|
@ -79,6 +79,7 @@ class mod_ticket_universal extends ModeleNumRefTicket
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("Ticket"), $langs->transnoentities("Ticket"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
//$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Prefix settings
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
|
|
|
|||
|
|
@ -78,6 +78,7 @@ class mod_workstation_advanced extends ModeleNumRefWorkstation
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("Workstation"), $langs->transnoentities("Workstation"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
//$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Parametrage du prefix
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
|
|
|
|||
|
|
@ -76,6 +76,7 @@ class mod_knowledgerecord_advanced extends ModeleNumRefKnowledgeRecord
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("KnowledgeRecord"), $langs->transnoentities("KnowledgeRecord"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Parametrage du prefix
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
|
|
|
|||
|
|
@ -365,12 +365,14 @@ UpdateServerOffline=Update server offline
|
|||
WithCounter=Manage a counter
|
||||
GenericMaskCodes=You may enter any numbering mask. In this mask, the following tags can be used:<br><b>{000000}</b> corresponds to a number which will be incremented on each %s. Enter as many zeros as the desired length of the counter. The counter will be completed by zeros from the left in order to have as many zeros as the mask. <br><b>{000000+000}</b> same as the previous one but an offset corresponding to the number to the right of the + sign is applied starting on the first %s. <br><b>{000000@x}</b> same as the previous one but the counter is reset to zero when month x is reached (x between 1 and 12, or 0 to use the early months of fiscal year defined in your configuration, or 99 to reset to zero every month). If this option is used and x is 2 or higher, then the sequence {yy}{mm} or {yyyy}{mm} is also required. <br><b>{dd}</b> day (01 to 31).<br><b>{mm}</b> month (01 to 12).<br><b>{yy}</b>, <b>{yyyy}</b> or <b>{y}</b> year over 2, 4 or 1 numbers. <br>
|
||||
GenericMaskCodes2=<b>{cccc}</b> the client code on n characters<br><b>{cccc000}</b> the client code on n characters is followed by a counter dedicated to the customer. This counter dedicated to customer is reset at same time as the global counter.<br><b>{tttt}</b> The code of third party type on n characters (see menu Home - Setup - Dictionary - Types of third parties). If you add this tag, the counter will be different for each type of third party.<br>
|
||||
GenericMaskCodes2b=<b>{uuuu}</b> the n first characters of the lastname of the user that creates the object (n is number of "u").
|
||||
GenericMaskCodes3=All other characters in the mask will remain intact.<br>Spaces are not allowed.<br>
|
||||
GenericMaskCodes3EAN=All other characters in the mask will remain intact (except * or ? in 13th position in EAN13).<br>Spaces are not allowed.<br>In EAN13, the last character after the last } in 13th position should be * or ? . It will be replaced by the calculated key.<br>
|
||||
GenericMaskCodes4a=<u>Example on the 99th %s of the third party TheCompany, with date 2023-01-31:</u><br>
|
||||
GenericMaskCodes4b=<u>Example on third party created on 2023-01-31:</u><br>
|
||||
GenericMaskCodes4c=<u>Example on product created on 2023-01-31:</u><br>
|
||||
GenericMaskCodes5=<b>ABC{yy}{mm}-{000000}</b> will give <b>ABC2301-000099</b><br><b>{0000+100@1}-ZZZ/{dd}/XXX</b> will give <b>0199-ZZZ/31/XXX</b><br><b>IN{yy}{mm}-{0000}-{t}</b> will give <b>IN2301-0099-A</b> if the type of company is 'Responsable Inscripto' with code for type that is 'A_RI'
|
||||
GenericMaskCodes5=<b>ABC{yy}{mm}-{000000}</b> will give <b>ABC2301-000099</b><br><b>{0000+100@1}-ZZZ/{dd}/XXX</b> will give <b>0199-ZZZ/31/XXX</b><br>
|
||||
GenericMaskCodes5b=<b>IN{yy}{mm}-{0000}-{t}</b> will give <b>IN2301-0099-A</b> if the type of company is 'Responsable Inscripto' with code for type that is 'A_RI'
|
||||
GenericNumRefModelDesc=Returns a customizable number according to a defined mask.
|
||||
ServerAvailableOnIPOrPort=Server is available at address <b>%s</b> on port <b>%s</b>
|
||||
ServerNotAvailableOnIPOrPort=Server is not available at address <b>%s</b> on port <b>%s</b>
|
||||
|
|
|
|||
|
|
@ -77,6 +77,7 @@ class mod_myobject_advanced extends ModeleNumRefMyObject
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("MyObject"), $langs->transnoentities("MyObject"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Parametrage du prefix
|
||||
$text .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
|
|
|
|||
|
|
@ -77,6 +77,7 @@ class mod_partnership_advanced extends ModeleNumRefPartnership
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("Partnership"), $langs->transnoentities("Partnership"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Parametrage du prefix
|
||||
$text .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
|
|
|
|||
|
|
@ -1416,6 +1416,8 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio
|
|||
$tooltip .= '<br>'.$langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= '<br>'.$langs->trans("GenericMaskCodes4a", $langs->transnoentities("Batch"), $langs->transnoentities("Batch"));
|
||||
$tooltip .= '<br>'.$langs->trans("GenericMaskCodes5");
|
||||
//$tooltip .= '<br>'.$langs->trans("GenericMaskCodes5b");
|
||||
|
||||
if ((getDolGlobalString('PRODUCTBATCH_LOT_ADDON') == 'mod_lot_advanced')
|
||||
|| (getDolGlobalString('PRODUCTBATCH_SN_ADDON') == 'mod_sn_advanced')) {
|
||||
print '<tr><td id="mask_option">'.$langs->trans("ManageLotMask").'</td>';
|
||||
|
|
@ -2018,6 +2020,8 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio
|
|||
$tooltip .= '<br>'.$langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= '<br>'.$langs->trans("GenericMaskCodes4a", $langs->transnoentities("Batch"), $langs->transnoentities("Batch"));
|
||||
$tooltip .= '<br>'.$langs->trans("GenericMaskCodes5");
|
||||
//$tooltip .= '<br>'.$langs->trans("GenericMaskCodes5b");
|
||||
|
||||
print '<tr><td id="mask_option">'.$langs->trans("ManageLotMask").'</td>';
|
||||
$mask = '';
|
||||
if ($object->status_batch == '1' && getDolGlobalString('PRODUCTBATCH_LOT_USE_PRODUCT_MASKS') && getDolGlobalString('PRODUCTBATCH_LOT_ADDON') == 'mod_lot_advanced') {
|
||||
|
|
|
|||
|
|
@ -77,6 +77,7 @@ class mod_recruitmentcandidature_advanced extends ModeleNumRefRecruitmentCandida
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("RecruitmentCandidature"), $langs->transnoentities("RecruitmentCandidature"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
//$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Parametrage du prefix
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
|
|
|
|||
|
|
@ -77,6 +77,7 @@ class mod_recruitmentjobposition_advanced extends ModeleNumRefRecruitmentJobPosi
|
|||
$tooltip .= $langs->trans("GenericMaskCodes3");
|
||||
$tooltip .= $langs->trans("GenericMaskCodes4a", $langs->transnoentities("RecruitmentJobPosition"), $langs->transnoentities("RecruitmentJobPosition"));
|
||||
$tooltip .= $langs->trans("GenericMaskCodes5");
|
||||
//$tooltip .= $langs->trans("GenericMaskCodes5b");
|
||||
|
||||
// Parametrage du prefix
|
||||
$texte .= '<tr><td>'.$langs->trans("Mask").':</td>';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user