Bug 5187: Displaying the list of suppliers in the void part is either wrong or buggy...
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 7 Oct 2020 08:27:45 +0000 (10:27 +0200)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 7 Oct 2020 08:27:45 +0000 (10:27 +0200)
admin/view_print_transaction.php
admin/void_transaction.php

index 0b4de2d25fde1dc98498a595e96ee33c0148a026..856fe05c9d81b4aa0abe2a88b9a87f176f4352a4 100644 (file)
@@ -69,7 +69,7 @@ function viewing_controls()
     start_table(TABLESTYLE_NOBORDER);
        start_row();
 
-       systypes_list_cells(_("Type:"), 'filterType', null, true);
+       systypes_list_cells(_("Type:"), 'filterType', null, true, array(ST_CUSTOMER, ST_SUPPLIER));
 
        if (!isset($_POST['FromTransNo']))
                $_POST['FromTransNo'] = "1";
index 68413f9aa3ea54fad6ca76a23c2bc3e2071224dd..e252661e5caa7a54117084e036ed907043c401ad 100644 (file)
@@ -152,7 +152,7 @@ function voiding_controls()
 {
        global $selected_id;
 
-       $not_implemented =  array(ST_PURCHORDER, ST_SALESORDER, ST_SALESQUOTE, ST_COSTUPDATE);
+       $not_implemented =  array(ST_PURCHORDER, ST_SALESORDER, ST_SALESQUOTE, ST_COSTUPDATE, ST_CUSTOMER, ST_SUPPLIER);
 
        start_form();