Parse error
[fa-stable.git] / sales / inquiry / customer_inquiry.php
index 08021e261c8e5b81952155e01a3ed2ed3e9f5e73..5315aa2d988cfb02ff7cf3a4c7e59db6ba625af5 100644 (file)
@@ -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')
                {