Customer Transactions, Allocations and Supplier Transactions, Allocations has got...
[fa-stable.git] / sales / includes / db / custalloc_db.inc
index a202d313980beb2d4bb21574b6e2756cdd77dcbc..ea7db7da363fe2fc1f5cd07b4418df3de18cc87d 100644 (file)
@@ -322,6 +322,10 @@ function get_sql_for_customer_allocation_inquiry($from, $to, $customer, $filterT
                {
                        $sql .= " AND trans.type = ".ST_CUSTCREDIT." ";
                }
+               elseif ($filterType == '6')
+               {
+                       $sql .= " AND trans.type = ".ST_JOURNAL." ";
+               }
 
        if ($filterType == '2')
        {