X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fincludes%2Fdb%2Fcustalloc_db.inc;h=ea7db7da363fe2fc1f5cd07b4418df3de18cc87d;hb=ee0dff4cdf462ac0476531181ad61ff7f9db1c6c;hp=a202d313980beb2d4bb21574b6e2756cdd77dcbc;hpb=3951d648b98dbd5fdf9e95b858b765b7d52fe8c0;p=fa-stable.git diff --git a/sales/includes/db/custalloc_db.inc b/sales/includes/db/custalloc_db.inc index a202d313..ea7db7da 100644 --- a/sales/includes/db/custalloc_db.inc +++ b/sales/includes/db/custalloc_db.inc @@ -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') {