From 554df266804b0a9bfff323dc3eeb73b5b7e66fb9 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 25 Jun 2005 15:52:01 +0000 Subject: [PATCH] =?UTF-8?q?Place=20le=20lien=20"Recap=20historique"=20sous?= =?UTF-8?q?=20r=E9sum=E9=20compta?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/fiche.php | 20 +++++++++++++------- htdocs/compta/recap-client.php | 20 +++++++++++++------- htdocs/langs/en_US/main.lang | 3 ++- htdocs/langs/fr_FR/main.lang | 3 ++- 4 files changed, 30 insertions(+), 16 deletions(-) diff --git a/htdocs/compta/fiche.php b/htdocs/compta/fiche.php index 40421f98663..43c8316c335 100644 --- a/htdocs/compta/fiche.php +++ b/htdocs/compta/fiche.php @@ -187,11 +187,6 @@ if ($socid > 0) $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.'/compta/recap-client.php?socid='.$societe->id; - $head[$h][1] = $langs->trans("Recap"); - $h++; - } $head[$h][0] = DOL_URL_ROOT.'/socnote.php?socid='.$societe->id; @@ -215,6 +210,7 @@ if ($socid > 0) $head[$h][1] = 'Bookmark'; $head[$h][2] = 'image'; } + dolibarr_fiche_head($head, $hselected, $societe->nom); /* @@ -244,7 +240,7 @@ if ($socid > 0) print ""; - print ''.$langs->trans("AccountancyCode").''.$societe->code_compta.''; + print ''.$langs->trans("AccountancyCode").''.$societe->code_compta.''; print ''.$langs->trans("CustomerCode").'/' . $langs->trans("SupplierCode") . ''; print $societe->code_client; print ""; @@ -358,6 +354,14 @@ if ($socid > 0) print ""; } + // Lien recap + print '
'; + print ''; + print ''; + print ''; + print ''; + print '
'.$langs->trans("Summary").''.$langs->trans("ShowLog").'
'; + print ""; print "\n"; @@ -382,6 +386,8 @@ if ($socid > 0) } } + print "".$langs->trans("AddContact").""; + print ''; print "
\n"; @@ -416,7 +422,7 @@ if ($socid > 0) print ''.$langs->trans("Firstname").' '.$langs->trans("Lastname").''; print ''.$langs->trans("Poste").''.$langs->trans("Tel").''; print ''.$langs->trans("Fax").''.$langs->trans("EMail").''; - print "".$langs->trans("AddContact").""; + print " "; print ' '; print ""; diff --git a/htdocs/compta/recap-client.php b/htdocs/compta/recap-client.php index a8b7fcf5a94..d4dcd56256e 100644 --- a/htdocs/compta/recap-client.php +++ b/htdocs/compta/recap-client.php @@ -48,6 +48,7 @@ $user->getrights('facture'); llxHeader(); + /* * * Mode fiche @@ -58,6 +59,9 @@ if ($socid > 0) $societe = new Societe($db); $societe->fetch($socid, $to); // si $to='next' ajouter " AND s.idp > $socid ORDER BY idp ASC LIMIT 1"; + /* + * Affichage onglets + */ /* * Affichage onglets */ @@ -86,17 +90,12 @@ if ($socid > 0) $h++; } - if ($conf->compta->enabled) - { + if ($conf->compta->enabled) { $langs->load("compta"); + $hselected=$h; $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.'/compta/recap-client.php?socid='.$societe->id; - $head[$h][1] = $langs->trans("Recap"); - $hselected=$h; - $h++; } $head[$h][0] = DOL_URL_ROOT.'/socnote.php?socid='.$societe->id; @@ -110,12 +109,17 @@ if ($socid > 0) $h++; } + $head[$h][0] = DOL_URL_ROOT.'/societe/notify/fiche.php?socid='.$societe->id; + $head[$h][1] = $langs->trans("Notifications"); + $h++; + if ($user->societe_id == 0) { $head[$h][0] = DOL_URL_ROOT."/index.php?socidp=$societe->id&action=add_bookmark"; $head[$h][1] = 'Bookmark'; $head[$h][2] = 'image'; } + dolibarr_fiche_head($head, $hselected, $societe->nom); /* @@ -131,6 +135,8 @@ if ($socid > 0) print ''.$langs->trans('Zip').''.$societe->cp.''; print ''.$langs->trans('Town').''.$societe->ville.''; + print ''.$langs->trans('Country').''.$soc->pays.''; + print ''.$langs->trans("Phone").''.$societe->tel.' Fax'.$societe->fax.' '; print ''.$langs->transcountry("ProfId1",$societe->pays_code).''.$societe->siren.' '; diff --git a/htdocs/langs/en_US/main.lang b/htdocs/langs/en_US/main.lang index 9bfb6e74e64..3920d778f9f 100644 --- a/htdocs/langs/en_US/main.lang +++ b/htdocs/langs/en_US/main.lang @@ -229,4 +229,5 @@ ReportDescription=Description Report=Report Keyword=Mot clé Legend=Legend -FillTownFromZip=Fill town from zip \ No newline at end of file +FillTownFromZip=Fill town from zip +ShowLog=Show log \ No newline at end of file diff --git a/htdocs/langs/fr_FR/main.lang b/htdocs/langs/fr_FR/main.lang index 5450ddd6926..61b703ffa4e 100644 --- a/htdocs/langs/fr_FR/main.lang +++ b/htdocs/langs/fr_FR/main.lang @@ -229,4 +229,5 @@ ReportDescription=Description Report=Rapport Keyword=Mot clé Legend=Légende -FillTownFromZip=Renseigner ville \ No newline at end of file +FillTownFromZip=Renseigner ville +ShowLog=Afficher historique \ No newline at end of file