diff --git a/htdocs/compta/fiche.php b/htdocs/compta/fiche.php
index 7466b38e52e..350e346b313 100644
--- a/htdocs/compta/fiche.php
+++ b/htdocs/compta/fiche.php
@@ -232,7 +232,7 @@ if ($socid > 0)
print '
| '.$langs->trans('Country').' | '.$societe->pays.' |
';
- print '| '.$langs->trans("Phone").' | '.dolibarr_print_phone($societe->tel,$societe->pays_code).' | '.$langs->trans("Fax").' | '.$societe->fax.' |
';
+ print '| '.$langs->trans("Phone").' | '.dolibarr_print_phone($societe->tel,$societe->pays_code).' | '.$langs->trans("Fax").' | '.dolibarr_print_phone($societe->fax,$societe->pays_code).' |
';
print '| '.$langs->trans("Web")." | url\">$societe->url |
";
print "| ".$langs->transcountry("ProfId1",$societe->pays_code)." | siren."\">".$societe->siren." | ";
diff --git a/htdocs/compta/recap-client.php b/htdocs/compta/recap-client.php
index 60bebe85dc3..a266db71134 100644
--- a/htdocs/compta/recap-client.php
+++ b/htdocs/compta/recap-client.php
@@ -129,7 +129,31 @@ if ($socid > 0)
print '
';
print '';
+
print '| '.$langs->trans("Name").' | '.$societe->nom.' | ';
+
+ print ''.$langs->trans("Prefix").' | ';
+ print ($societe->prefix_comm?$societe->prefix_comm:' ');
+ print ' | ';
+
+ if ($societe->client) {
+ print '';
+ print '| '.$langs->trans("CustomerCode"). ' | '. $societe->code_client . ' | ';
+ print ' ';
+ print '';
+ print '| '.$langs->trans("CustomerAccountancyCode").' | '.$societe->code_compta.' | ';
+ print ' ';
+ }
+
+ if ($societe->fournisseur) {
+ print '';
+ print '| '.$langs->trans("SupplierCode"). ' | '. $societe->code_fournisseur . ' | ';
+ print ' ';
+ print '';
+ print '| '.$langs->trans("SupplierAccountancyCode").' | '.$societe->code_compta_fournisseur.' | ';
+ print ' ';
+ }
+
print '| '.$langs->trans("Address").' | '.nl2br($societe->adresse)." | ";
print '| '.$langs->trans('Zip').' | '.$societe->cp.' | ';
@@ -137,21 +161,12 @@ if ($socid > 0)
print ' | '.$langs->trans('Country').' | '.$soc->pays.' | ';
- print ' | '.$langs->trans("Phone").' | '.$societe->tel.' | Fax | '.$societe->fax.' | ';
+ print '| '.$langs->trans("Phone").' | '.dolibarr_print_phone($societe->tel,$societe->pays_code).' | '.$langs->trans("Fax").' | '.dolibarr_print_phone($societe->fax,$societe->pays_code).' | ';
- print '| '.$langs->transcountry("ProfId1",$societe->pays_code).' | '.$societe->siren.' | ';
- print ''.$langs->trans("Prefix").' | ';
- if ($societe->prefix_comm)
- {
- print $societe->prefix_comm;
- }
-
- print " | ";
+ print "| ".$langs->transcountry("ProfId1",$societe->pays_code)." | siren."\">".$societe->siren." | ";
+ print ''.$langs->transcountry('ProfId2',$societe->pays_code).' | '.$societe->siret.' | ';
- print '| '.$langs->trans("AccountancyCode").' | '.$societe->code_compta.' | ';
- print ''.$langs->trans("CustomerCode").' | ';
- print $societe->code_client;
- print " | ";
+ print '| '.$langs->transcountry('ProfId3',$societe->pays_code).' | '.$societe->ape.' | | ';
print " ";
@@ -159,7 +174,6 @@ if ($socid > 0)
*
*/
print " |
\n";
- print '
';
print '';
@@ -277,7 +291,9 @@ else
{
print "Erreur";
}
+
+
$db->close();
-llxFooter("Dernière modification $Date$ révision $Revision$");
+llxFooter('$Date$ - $Revision$');
?>
diff --git a/htdocs/contrat/fiche.php b/htdocs/contrat/fiche.php
index 263a76d1a7e..d6288c5bc8a 100644
--- a/htdocs/contrat/fiche.php
+++ b/htdocs/contrat/fiche.php
@@ -583,8 +583,7 @@ else
print ''.$langs->trans("PriceUHT").' | ';
print ''.$langs->trans("Qty").' | ';
print ''.$langs->trans("Discount").' | ';
- print ' | ';
- print ' | ';
+ print ' | ';
print ''.$langs->trans("Status").' | ';
print "\n";
}
@@ -627,25 +626,23 @@ else
print ' | ';
}
// Icon update et delete (statut contrat 0=brouillon,1=validé,2=fermé)
+ print '';
if ($contrat->statut != 2 && $user->rights->contrat->creer)
{
- print ' | ';
+ print '';
print img_edit();
- print ' | ';
+ print '';
}
else {
- print ' | ';
+ print ' ';
}
if ($contrat->statut == 0 && $user->rights->contrat->creer)
{
- print '';
+ print '';
print img_delete();
- print ' | ';
- }
- else
- {
- print ' | ';
+ print '';
}
+ print '';
// Statut
print '';
@@ -697,7 +694,6 @@ else
print dolibarr_print_date($objp->date_fin_reelle);
}
print ' | ';
- print ' | ';
print '';
}
else
@@ -713,7 +709,7 @@ else
print '';
print ' | ';
print ' | ';
- print '% | ';
+ print '% | ';
print ' | ';
// Ligne dates prévues
print "";