Add total in statistics
This commit is contained in:
parent
534e9e2364
commit
bbbb8b983d
@ -19,10 +19,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/product/index.php
|
* \file htdocs/product/index.php
|
||||||
\ingroup product
|
* \ingroup product
|
||||||
\brief Page accueil des produits et services
|
* \brief Page accueil des produits et services
|
||||||
\version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
@ -114,7 +114,9 @@ else
|
|||||||
{
|
{
|
||||||
print $statProducts.$statServices;
|
print $statProducts.$statServices;
|
||||||
}
|
}
|
||||||
|
print '<tr class="liste_total"><td>'.$langs->trans("Total").'</td><td align="right">';
|
||||||
|
print round($prodser[1][0])+round($prodser[1][1])+round($prodser[0][0])+round($prodser[0][1]);
|
||||||
|
print '</td></tr>';
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|
||||||
print '</td><td valign="top" width="70%" class="notopnoleftnoright">';
|
print '</td><td valign="top" width="70%" class="notopnoleftnoright">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user