Doc: Corrections commentaires pour doc doxygen
This commit is contained in:
parent
36554d72ce
commit
678a8a5b1e
@ -21,9 +21,13 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/*! \file htdocs/product/stats/index.php
|
||||
\brief Page accueil statistiques produits
|
||||
\version $Revision$
|
||||
*/
|
||||
|
||||
require("./pre.inc.php");
|
||||
require("../../propal.class.php");
|
||||
//require("../../graph.class.php");
|
||||
|
||||
llxHeader();
|
||||
|
||||
@ -95,38 +99,41 @@ print '</table>';
|
||||
|
||||
|
||||
// Stats des produits en factures, propale, ...
|
||||
#print '<br>';
|
||||
#print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">';
|
||||
#print "<tr class=\"liste_titre\">";
|
||||
#print "<td>Produit/Service</td>";
|
||||
#print "<td>Qté en facture</td>";
|
||||
#print "<td>Qté en propale</td>";
|
||||
#print "</tr>\n";
|
||||
#$sql = "SELECT p.label, sum(f.qty) as sumf, sum(pr.qty) as sumpr FROM ".MAIN_DB_PREFIX."product as p";
|
||||
#$sql.=" left join ".MAIN_DB_PREFIX."facturedet as f on p.rowid = f.fk_product";
|
||||
#$sql.=" left join ".MAIN_DB_PREFIX."propaldet as pr on p.rowid = pr.fk_product";
|
||||
#$sql.=" group by p.label";
|
||||
#if ($db->query($sql))
|
||||
#{
|
||||
# $num = $db->num_rows();
|
||||
# $i = 0;
|
||||
# while ($i < $num)
|
||||
# {
|
||||
# $obj = $db->fetch_object( $i);
|
||||
# print "<tr ".$bc[$var].">";
|
||||
# print "<td>".$obj->label."</td>";
|
||||
# print "<td>".$obj->sumf."</td>";
|
||||
# print "<td>".$obj->sumpr."</td>";
|
||||
# print '</tr>';
|
||||
# $i++;
|
||||
# }
|
||||
#}
|
||||
#else {
|
||||
# print $db->error()." $sql";
|
||||
#}
|
||||
#print "</table>\n";
|
||||
#$db->free();
|
||||
/*
|
||||
print '<br>';
|
||||
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print "<tr class=\"liste_titre\">";
|
||||
print "<td>Produit/Service</td>";
|
||||
print "<td>Qté en facture</td>";
|
||||
print "<td>Qté en propale</td>";
|
||||
print "</tr>\n";
|
||||
$sql = "SELECT p.label, sum(f.qty) as sumf, sum(pr.qty) as sumpr FROM ".MAIN_DB_PREFIX."product as p";
|
||||
$sql.=" left join ".MAIN_DB_PREFIX."facturedet as f on p.rowid = f.fk_product";
|
||||
$sql.=" left join ".MAIN_DB_PREFIX."propaldet as pr on p.rowid = pr.fk_product";
|
||||
$sql.=" group by p.label";
|
||||
if ($db->query($sql))
|
||||
{
|
||||
$num = $db->num_rows();
|
||||
$i = 0;
|
||||
while ($i < $num)
|
||||
{
|
||||
$obj = $db->fetch_object( $i);
|
||||
print "<tr ".$bc[$var].">";
|
||||
print "<td>".$obj->label."</td>";
|
||||
print "<td>".$obj->sumf."</td>";
|
||||
print "<td>".$obj->sumpr."</td>";
|
||||
print '</tr>';
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
else {
|
||||
print $db->error()." $sql";
|
||||
}
|
||||
print "</table>\n";
|
||||
$db->free();
|
||||
*/
|
||||
|
||||
|
||||
$db->close();
|
||||
|
||||
llxFooter("<em>Dernière modification $Date$ révision $Revision$</em>");
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
<?PHP
|
||||
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2003 Xavier Dutoit <doli@sydesy.com>
|
||||
* Copyright (C) 2003 Xavier Dutoit <doli@sydesy.com>
|
||||
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* 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,10 +22,10 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* Pour se déconnecter
|
||||
* @package User
|
||||
/*! \file htdocs/user/logout.php
|
||||
\brief Fichier de deconnexion
|
||||
*/
|
||||
|
||||
if (!empty ($_SERVER["REMOTE_USER"]))
|
||||
die("La déconnection ne fonctionne actuellement que pour l'authentification par pear");
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user