From: Joe Hunt Date: Sat, 20 Jan 2018 11:23:46 +0000 (+0100) Subject: Fixed redundant $sign in reports Sales Order, Sales Quotation and Purchase Order X-Git-Tag: v2.4.4~21 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=f31eca3e9d68d964324ebb7da93eccb38dff6484;hp=009fd657bd77c44afcde1fc8b8a5b6dea92c3367;p=fa-stable.git Fixed redundant $sign in reports Sales Order, Sales Quotation and Purchase Order --- 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);