From: Joe Hunt Date: Wed, 25 Feb 2009 11:35:38 +0000 (+0000) Subject: Improved layout X-Git-Tag: v2.4.2~19^2~1501 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=0e782e0129275e050d04617ddbfcd134a078d4ca;p=fa-stable.git Improved layout --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index c32b11c2..df3c81f0 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -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 diff --git a/inventory/inquiry/stock_status.php b/inventory/inquiry/stock_status.php index a073e868..9c8aff5b 100644 --- a/inventory/inquiry/stock_status.php +++ b/inventory/inquiry/stock_status.php @@ -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) diff --git a/inventory/prices.php b/inventory/prices.php index 15a70ae7..fb323a47 100644 --- a/inventory/prices.php +++ b/inventory/prices.php @@ -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(); //------------------------------------------------------------------------------------------------ diff --git a/inventory/reorder_level.php b/inventory/reorder_level.php index 3b6f8f7d..2c5de464 100644 --- a/inventory/reorder_level.php +++ b/inventory/reorder_level.php @@ -47,6 +47,7 @@ echo "
"; div_start('show_heading'); stock_item_heading($_POST['stock_id']); +br(); div_end(); set_global_stock_item($_POST['stock_id']);