From f31eca3e9d68d964324ebb7da93eccb38dff6484 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Sat, 20 Jan 2018 12:23:46 +0100 Subject: [PATCH] Fixed redundant $sign in reports Sales Order, Sales Quotation and Purchase Order --- reporting/rep109.php | 2 +- reporting/rep111.php | 2 +- reporting/rep209.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/reporting/rep109.php b/reporting/rep109.php index 739348d4..ba6c86ce 100644 --- a/reporting/rep109.php +++ b/reporting/rep109.php @@ -186,7 +186,7 @@ function print_sales_orders() if ($first) { $rep->TextCol(3, 6, _("Total Tax Excluded"), -2); - $rep->TextCol(6, 7, number_format2($sign*$tax_item['net_amount'], $dec), -2); + $rep->TextCol(6, 7, number_format2($tax_item['net_amount'], $dec), -2); $rep->NewLine(); } $rep->TextCol(3, 6, $tax_type_name, -2); diff --git a/reporting/rep111.php b/reporting/rep111.php index cf3e8d20..1db74b7c 100644 --- a/reporting/rep111.php +++ b/reporting/rep111.php @@ -183,7 +183,7 @@ function print_sales_quotations() if ($first) { $rep->TextCol(3, 6, _("Total Tax Excluded"), -2); - $rep->TextCol(6, 7, number_format2($sign*$tax_item['net_amount'], $dec), -2); + $rep->TextCol(6, 7, number_format2($tax_item['net_amount'], $dec), -2); $rep->NewLine(); } $rep->TextCol(3, 6, $tax_type_name, -2); diff --git a/reporting/rep209.php b/reporting/rep209.php index 452fddfe..f6fabf31 100644 --- a/reporting/rep209.php +++ b/reporting/rep209.php @@ -188,7 +188,7 @@ function print_po() if ($first) { $rep->TextCol(3, 6, _("Total Tax Excluded"), -2); - $rep->TextCol(6, 7, number_format2($sign*$tax_item['net_amount'], $dec), -2); + $rep->TextCol(6, 7, number_format2($tax_item['net_amount'], $dec), -2); $rep->NewLine(); } $rep->TextCol(3, 6, $tax_type_name, -2); -- 2.30.2