Eliminated non-static method calls and other bulk fixes to fix php5 warnings
[fa-stable.git] / admin / view_print_transaction.php
index 93ae00cd3ec97136e570cdbcb921c25f1ae58789..aca82ee8df6fe60ed8d731f4198fcff865384412 100644 (file)
@@ -119,8 +119,8 @@ function handle_search()
 
 
                $print_type = $_POST['filterType'];
-               $print_out = ($print_type == 10 || $print_type == 11 || $print_type == systypes::cust_dispatch() ||
-                       $print_type == systypes::po() || $print_type == systypes::sales_order() || $print_type == systypes::sales_quotation());
+               $print_out = ($print_type == 10 || $print_type == 11 || $print_type == ST_CUSTDELIVERY ||
+                       $print_type == ST_PURCHORDER || $print_type == ST_SALESORDER || $print_type == ST_SALESQUOTE);
 
                $cols = array(
                        _("#"),