From 4d88e5cf11f4bdd5f55ab705a57ebdb460a130bb Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sat, 25 Oct 2003 09:50:26 +0000 Subject: [PATCH] Mise aux normes --- htdocs/product/stats/fiche.php | 13 ++++++------- htdocs/product/stats/pre.inc.php | 6 +++--- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/htdocs/product/stats/fiche.php b/htdocs/product/stats/fiche.php index 803ed291051..d66f1582a92 100644 --- a/htdocs/product/stats/fiche.php +++ b/htdocs/product/stats/fiche.php @@ -65,20 +65,19 @@ if ($id) print_fiche_titre('Fiche produit : '.$product->ref, $mesg); - print ''; - print ""; + print '
'; print ''; print ''; - print ""; + print ""; print ''; - print ''; + print ''; print "
Référence'.$product->ref.'Statistiques
Libellé$product->libelle
Libellé$product->libelle'; print "Propositions commerciales : ".$product->count_propale(); print "
Proposé à ".$product->count_propale_client()." clients"; print '
Factures : '.$product->count_facture(); print '
Prix'.price($product->price).'
Prix'.price($product->price).'
"; - print '
'; + print '
'; print ''; print ''; print ''; print ''; - print ''; + print ''; print ''; - print ''; + print ''; print '
Nombre de ventes
sur les 12 derniers mois
Nombre de pièces vendues
'; @@ -90,9 +89,9 @@ if ($id) print '
Généré le '.strftime("%d %b %Y %H:%M:%S",filemtime($filev)).'[Re-calculer][Re-calculer]Généré le '.strftime("%d %b %Y %H:%M:%S",filemtime($filev)).'[Re-calculer][Re-calculer]
'; } diff --git a/htdocs/product/stats/pre.inc.php b/htdocs/product/stats/pre.inc.php index 90f6cdffe88..3eb4d2b5ef4 100644 --- a/htdocs/product/stats/pre.inc.php +++ b/htdocs/product/stats/pre.inc.php @@ -38,11 +38,11 @@ function llxHeader($head = "", $urlp = "") $menu->add(DOL_URL_ROOT."/product/index.php?type=0", "Produits"); $menu->add_submenu("../liste.php?type=0","Liste"); - $menu->add_submenu("../fiche.php?&action=create&type=0","Nouveau produit"); + $menu->add_submenu("../fiche.php?action=create&type=0","Nouveau produit"); - $menu->add(DOL_URL_ROOT."/product/index.php?type=1", "Services"); + $menu->add(DOL_URL_ROOT."/product/index.php?amp;type=1", "Services"); $menu->add_submenu("../liste.php?type=1","Liste"); - $menu->add_submenu("../fiche.php?&action=create&type=1","Nouveau service"); + $menu->add_submenu("../fiche.php?action=create&type=1","Nouveau service"); $menu->add("./", "Statistiques");