Minor annoying layout bug in stock movements.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 14 Jun 2008 12:22:21 +0000 (12:22 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 14 Jun 2008 12:22:21 +0000 (12:22 +0000)
CHANGELOG.txt
inventory/inquiry/stock_movements.php

index 24f9db98bfa285b2b042c183ddd49793da57f099..bdaeb620f5491b4527f9f5f858214040b45362e0 100644 (file)
@@ -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.
index 3f4332c578434e9d32a14d66bf2d71f9d2ee75e5..698eb37fe802d291e9e4fc67525f35cae515a932 100644 (file)
@@ -76,7 +76,8 @@ if (!isset($before_qty_row[0]))
 }
 
 start_row("class='inquirybg'");
-label_cell("<b>"._("Quantity on hand before") . " " . $_POST['AfterDate']."</b>", "align=center colspan=7");
+label_cell("<b>"._("Quantity on hand before") . " " . $_POST['AfterDate']."</b>", "align=center colspan=5");
+label_cell("&nbsp;", "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("<b>"._("Quantity on hand after") . " " . $_POST['BeforeDate']."</b>", "align=center colspan=7");
+    label_cell("<b>"._("Quantity on hand after") . " " . $_POST['BeforeDate']."</b>", "align=center colspan=5");
+    qty_cell($total_in);
+    qty_cell($total_out);
     qty_cell($after_qty);
     end_row();
-}
+//}
 
 end_table(1);