Improved layout
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 25 Feb 2009 11:35:38 +0000 (11:35 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 25 Feb 2009 11:35:38 +0000 (11:35 +0000)
CHANGELOG.txt
inventory/inquiry/stock_status.php
inventory/prices.php
inventory/reorder_level.php

index c32b11c2a6d7fb7b152d5dd895dd5ecc24920247..df3c81f0953b0506e67f791408cabff32e3e219f 100644 (file)
@@ -19,6 +19,12 @@ Legend:
 ! -> Note
 $ -> Affected files
 
+25-Feb-2009 Joe Hunt
+! Improved layout
+$ /inventory/prices.php
+  /inventory/reorder_level.php
+  /inventory/inquiry/stock_status.php
+  
 24-Feb-2009 Janusz Dobrowolski
 # Cleaning startup code
 $ /index.php
index a073e868bc912aa388afdeaa92e2e0b279785f0c..9c8aff5b546e4487f64d04cb93f27121377190b7 100644 (file)
@@ -49,15 +49,15 @@ set_global_stock_item($_POST['stock_id']);
 $mb_flag = get_mb_flag($_POST['stock_id']);
 $kitset_or_service = false;
 
+div_start('status_tbl');
 if (is_service($mb_flag))
 {
-       display_note(_("This is a service and cannot have a stock holding, only the total quantity on outstanding sales orders is shown."));
+       display_note(_("This is a service and cannot have a stock holding, only the total quantity on outstanding sales orders is shown."), 0, 1);
        $kitset_or_service = true;
 }
 
 $loc_details = get_loc_details($_POST['stock_id']);
 
-div_start('status_tbl');
 start_table($table_style);
 
 if ($kitset_or_service == true)
index 15a70ae7a670ac92d3fd4d1c76b4f666e6ad7b72..fb323a470c1225fa281847315d48103a929b9dc7 100644 (file)
@@ -152,7 +152,7 @@ while ($myrow = db_fetch($prices_list))
 end_table();
 if (db_num_rows($prices_list) == 0)
 {
-       display_note(_("There are no prices set up for this part."));
+       display_note(_("There are no prices set up for this part."), 1);
 }
 div_end();
 //------------------------------------------------------------------------------------------------
index 3b6f8f7d7e8e2b8a7cacb16c50acec09e0b1e296..2c5de4649b89bff04e03e418201e9bdd47170ac9 100644 (file)
@@ -47,6 +47,7 @@ echo "<hr></center>";
 
 div_start('show_heading');
 stock_item_heading($_POST['stock_id']);
+br();
 div_end();
 set_global_stock_item($_POST['stock_id']);