Bug 5510: fix of bug 0004530 is not correct. Has now been fixed and rerun.
[fa-stable.git] / sales / inquiry / customer_inquiry.php
index 2183dd1b2ae4b15c91d5d2ddd6ab38ddb7117b85..989e6ddd61467bbea0b0814fa932cedf384e9e43 100644 (file)
@@ -59,7 +59,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_CUSTCREDIT || $row['type']==ST_CUSTPAYMENT || $row['type']==ST_BANKDEPOSIT || $row['type']==ST_JOURNAL ?
                -$row["TotalAmount"] : $row["TotalAmount"];
     return price_format($value);
 }