X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Finquiry%2Fcustomer_inquiry.php;h=5315aa2d988cfb02ff7cf3a4c7e59db6ba625af5;hb=f48dce88b74eb81e3398d9f36eee19394c4f023c;hp=08021e261c8e5b81952155e01a3ed2ed3e9f5e73;hpb=f0f460043b9bcb6153c0f6f82d4a74433efe4ad8;p=fa-stable.git diff --git a/sales/inquiry/customer_inquiry.php b/sales/inquiry/customer_inquiry.php index 08021e26..5315aa2d 100644 --- a/sales/inquiry/customer_inquiry.php +++ b/sales/inquiry/customer_inquiry.php @@ -237,7 +237,7 @@ function check_overdue($row) { if ($_POST['filterType'] == '1') { - $sql .= " AND (trans.type = ".ST_SALESINVOICE." OR trans.type = ST_BANKPAYMENT) "; + $sql .= " AND (trans.type = ".ST_SALESINVOICE." OR trans.type = ".ST_BANKPAYMENT.") "; } elseif ($_POST['filterType'] == '2') {