diff --git a/htdocs/product/stats/facture.php b/htdocs/product/stats/facture.php index 4bb874dcccf..18f8c2b769f 100644 --- a/htdocs/product/stats/facture.php +++ b/htdocs/product/stats/facture.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004 Laurent Destailleur + * Copyright (C) 2004-2005 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,6 +21,13 @@ * */ +/** \file htdocs/product/stats/facture.php + \ingroup product, service + \brief Page des stats des factures pour un produit + \version $Revision$ +*/ + + require("./pre.inc.php"); require_once("../../facture.class.php"); @@ -58,7 +65,7 @@ if ($_GET["id"]) if ( $result ) { - print_fiche_titre('Fiche produit : '.$product->ref, $mesg); + print_fiche_titre($langs->trans("Product").': '.$product->ref, $mesg); print ''; print ''; diff --git a/htdocs/product/stats/propal.php b/htdocs/product/stats/propal.php index 8d485cb1a81..779a51f3f3b 100644 --- a/htdocs/product/stats/propal.php +++ b/htdocs/product/stats/propal.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004 Laurent Destailleur +/* Copyright (C) 2004 Rodolphe Quiedeville + * Copyright (C) 2004-2005 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,6 +21,13 @@ * */ +/** \file htdocs/product/stats/propal.php + \ingroup product, service + \brief Page des stats des propals pour un produit + \version $Revision$ +*/ + + require("./pre.inc.php"); if ($user->societe_id > 0) @@ -45,7 +52,7 @@ if ($_GET["id"]) if ( $result ) { - print_fiche_titre('Fiche produit : '.$product->ref, $mesg); + print_fiche_titre($langs->trans("Product").': '.$product->ref, $mesg); print '
'.$langs->trans("Ref").''.$product->ref.'
'; print ''; @@ -89,7 +96,7 @@ if ($_GET["id"]) } print "
"; - print_barre_liste("Propositions commerciales",$page,"propal.php","&id=$product->id",$sortfield,$sortorder); + print_barre_liste($langs->trans("Proposals"),$page,"propal.php","&id=$product->id",$sortfield,$sortorder); $sql = "SELECT distinct(p.rowid), s.nom,s.idp, p.ref,".$db->pdate("p.datep")." as df,p.rowid as facid"; $sql .= " FROM ".MAIN_DB_PREFIX."societe as s,".MAIN_DB_PREFIX."propal as p, ".MAIN_DB_PREFIX."propaldet as d WHERE p.fk_soc = s.idp"; @@ -126,11 +133,10 @@ if ($_GET["id"]) print ""; print '\n"; - print ''; + print ''; print ""; print "\n";
'.$langs->trans("Ref").''.$product->ref.'
'; - print img_file(); - print ' '; + print img_object($langs->trans("ShowPropal"),"propal").' '; print $objp->ref; print "'.$objp->nom.''.img_object($langs->trans("ShowCompany"),"company").' '.$objp->nom.'"; print strftime("%d %B %Y",$objp->df)."