X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fincludes%2Fdb%2Fsuppalloc_db.inc;h=228f7b1c4a72335b4dfc9604c5c625fe613cf8ba;hb=ee0dff4cdf462ac0476531181ad61ff7f9db1c6c;hp=cf996d602d0e72db63625d953053293cf3c60c11;hpb=aec1717f263bf767543afa6bd0cb960ce53e0a0d;p=fa-stable.git diff --git a/purchasing/includes/db/suppalloc_db.inc b/purchasing/includes/db/suppalloc_db.inc index cf996d60..228f7b1c 100644 --- a/purchasing/includes/db/suppalloc_db.inc +++ b/purchasing/includes/db/suppalloc_db.inc @@ -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 {