}
//------------------------------------------------------------------------------------------------
-$sql = get_sql_for_supplier_allocation_inquiry($_POST['TransAfterDate'],$_POST['TransToDate'],
- $_POST['filterType'], $_POST['supplier_id'], check_value('showSettled'));
+$sql = get_sql_for_supplier_allocation_inquiry(get_post('TransAfterDate'),get_post('TransToDate'),
+ get_post('filterType'), get_post('supplier_id'), check_value('showSettled'));
$cols = array(
_("Type") => array('fun'=>'systype_name'),