From 5bc87f4965ed7601c1580512b41f78762389f3c3 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Sat, 7 Nov 2009 10:45:06 +0000 Subject: [PATCH] More improvements on layout display. --- CHANGELOG.txt | 5 +++++ inventory/includes/item_adjustments_ui.inc | 2 +- purchasing/includes/ui/po_ui.inc | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 92724354..d7155fc0 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,11 @@ Legend: ! -> Note $ -> Affected files +07-Nov-2009 Joe Hunt +! More improvements on layout display. +$ /purchases/includes/ui/po_ui.inc + /inventory/includes/item_adjustments_ui.inc + 06-Nov-2009 Joe Hunt ! Improved layout in the new tax info display. Also old ones. $ /sales/credit_invoice.php diff --git a/inventory/includes/item_adjustments_ui.inc b/inventory/includes/item_adjustments_ui.inc index a8a7481a..7b67cca3 100644 --- a/inventory/includes/item_adjustments_ui.inc +++ b/inventory/includes/item_adjustments_ui.inc @@ -99,7 +99,7 @@ function display_adjustment_items($title, &$order) if ($id == -1) adjustment_edit_item_controls($order); - label_row(_("Total"), number_format2($total,user_price_dec()), "colspan=5", "align=right"); + label_row(_("Total"), number_format2($total,user_price_dec()), "align=right colspan=5", "align=right", 2); end_table(); div_end(); diff --git a/purchasing/includes/ui/po_ui.inc b/purchasing/includes/ui/po_ui.inc index 237d34b1..9c1f667a 100644 --- a/purchasing/includes/ui/po_ui.inc +++ b/purchasing/includes/ui/po_ui.inc @@ -214,8 +214,8 @@ function display_po_items(&$order, $editable=true) po_item_controls($order); $display_total = price_format($total); - label_row(_("Total Excluding Shipping/Tax"), $display_total, "colspan=6 align=right", - "nowrap align=right"); + label_row(_("Total Excluding Shipping/Tax"), $display_total, "colspan=7 align=right", + "nowrap align=right", 2); end_table(1); div_end(); -- 2.30.2