diff --git a/htdocs/categories/categorie.php b/htdocs/categories/categorie.php
index 62344cd85d6..afbad36ce61 100644
--- a/htdocs/categories/categorie.php
+++ b/htdocs/categories/categorie.php
@@ -211,7 +211,7 @@ if ($_GET["socid"])
print '
| ';
print $langs->trans('CustomerCode').' | ';
print $soc->code_client;
- if ($soc->check_codeclient() <> 0) print ' '.$langs->trans("WrongCustomerCode");
+ if ($soc->check_codeclient() <> 0) print ' ('.$langs->trans("WrongCustomerCode").')';
print ' |
';
}
@@ -220,7 +220,7 @@ if ($_GET["socid"])
print '| ';
print $langs->trans('SupplierCode').' | ';
print $soc->code_fournisseur;
- if ($soc->check_codefournisseur() <> 0) print ' '.$langs->trans("WrongSupplierCode");
+ if ($soc->check_codefournisseur() <> 0) print ' ('.$langs->trans("WrongSupplierCode").')';
print ' |
';
}
diff --git a/htdocs/societe/agenda.php b/htdocs/societe/agenda.php
index 7e51b290738..731c06645e2 100644
--- a/htdocs/societe/agenda.php
+++ b/htdocs/societe/agenda.php
@@ -90,7 +90,7 @@ if ($_GET["socid"])
print '| ';
print $langs->trans('CustomerCode').' | ';
print $soc->code_client;
- if ($soc->check_codeclient() <> 0) print ' '.$langs->trans("WrongCustomerCode");
+ if ($soc->check_codeclient() <> 0) print ' ('.$langs->trans("WrongCustomerCode").')';
print ' |
';
}
@@ -99,7 +99,7 @@ if ($_GET["socid"])
print '| ';
print $langs->trans('SupplierCode').' | ';
print $soc->code_fournisseur;
- if ($soc->check_codefournisseur() <> 0) print ' '.$langs->trans("WrongSupplierCode");
+ if ($soc->check_codefournisseur() <> 0) print ' ('.$langs->trans("WrongSupplierCode").')';
print ' |
';
}
diff --git a/htdocs/societe/document.php b/htdocs/societe/document.php
index e1e574294f2..ce5219edef4 100644
--- a/htdocs/societe/document.php
+++ b/htdocs/societe/document.php
@@ -1,6 +1,6 @@
- * Copyright (C) 2004-2008 Laurent Destailleur
+ * Copyright (C) 2004-2010 Laurent Destailleur
* Copyright (C) 2005-2007 Regis Houssin
*
* This program is free software; you can redistribute it and/or modify
@@ -155,7 +155,7 @@ if ($socid > 0)
print '| ';
print $langs->trans('CustomerCode').' | ';
print $societe->code_client;
- if ($societe->check_codeclient() <> 0) print ' '.$langs->trans("WrongCustomerCode");
+ if ($societe->check_codeclient() <> 0) print ' ('.$langs->trans("WrongCustomerCode").')';
print ' |
';
}
@@ -164,7 +164,7 @@ if ($socid > 0)
print '| ';
print $langs->trans('SupplierCode').' | ';
print $societe->code_fournisseur;
- if ($societe->check_codefournisseur() <> 0) print ' '.$langs->trans("WrongSupplierCode");
+ if ($societe->check_codefournisseur() <> 0) print ' ('.$langs->trans("WrongSupplierCode").')';
print ' |
';
}
diff --git a/htdocs/societe/socnote.php b/htdocs/societe/socnote.php
index c642db22ba5..b51fcf8330f 100644
--- a/htdocs/societe/socnote.php
+++ b/htdocs/societe/socnote.php
@@ -1,6 +1,6 @@
- * Copyright (C) 2004-2009 Laurent Destailleur
+ * Copyright (C) 2004-2010 Laurent Destailleur
* Copyright (C) 2005-2006 Regis Houssin
*
* This program is free software; you can redistribute it and/or modify
@@ -89,7 +89,7 @@ if ($socid > 0)
print '| ';
print $langs->trans('CustomerCode').' | ';
print $societe->code_client;
- if ($societe->check_codeclient() <> 0) print ' '.$langs->trans("WrongCustomerCode");
+ if ($societe->check_codeclient() <> 0) print ' ('.$langs->trans("WrongCustomerCode").')';
print ' |
';
}
@@ -98,7 +98,7 @@ if ($socid > 0)
print '| ';
print $langs->trans('SupplierCode').' | ';
print $societe->code_fournisseur;
- if ($societe->check_codefournisseur() <> 0) print ' '.$langs->trans("WrongSupplierCode");
+ if ($societe->check_codefournisseur() <> 0) print ' ('.$langs->trans("WrongSupplierCode").')';
print ' |
';
}