Added Bank Transfer edition.
[fa-stable.git] / purchasing / inquiry / supplier_inquiry.php
index 5f58bd9fd0ad7a24dd73a6af6c8d67dcd9ab196f..4abd00007b17a4b22ca9fe50ef11a671ff392d85 100644 (file)
@@ -163,11 +163,11 @@ function check_overdue($row)
 
 function edit_link($row)
 {
-       return edit_trans_link($row['type'], $row['trans_no']);
+       return trans_editor_link($row['type'], $row['trans_no']);
 }
 //------------------------------------------------------------------------------------------------
 
-$sql = get_sql_for_supplier_inquiry($_POST['filterType'], $_POST['TransAfterDate'], $_POST['TransToDate'], $_POST['supplier_id']);
+$sql = get_sql_for_supplier_inquiry(get_post('filterType'), get_post('TransAfterDate'), get_post('TransToDate'), get_post('supplier_id'));
 
 $cols = array(
                        _("Type") => array('fun'=>'systype_name', 'ord'=>''),