1. Import
This commit is contained in:
43
html/stock/ajaxReqStock.php
Normal file
43
html/stock/ajaxReqStock.php
Normal file
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
include_once ("../include/global.inc.php");
|
||||
include_once ("../include/inc_stock.inc.php");
|
||||
include_once ("../include/inc_article.inc.php");
|
||||
|
||||
|
||||
// Check HTTP-Parameters
|
||||
// Stocks
|
||||
getSecHttpVars("1",array("f_act", "customerId", "cscIdRoot", "cscIdCurrent", "statusMessage", "deactivateMenu",
|
||||
"mode", "scanCode", "stkIdRoot", "atId"));
|
||||
|
||||
if ($mode != "") :
|
||||
header("Content-Type: text/html; charset=ISO-8859-1\n");
|
||||
endif;
|
||||
|
||||
// echo "alert('" . $mode . " ' + '" . $atId . " ');";
|
||||
|
||||
if ($mode == "0") :
|
||||
// Check article is a bundled article
|
||||
|
||||
if ($atId != "" && is_numeric($atId)) :
|
||||
$isBundledArticle = isBundledArticle($atId);
|
||||
|
||||
if ($isBundledArticle) :
|
||||
echo "isBundledArticle = '1';";
|
||||
else :
|
||||
echo "isBundledArticle = '0';";
|
||||
endif;
|
||||
else :
|
||||
echo "isBundledArticle = '0';";
|
||||
endif;
|
||||
|
||||
elseif ($mode == "1") :
|
||||
//
|
||||
|
||||
elseif ($mode == "2") :
|
||||
//
|
||||
|
||||
elseif ($mode == "3") :
|
||||
//
|
||||
|
||||
endif;
|
||||
?>
|
||||
Reference in New Issue
Block a user