popurop -> popuprop
This commit is contained in:
parent
a87a303d72
commit
4e88c55e76
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>
|
||||
*
|
||||
* 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
|
||||
@ -38,14 +39,14 @@ $offset = $limit * $page ;
|
||||
|
||||
llxHeader();
|
||||
|
||||
print_barre_liste("Liste des produits par popularité dans les propositions commerciales", $page, "popurop.php");
|
||||
print_barre_liste("Liste des produits par popularité dans les propositions commerciales", $page, "popuprop.php");
|
||||
|
||||
print '<table class="noborder" width="100%">';
|
||||
|
||||
print "<tr class=\"liste_titre\">";
|
||||
print_liste_field_titre($langs->trans("Ref"),"popurop.php", "p.ref");
|
||||
print_liste_field_titre($langs->trans("Label"),"popurop.php", "p.label");
|
||||
print_liste_field_titre("Nb. de proposition","popurop.php", "c","","",'align=\"center\"');
|
||||
print_liste_field_titre($langs->trans("Ref"),"popuprop.php", "p.ref");
|
||||
print_liste_field_titre($langs->trans("Label"),"popuprop.php", "p.label");
|
||||
print_liste_field_titre("Nb. de proposition","popuprop.php", "c","","",'align=\"center\"');
|
||||
print "</tr>\n";
|
||||
|
||||
$sql = "select p.rowid, p.label, p.ref, count(*) as c from ".MAIN_DB_PREFIX."propaldet as pd, ".MAIN_DB_PREFIX."product as p where p.rowid = pd.fk_product group by (p.rowid)";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user