/var/www/enzatesting.onesolution.hk/ajax_ord_option.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php  //order item selection
$formid=$_REQUEST['formid'];
require_once 
"inc/configure.php";

$custcode $_REQUEST['custcode'];
$categy setDefaultReqVar("categy""product");

if(
$categy==""){
    exit;
}elseif(
$categy=="product"){
    if(empty(
$custcode)){
        print
'<option value="">MISSING CUSTOMER CODE</option>';
        exit;
    }
?>
    <option value=""></option><?=inv_product_option($custcode""true"CQA")?>
<?php 
} else {
    
//$table = inv_getBomcategyTablename($categy);    
?>
    <option value=""></option><?=inv_rm_option($categy""true)?>
<?php     
}



?>