Cleanup: removed _GET/_POST references from business logic model.
[fa-stable.git] / purchasing / inquiry / supplier_allocation_inquiry.php
index 6e4bcf88419e7a019b2463e98eb749c29a65c377..eea7418d7f45ef52a4bfbcf1b1135bfcf2acbbd2 100644 (file)
@@ -120,7 +120,8 @@ function fmt_credit($row)
 }
 //------------------------------------------------------------------------------------------------
 
-$sql = get_sql_for_supplier_allocation_inquiry();
+$sql = get_sql_for_supplier_allocation_inquiry($_POST['TransAfterDate'],$_POST['TransToDate'],
+       $_POST['filterType'], $_POST['supplier_id'], check_value('showSettled'));
 
 $cols = array(
        _("Type") => array('fun'=>'systype_name'),