43 lines
1.0 KiB
PHP
43 lines
1.0 KiB
PHP
<?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;
|
|
?>
|