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


1
2
3
4
5
6
7
8
9
10
11
12
13
<?php  //product selection
$formid=$_REQUEST['formid'];
require_once 
"inc/configure.php";

$vendor=$_REQUEST['vendor'];
$custcode=$_REQUEST['custcode'];

if(empty(
$vendor)){
    print
'<option value="">'.MISSING.WS.VENDOR.'</option>';
    exit;
}
?>
<option value=""></option><?=customer_option($custcodetrue" WHERE custvendor='$vendor' ")?>