From d95afd0a5b5528398fdbb647e9b85d60bd4b0e9d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 30 Jan 2005 19:27:01 +0000 Subject: [PATCH] =?UTF-8?q?New:=20Ajout=20d'un=20visuel=20sp=E9cifique=20p?= =?UTF-8?q?our=20les=20liens=20"contacts"=20et=20"soci=E9t=E9s".?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/fourn/facture/index.php | 8 +++++--- htdocs/fourn/index.php | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/htdocs/fourn/facture/index.php b/htdocs/fourn/facture/index.php index c2a65a6a201..42cc3367248 100644 --- a/htdocs/fourn/facture/index.php +++ b/htdocs/fourn/facture/index.php @@ -136,7 +136,7 @@ if ($result) $soc->fetch($socid); } - print_barre_liste("Factures fournisseur".($socid?" $soc->nom":""),$page,"index.php","&socidp=$socidp",$sortfield,$sortorder,'',$num); + print_barre_liste($langs->trans("BillsSuppliers").($socid?" $soc->nom":""),$page,"index.php","&socidp=$socidp",$sortfield,$sortorder,'',$num); print ''; print ''; @@ -156,10 +156,12 @@ if ($result) print ""; print "\n"; + print " facid\">$obj->facnumber\n"; print "\n"; print ''; - print "\n"; + print ''; print ''; // Affiche statut de la facture diff --git a/htdocs/fourn/index.php b/htdocs/fourn/index.php index 0f5a48b1f62..5c9877e892d 100644 --- a/htdocs/fourn/index.php +++ b/htdocs/fourn/index.php @@ -102,7 +102,7 @@ if ($result) $num = $db->num_rows(); $i = 0; - print_barre_liste("Liste des fournisseurs", $page, "index.php", "", $sortfield, $sortorder, '', $num); + print_barre_liste($langs->trans("ListOfSuppliers"), $page, "index.php", "", $sortfield, $sortorder, '', $num); print '
facid\">".img_file()."\n"; - print " facid\">$obj->facnumber".strftime("%d %b %Y",$obj->datef)."'.stripslashes("$obj->libelle").'socid\">$obj->nom'; + print ''.img_object($langs->trans("ShowSupplier"),"company").''; + print ' '.$obj->nom.''; print ''.price($obj->total_ht).''.price($obj->total_ttc).'
'; print ''; @@ -128,7 +128,7 @@ if ($result) $var=!$var; print ""; - print '\n"; print "\n"; print "\n";
'.img_file().''; + print ''.img_object($langs->trans("ShowSupplier"),"company").''; print " idp\">$obj->nom".$obj->ville."