From 3d439a337e0115e35a6e2ba28434602a418ebaa5 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Tue, 2 Nov 2021 00:57:35 +0100 Subject: [PATCH] Rerun bug 5512: Customer Allocation Inquiry - No alloc-icon for DEBET-Accounts-receivable-Journal Entries. --- sales/inquiry/customer_inquiry.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sales/inquiry/customer_inquiry.php b/sales/inquiry/customer_inquiry.php index 5bdbe785..930ff08a 100644 --- 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); -- 2.30.2