Ajout flèches d'ordonnancement des produits sur les commandes et les propales
This commit is contained in:
parent
298b1e5505
commit
8df6eee510
@ -302,13 +302,13 @@ if ($_GET['action'] == 'modif' && $user->rights->commande->creer)
|
|||||||
|
|
||||||
if ($_GET['action'] == 'up' && $user->rights->commande->creer)
|
if ($_GET['action'] == 'up' && $user->rights->commande->creer)
|
||||||
{
|
{
|
||||||
$commande = new Commande($db);
|
$commande = new Commande($db,'',$_GET['id']);
|
||||||
$commande->line_up($_GET['rowid']);
|
$commande->line_up($_GET['rowid']);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($_GET['action'] == 'down' && $user->rights->commande->creer)
|
if ($_GET['action'] == 'down' && $user->rights->commande->creer)
|
||||||
{
|
{
|
||||||
$commande = new Commande($db);
|
$commande = new Commande($db,'',$_GET['id']);
|
||||||
$commande->line_down($_GET['rowid']);
|
$commande->line_down($_GET['rowid']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user