X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Finquiry%2Fcustomer_inquiry.php;h=184e7e3b21eb395f20c54ff0f58c88d9413667f6;hb=9481e23e6d03f39f7d9e745f86bd1be5f703b96d;hp=e93f1d4319863dff4ae6beb2029a47da1f51c113;hpb=9549235b87720c573a2f1e2144d5a1bb55e6e8fc;p=fa-stable.git diff --git a/sales/inquiry/customer_inquiry.php b/sales/inquiry/customer_inquiry.php index e93f1d43..184e7e3b 100644 --- a/sales/inquiry/customer_inquiry.php +++ b/sales/inquiry/customer_inquiry.php @@ -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); }