Customer Transactions, Allocations and Supplier Transactions, Allocations has got...
[fa-stable.git] / purchasing / includes / db / supp_trans_db.inc
index aa9490afc707e048723376ab87c05c1704a1fff1..2d3a46ddb4e01859ae1dbfbc12d9d1572d9df24b 100644 (file)
@@ -288,6 +288,10 @@ function get_sql_for_supplier_inquiry($filter, $after_date, $to_date, $supplier_
                {
                        $sql .= " AND trans.type = ".ST_SUPPCREDIT."  ";
                }
+               elseif (($filter == '7')) 
+               {
+                       $sql .= " AND trans.type = ".ST_JOURNAL."  ";
+               }
 
                if (($filter == '2') || ($filter == '5')) 
                {