projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed many issues in output HTML code according to HTML 4.01 Transitional format.
[fa-stable.git]
/
inventory
/
prices.php
diff --git
a/inventory/prices.php
b/inventory/prices.php
index f1c63c40b2b9a52f273a4f84e5495586754678d1..650728ca49392514308a34e33e427817b5c09858 100644
(file)
--- a/
inventory/prices.php
+++ b/
inventory/prices.php
@@
-50,11
+50,8
@@
if (!isset($_POST['curr_abrev']))
}
//---------------------------------------------------------------------------------------------------
}
//---------------------------------------------------------------------------------------------------
-
-$action = $_SERVER['PHP_SELF'];
-if (@$_GET['popup'])
- $action .= "?stock_id=".get_post('stock_id');
-start_form(false, false, $action);
+if (!@$_GET['popup'])
+ start_form();
if (!isset($_POST['stock_id']))
$_POST['stock_id'] = get_global_stock_item();
if (!isset($_POST['stock_id']))
$_POST['stock_id'] = get_global_stock_item();
@@
-144,7
+141,7
@@
if (list_updated('stock_id') || isset($_POST['_curr_abrev_update']) || isset($_P
$prices_list = get_prices($_POST['stock_id']);
div_start('price_table');
$prices_list = get_prices($_POST['stock_id']);
div_start('price_table');
-start_table(TABLESTYLE, "width=
30%
");
+start_table(TABLESTYLE, "width=
'30%'
");
$th = array(_("Currency"), _("Sales Type"), _("Price"), "", "");
table_header($th);
$th = array(_("Currency"), _("Sales Type"), _("Price"), "", "");
table_header($th);
@@
-211,7
+208,9
@@
if ($calculated)
submit_add_or_update_center($selected_id == -1, '', 'both');
div_end();
submit_add_or_update_center($selected_id == -1, '', 'both');
div_end();
-end_form();
if (!@$_GET['popup'])
if (!@$_GET['popup'])
+{
+ end_form();
end_page(@$_GET['popup'], false, false);
end_page(@$_GET['popup'], false, false);
+}
?>
?>