diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php
index 84893a10b4b..6e4f513694e 100644
--- a/htdocs/comm/fiche.php
+++ b/htdocs/comm/fiche.php
@@ -194,7 +194,11 @@ if ($socid > 0)
// Fax
print '
'.$langs->trans('Fax').' | '.dol_print_phone($objsoc->fax,$objsoc->pays_code,0,$objsoc->id,'AC_FAX').' | ';
- print '| '.$langs->trans("Web")." | url\" target=\"_blank\">".$objsoc->url." |
";
+ // EMail
+ print ''.$langs->trans('EMail').' | '.dol_print_email($objsoc->email,0,$objsoc->id,'AC_EMAIL').' | ';
+
+ // Web
+ print '| '.$langs->trans("Web").' | '.dol_print_url($objsoc->url,'_blank').' |
';
// Assujeti TVA ou pas
print '';
diff --git a/htdocs/compta/fiche.php b/htdocs/compta/fiche.php
index 20aeafba36a..aa875d13d04 100644
--- a/htdocs/compta/fiche.php
+++ b/htdocs/compta/fiche.php
@@ -140,9 +140,17 @@ if ($socid > 0)
else print $societe->pays;
print '
';
+ // Phone
print '| '.$langs->trans("Phone").' | '.dol_print_phone($societe->tel,$societe->pays_code,0,$societe->id,'AC_TEL').' | ';
+
+ // Fax
print ''.$langs->trans("Fax").' | '.dol_print_phone($societe->fax,$societe->pays_code,0,$societe->id,'AC_FAX').' |
';
- print '| '.$langs->trans("Web")." | url\" target=\"_blank\">$societe->url |
";
+
+ // EMail
+ print ''.$langs->trans('EMail').' | '.dol_print_email($societe->email,0,$societe->id,'AC_EMAIL').' | ';
+
+ // Web
+ print '| '.$langs->trans("Web").' | '.dol_print_url($societe->url,'_blank').' |
';
// Assujeti a TVA ou pas
print '';
diff --git a/htdocs/soc.php b/htdocs/soc.php
index cfd5dde3e00..9bd030a2f9a 100644
--- a/htdocs/soc.php
+++ b/htdocs/soc.php
@@ -373,7 +373,7 @@ $_GET["action"] == 'create' || $_POST["action"] == 'create')
if ($modCodeClient->code_auto || $modCodeFournisseur->code_auto) print '';
print '';
-
+
if ($soc->particulier)
{
print '| '.$langs->trans('LastName').' | | ';
@@ -387,7 +387,7 @@ $_GET["action"] == 'create' || $_POST["action"] == 'create')
else
{
print '
| '.$langs->trans('Name').' | | ';
- print ''.$langs->trans('Prefix').' | |
';
+ print ''.$langs->trans('Prefix').' | | ';
}
// Client / Prospect
@@ -1010,10 +1010,12 @@ else
print '| '.$langs->trans('Phone').' | '.dol_print_phone($soc->tel,$soc->pays_code,0,$soc->id,'AC_TEL').' | ';
print ''.$langs->trans('Fax').' | '.dol_print_phone($soc->fax,$soc->pays_code,0,$soc->id,'AC_FAX').' |
';
+ // EMail
print '| '.$langs->trans('EMail').' | ';
- if ($soc->email) { print ''.$soc->email.''; }
- else print ' ';
+ print dol_print_email($soc->email,0,$soc->id,'AC_EMAIL');
print ' | ';
+
+ // Web
print ''.$langs->trans('Web').' | ';
print dol_print_url($soc->url);
print ' |
';