Add php files
This commit is contained in:
8
modules/EcmStockStates/getParts.php
Executable file
8
modules/EcmStockStates/getParts.php
Executable file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
$ss=new EcmStockState();
|
||||
if ($_GET['product_id'] && $_GET['stock_id']) {
|
||||
$account_id = $_GET['stock_id'];
|
||||
$product_id = $_GET['product_id'];
|
||||
echo $ss->getParts($account_id, $product_id);
|
||||
} else echo 0;
|
||||
?>
|
||||
Reference in New Issue
Block a user