diff --git a/htdocs/comm/prospect/fiche.php b/htdocs/comm/prospect/fiche.php index bc183b93db9..879f350d34f 100644 --- a/htdocs/comm/prospect/fiche.php +++ b/htdocs/comm/prospect/fiche.php @@ -21,8 +21,7 @@ * */ -/** - \file htdocs/comm/prospect/fiche.php +/** \file htdocs/comm/prospect/fiche.php \ingroup prospect \brief Page de la fiche prospect \version $Revision$ @@ -83,11 +82,11 @@ if ($socid > 0) { $h=0; $head[$h][0] = DOL_URL_ROOT.'/soc.php?socid='.$societe->id; - $head[$h][1] = "Société"; + $head[$h][1] = $langs->trans("Company"); $h++; $head[$h][0] = DOL_URL_ROOT.'/comm/prospect/fiche.php?id='.$societe->id; - $head[$h][1] = 'Prospect'; + $head[$h][1] = $langs->trans("Prospect"); $hselected=$h; $h++; @@ -97,13 +96,21 @@ if ($socid > 0) $head[$h][1] = 'Fiche catalogue'; $h++; } - + if ($societe->fournisseur) { $head[$h][0] = DOL_URL_ROOT.'/fourn/fiche.php?socid='.$societe->id; - $head[$h][1] = 'Fiche fournisseur'; + $head[$h][1] = $langs->trans("Supplier"); $h++; } + + if ($conf->compta->enabled) { + $langs->load("compta"); + $head[$h][0] = DOL_URL_ROOT.'/compta/fiche.php?socid='.$societe->id; + $head[$h][1] = $langs->trans("Accountancy"); + $h++; + } + $head[$h][0] = DOL_URL_ROOT.'/socnote.php?socid='.$societe->id; $head[$h][1] = $langs->trans("Note"); $h++; @@ -138,7 +145,7 @@ if ($socid > 0) if ($societe->url) { - print "Siteurl\">$societe->url "; + print "".$langs->trans("Web")."url\">$societe->url "; } if ($societe->rubrique) @@ -355,8 +362,8 @@ if ($socid > 0) $oldmonth = strftime("%Y%b",$obj->da); } - print "" .strftime("%d",$obj->da)."\n"; - print "" .strftime("%H:%M",$obj->da)."\n"; + print "" .strftime("%d",$obj->da)."\n"; + print "" .strftime("%H:%M",$obj->da)."\n"; print ' ';