Customer Transactions, Allocations and Supplier Transactions, Allocations has got...
[fa-stable.git] / purchasing / includes / db / suppalloc_db.inc
index cf996d602d0e72db63625d953053293cf3c60c11..228f7b1c4a72335b4dfc9604c5c625fe613cf8ba 100644 (file)
@@ -302,6 +302,10 @@ function get_sql_for_supplier_allocation_inquiry()
                {
                        $sql .= " AND trans.type = ".ST_SUPPCREDIT." ";
                }
+               elseif ($_POST['filterType'] == '6')    // Journal
+               {
+                       $sql .= " AND trans.type = ".ST_JOURNAL." ";
+               }
 
                if (($_POST['filterType'] == '2') || ($_POST['filterType'] == '5')) // overdude 
                {