|
@@ -3,6 +3,7 @@
|
|
|
* Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net>
|
|
|
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@inodbox.com>
|
|
|
* Copyright (C) 2019 Nicolas ZABOURI <info@inovea-conseil.com>
|
|
|
+ * Copyright (C) 2019 Frédéric France <frederic.france@netlogic.fr>
|
|
|
*
|
|
|
* 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
|
|
@@ -74,11 +75,12 @@ if (! empty($conf->global->MAIN_SEARCH_FORM_ON_HOME_AREAS)) // This is usele
|
|
|
$var=false;
|
|
|
print '<form method="post" action="'.DOL_URL_ROOT.'/commande/list.php">';
|
|
|
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
|
|
+ print '<div class="div-table-responsive-no-min">';
|
|
|
print '<table class="noborder nohover centpercent">';
|
|
|
print '<tr class="liste_titre"><td colspan="3">'.$langs->trans("Search").'</td></tr>';
|
|
|
print '<tr class="oddeven"><td>';
|
|
|
print $langs->trans("CustomerOrder").':</td><td><input type="text" class="flat" name="sall" size=18></td><td><input type="submit" value="'.$langs->trans("Search").'" class="button"></td></tr>';
|
|
|
- print "</table></form><br>\n";
|
|
|
+ print "</table></div></form><br>\n";
|
|
|
}
|
|
|
|
|
|
|
|
@@ -123,6 +125,7 @@ if ($resql)
|
|
|
$i++;
|
|
|
}
|
|
|
$db->free($resql);
|
|
|
+ print '<div class="div-table-responsive-no-min">';
|
|
|
print '<table class="noborder nohover centpercent">';
|
|
|
print '<tr class="liste_titre"><th colspan="2">'.$langs->trans("Statistics").' - '.$langs->trans("CustomersOrders").'</th></tr>'."\n";
|
|
|
$listofstatus=array(0,1,2,3,-1);
|
|
@@ -161,7 +164,7 @@ if ($resql)
|
|
|
}
|
|
|
//if ($totalinprocess != $total)
|
|
|
print '<tr class="liste_total"><td>'.$langs->trans("Total").'</td><td class="right">'.$total.'</td></tr>';
|
|
|
- print "</table><br>";
|
|
|
+ print "</table></div><br>";
|
|
|
}
|
|
|
else
|
|
|
{
|
|
@@ -190,6 +193,7 @@ if (! empty($conf->commande->enabled))
|
|
|
$resql=$db->query($sql);
|
|
|
if ($resql)
|
|
|
{
|
|
|
+ print '<div class="div-table-responsive-no-min">';
|
|
|
print '<table class="noborder centpercent">';
|
|
|
print '<tr class="liste_titre">';
|
|
|
print '<th colspan="2">'.$langs->trans("DraftOrders").'</th></tr>';
|
|
@@ -226,7 +230,7 @@ if (! empty($conf->commande->enabled))
|
|
|
{
|
|
|
print '<tr class="oddeven"><td colspan="3">'.$langs->trans("NoOrder").'</td></tr>';
|
|
|
}
|
|
|
- print "</table><br>";
|
|
|
+ print "</table></div><br>";
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -259,6 +263,7 @@ $sql.= $db->plimit($max, 0);
|
|
|
$resql=$db->query($sql);
|
|
|
if ($resql)
|
|
|
{
|
|
|
+ print '<div class="div-table-responsive-no-min">';
|
|
|
print '<table class="noborder centpercent">';
|
|
|
print '<tr class="liste_titre">';
|
|
|
print '<th colspan="4">'.$langs->trans("LastModifiedOrders", $max).'</th></tr>';
|
|
@@ -311,7 +316,7 @@ if ($resql)
|
|
|
$i++;
|
|
|
}
|
|
|
}
|
|
|
- print "</table><br>";
|
|
|
+ print "</table></div><br>";
|
|
|
}
|
|
|
else dol_print_error($db);
|
|
|
|
|
@@ -339,7 +344,7 @@ if (! empty($conf->commande->enabled))
|
|
|
if ($resql)
|
|
|
{
|
|
|
$num = $db->num_rows($resql);
|
|
|
-
|
|
|
+ print '<div class="div-table-responsive-no-min">';
|
|
|
print '<table class="noborder centpercent">';
|
|
|
print '<tr class="liste_titre">';
|
|
|
print '<th colspan="3">'.$langs->trans("OrdersToProcess").' <a href="'.DOL_URL_ROOT.'/commande/list.php?viewstatut=1"><span class="badge">'.$num.'</span></a></th></tr>';
|
|
@@ -392,7 +397,7 @@ if (! empty($conf->commande->enabled))
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- print "</table><br>";
|
|
|
+ print "</table></div><br>";
|
|
|
}
|
|
|
else dol_print_error($db);
|
|
|
}
|
|
@@ -421,6 +426,7 @@ if (! empty($conf->commande->enabled))
|
|
|
{
|
|
|
$num = $db->num_rows($resql);
|
|
|
|
|
|
+ print '<div class="div-table-responsive-no-min">';
|
|
|
print '<table class="noborder centpercent">';
|
|
|
print '<tr class="liste_titre">';
|
|
|
print '<th colspan="3">'.$langs->trans("OnProcessOrders").' <a href="'.DOL_URL_ROOT.'/commande/list.php?viewstatut=2"><span class="badge">'.$num.'</span></a></th></tr>';
|
|
@@ -472,7 +478,7 @@ if (! empty($conf->commande->enabled))
|
|
|
$i++;
|
|
|
}
|
|
|
}
|
|
|
- print "</table><br>";
|
|
|
+ print "</table></div><br>";
|
|
|
}
|
|
|
else dol_print_error($db);
|
|
|
}
|