Skip to content
Snippets Groups Projects
Commit 2af8626b authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Minor enhancements

parent 2558694e
Branches
Tags
No related merge requests found
......@@ -125,6 +125,8 @@ class ModeleThirdPartyCode
if ($type == 0) $s.=$langs->trans("CustomerCodeDesc").'<br>';
if ($type == 1) $s.=$langs->trans("SupplierCodeDesc").'<br>';
if ($type != -1) $s.=$langs->trans("ValidityControledByModule").': <b>'.$this->getNom($langs).'</b><br>';
$s.='<br>';
$s.='<u>'.$langs->trans("ThisIsModuleRules").'</u>:<br>';
if ($type == 0) $s.=$langs->trans("RequiredIfCustomer").': <b>'.yn(!$this->code_null).'</b><br>';
if ($type == 1) $s.=$langs->trans("RequiredIfSupplier").': <b>'.yn(!$this->code_null).'</b><br>';
if ($type == -1) $s.=$langs->trans("Required").': <b>'.yn(!$this->code_null).'</b><br>';
......
......@@ -144,6 +144,7 @@ SupplierCodeDesc=Supplier code, unique for all suppliers
RequiredIfCustomer=Required if third party is a customer or prospect
RequiredIfSupplier=Required if third party is a supplier
ValidityControledByModule=Validity controled by module
ThisIsModuleRules=This is rules for this module
LastProspect=Last
ProspectToContact=Prospect to contact
CompanyDeleted=Company "%s" deleted from database.
......
......@@ -144,6 +144,7 @@ SupplierCodeDesc=Code fournisseur unique pour chaque fournisseur
RequiredIfCustomer=Requis si tiers est un client ou prospect
RequiredIfSupplier=Requis si tiers est un fournisseur
ValidityControledByModule=Validité controlée par le module
ThisIsModuleRules=Voici les règles de ce module
LastProspect=Dernier prospect
ProspectToContact=Prospect à contacter
CompanyDeleted=La société "%s" a été supprimée de la base.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment