projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15637f6
)
Rerun bug 5512: Customer Allocation Inquiry - No alloc-icon for DEBET-Accounts-receiv...
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Mon, 1 Nov 2021 23:57:35 +0000
(
00:57
+0100)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Mon, 1 Nov 2021 23:57:35 +0000
(
00:57
+0100)
sales/inquiry/customer_inquiry.php
patch
|
blob
|
history
diff --git
a/sales/inquiry/customer_inquiry.php
b/sales/inquiry/customer_inquiry.php
index 5bdbe785e4b7f4fcee10767fc09fed31718d6a74..930ff08ab6cbec2051c08ae6e98e91c90c2e125a 100644
(file)
--- a/
sales/inquiry/customer_inquiry.php
+++ b/
sales/inquiry/customer_inquiry.php
@@
-58,11
+58,6
@@
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['TotalAmount'] < 0) ? -$row["TotalAmount"] : $row["TotalAmount"];
- */
$value =
$row['type']==ST_CUSTCREDIT || $row['type']==ST_CUSTPAYMENT || $row['type']==ST_BANKDEPOSIT ? -$row["TotalAmount"] : $row["TotalAmount"];
return price_format($value);