From bb441af7e4d3c63526af2bb3b3bea95ee8fc557e Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Fri, 23 Jul 2010 13:02:10 +0000 Subject: [PATCH] Fixed tax footer descriptions. --- includes/ui/ui_view.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/includes/ui/ui_view.inc b/includes/ui/ui_view.inc index 69a4e556..a798586e 100644 --- a/includes/ui/ui_view.inc +++ b/includes/ui/ui_view.inc @@ -407,8 +407,8 @@ function display_customer_trans_tax_details($tax_items, $columns) $first = false; } else - label_row(_("Included") . " " . $tax_type_name . - _("Amount") . ": $tax", "", "colspan=$columns align=right", "align=right"); + label_row(_("Included") . " " . $tax_type_name + . ": $tax", "", "colspan=$columns align=right", "align=right"); } else label_row($tax_type_name, $tax, "colspan=$columns align=right", "align=right"); @@ -423,8 +423,8 @@ function display_supp_trans_tax_details($tax_items, $columns) { $tax = number_format2(abs($tax_item['amount']),user_price_dec()); if ($tax_item['included_in_price']) - label_row(_("Included") . " " . $tax_item['tax_type_name'] . " (" . $tax_item['rate'] . "%) " . - _("Amount") . ": $tax", "colspan=$columns align=right", "align=right"); + label_row(_("Included") . " " . $tax_item['tax_type_name'] . " (" . $tax_item['rate'] . "%) " + . ": $tax", '', "colspan=$columns align=right", "align=right"); else label_row($tax_item['tax_type_name'] . " (" . $tax_item['rate'] . "%)", $tax, "colspan=$columns align=right", "align=right"); @@ -441,8 +441,8 @@ function display_edit_tax_items($taxes, $columns, $tax_included, $leftspan=0) { if ($tax_included) { - label_row(_("Included") . " " . $taxitem['tax_type_name'] . " (" . $taxitem['rate'] . "%) " . - _("Amount:") . " " . number_format2($taxitem['Value'],user_price_dec()), "", "colspan=$columns align=right", "align=right",$leftspan); + label_row(_("Included") . " " . $taxitem['tax_type_name'] . " (" . $taxitem['rate'] . "%) " + . " " . number_format2($taxitem['Value'],user_price_dec()), "", "colspan=$columns align=right", "align=right",$leftspan); } else { -- 2.30.2