diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang index 2dc2d0fb45c..34f14a23500 100644 --- a/htdocs/langs/en_US/admin.lang +++ b/htdocs/langs/en_US/admin.lang @@ -277,6 +277,7 @@ GenericMaskCodes2={cccc} the client code
{cccc000} the client c GenericMaskCodes3=All other characters in the mask will remain intact.
Spaces are not allowed.
GenericMaskCodes4a=Example on the 99th %s of the third party TheCompany done 2007-01-31:
GenericMaskCodes4b=Example on third party created on 2007-03-01:
+GenericMaskCodes4c=Example on product created on 2007-03-01:
GenericMaskCodes5=ABC{yy}{mm}-{000000} will give ABC0701-000099
{0000+100}-ZZZ/{dd}/XXX will give 0199-ZZZ/31/XXX GenericNumRefModelDesc=Return a customizable number according to a defined mask. ServerAvailableOnIPOrPort=Server is available at address %s on port %s @@ -1137,6 +1138,8 @@ UseSearchToSelectProduct=Use a search form to choose a product (instead of using UseEcoTaxeAbility=Support Eco-Taxe (WEEE) SetDefaultBarcodeTypeProducts=Default barcode type to use for products SetDefaultBarcodeTypeThirdParties=Default barcode type to use for third parties +ProductCodeChecker= Module for product code generation and checking (product or service) +ProductOtherConf= Product / Service configuration ##### Syslog ##### SyslogSetup=Logs module setup SyslogOutput=Logs outputs diff --git a/htdocs/langs/en_US/companies.lang b/htdocs/langs/en_US/companies.lang index 0fef5378091..b2bf2106f90 100644 --- a/htdocs/langs/en_US/companies.lang +++ b/htdocs/langs/en_US/companies.lang @@ -392,4 +392,4 @@ ActivityStateFilter=Activity status # Monkey MonkeyNumRefModelDesc=Return numero with format %syymm-nnnn for customer code and %syymm-nnnn for supplier code where yy is year, mm is month and nnnn is a sequence with no break and no return to 0. # Leopard -LeopardNumRefModelDesc=Customer/supplier code is free. This code can be modified at any time. +LeopardNumRefModelDesc=The code is free. This code can be modified at any time. diff --git a/htdocs/langs/en_US/products.lang b/htdocs/langs/en_US/products.lang index 7c6a28231dc..5c3b330410c 100644 --- a/htdocs/langs/en_US/products.lang +++ b/htdocs/langs/en_US/products.lang @@ -169,4 +169,6 @@ SuppliersPrices=Suppliers prices CustomCode=Customs code CountryOrigin=Origin country HiddenIntoCombo=Hidden into select lists -Nature=Nature \ No newline at end of file +Nature=Nature +ProductCodeModel=Product code model +ServiceCodeModel=Service code model \ No newline at end of file diff --git a/htdocs/product/admin/product.php b/htdocs/product/admin/product.php index eddac8c041d..1ac75474ea3 100644 --- a/htdocs/product/admin/product.php +++ b/htdocs/product/admin/product.php @@ -237,18 +237,12 @@ foreach ($dirproduct as $dirroot) } else { - // @todo : What's that ? - /*$disabled = false; + $disabled = false; if (! empty($conf->multicompany->enabled) && (is_object($mc) && ! empty($mc->sharings['referent']) && $mc->sharings['referent'] == $conf->entity) ? false : true); print ''; - if (! $disabled) print ''; + if (! $disabled) print ''; print img_picto($langs->trans("Disabled"),'switch_off'); if (! $disabled) print ''; - print '';*/ - print ''; - print ''; - print img_picto($langs->trans("Disabled"),'switch_off'); - print ''; print ''; }