From 156d47999bf4384377ab07d8a23d622d55d1f4d7 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Sat, 14 Jun 2008 12:22:21 +0000 Subject: [PATCH] Minor annoying layout bug in stock movements. --- CHANGELOG.txt | 4 ++++ inventory/inquiry/stock_movements.php | 14 +++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 24f9db98..bdaeb620 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,10 @@ Legend: ! -> Note $ -> Affected files +14-Jun-2008 Joe +# Minor annoying layout bug in stock movements. +$ /inventory/inquiry/stock_movements.php + 14-Jun-2008 Joe Hunt ! The Customer Branch Sales Account now overrides the Item Sales Accounts if a Sales Account is here. Can now be set to 'Use Item Sales Accounts', which is the first choice in list and default. diff --git a/inventory/inquiry/stock_movements.php b/inventory/inquiry/stock_movements.php index 3f4332c5..698eb37f 100644 --- a/inventory/inquiry/stock_movements.php +++ b/inventory/inquiry/stock_movements.php @@ -76,7 +76,8 @@ if (!isset($before_qty_row[0])) } start_row("class='inquirybg'"); -label_cell(""._("Quantity on hand before") . " " . $_POST['AfterDate']."", "align=center colspan=7"); +label_cell(""._("Quantity on hand before") . " " . $_POST['AfterDate']."", "align=center colspan=5"); +label_cell(" ", "colspan=2"); qty_cell($before_qty); end_row(); @@ -165,13 +166,16 @@ while ($myrow = db_fetch($result)) } //end of while loop -if ($total_in != 0 || $total_out != 0) -{ +// 2008-06-14. Always write this. +//if ($total_in != 0 || $total_out != 0) +//{ start_row("class='inquirybg'"); - label_cell(""._("Quantity on hand after") . " " . $_POST['BeforeDate']."", "align=center colspan=7"); + label_cell(""._("Quantity on hand after") . " " . $_POST['BeforeDate']."", "align=center colspan=5"); + qty_cell($total_in); + qty_cell($total_out); qty_cell($after_qty); end_row(); -} +//} end_table(1); -- 2.30.2