A bug in Customer Allocations fixed.
[fa-stable.git] / sales / inquiry / customer_inquiry.php
index e93f1d4319863dff4ae6beb2029a47da1f51c113..184e7e3b21eb395f20c54ff0f58c88d9413667f6 100644 (file)
@@ -138,7 +138,7 @@ function gl_view($row)
 function fmt_amount($row)
 {
        $value =
-           $row['type']==ST_CUSTCREDIT || $row['type']==ST_CUSTPAYMENT || $row['type']==ST_BANKDEPOSIT || $row['type']==ST_JOURNAL ?
+           $row['type']==ST_CUSTCREDIT || $row['type']==ST_CUSTPAYMENT || $row['type']==ST_BANKDEPOSIT ?
                -$row["TotalAmount"] : $row["TotalAmount"];
     return price_format($value);
 }