Merged changes from mai trunk up to 2.3.1
[fa-stable.git] / admin / void_transaction.php
index 6066d3ed338a570cf5761cddc0a98035814ead3e..951a7f87e03bda13c31a341ce4d6460590084de9 100644 (file)
@@ -139,12 +139,16 @@ function ref_view($row)
 function voiding_controls()
 {
        global $selected_id;
+
+       $not_implemented =  array(ST_PURCHORDER, ST_SUPPRECEIVE, ST_SALESORDER, 
+               ST_SALESQUOTE, ST_COSTUPDATE);
+
        start_form();
 
     start_table(TABLESTYLE_NOBORDER);
        start_row();
 
-       systypes_list_cells(_("Transaction Type:"), 'filterType', null, true);
+       systypes_list_cells(_("Transaction Type:"), 'filterType', null, true, $not_implemented);
        if (list_updated('filterType'))
                $selected_id = -1;