Customer Transactions, Allocations and Supplier Transactions, Allocations has got...
[fa-stable.git] / sales / includes / db / cust_trans_db.inc
index 602c412744c830c41b4819e7502ffb68b943dea6..1492cba98a32cbdc54c2c0ae8707f32dfedbb7d1 100644 (file)
@@ -386,6 +386,10 @@ function get_sql_for_customer_inquiry($from, $to, $cust_id = ALL_TEXT, $filter =
                {
                        $sql .= " AND trans.type = ".ST_CUSTDELIVERY." ";
                }
+               elseif ($filter == '6')
+               {
+                       $sql .= " AND trans.type = ".ST_JOURNAL." ";
+               }
 
        if ($filter == '2')
        {