init
This commit is contained in:
10
modules/EcmPriceBooks/SaveOrder.php
Executable file
10
modules/EcmPriceBooks/SaveOrder.php
Executable file
@@ -0,0 +1,10 @@
|
||||
<?
|
||||
for($i=0;$i<=$_REQUEST['num'];$i++)
|
||||
{
|
||||
if($_REQUEST['c'.$i])$v[]=$_REQUEST['c'.$i];
|
||||
}
|
||||
$value=implode(",",$v);
|
||||
$_SESSION['columns_order']=$value;
|
||||
$_SESSION['pricebook_order']=str_replace(","," asc,",$value)." asc";
|
||||
header("Location: index.php?module=EcmPriceBooks&action=DetailView&record=".$_REQUEST['record']."&tab=items");
|
||||
?>
|
||||
Reference in New Issue
Block a user