This commit is contained in:
parent
30659d34be
commit
be5826057e
@ -22,7 +22,7 @@
|
|||||||
\ingroup commande
|
\ingroup commande
|
||||||
\brief Page acceuil espace commandes
|
\brief Page acceuil espace commandes
|
||||||
\version $Id$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/html.formfile.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/html.formfile.class.php");
|
||||||
@ -180,11 +180,12 @@ $sql .= " ORDER BY c.rowid DESC";
|
|||||||
|
|
||||||
if ( $db->query($sql) )
|
if ( $db->query($sql) )
|
||||||
{
|
{
|
||||||
|
$num = $db->num_rows();
|
||||||
|
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<td colspan="3">'.$langs->trans("OnProcessOrders").' ('.$num.')</td></tr>';
|
print '<td colspan="3">'.$langs->trans("OnProcessOrders").' ('.$num.')</td></tr>';
|
||||||
|
|
||||||
$num = $db->num_rows();
|
|
||||||
if ($num)
|
if ($num)
|
||||||
{
|
{
|
||||||
$i = 0;
|
$i = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user