projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Small fixed needed for client-side validation.
[fa-stable.git]
/
inventory
/
prices.php
diff --git
a/inventory/prices.php
b/inventory/prices.php
index 15a70ae7a670ac92d3fd4d1c76b4f666e6ad7b72..280595150545e89901ae47333cb6a3267fe9b5cb 100644
(file)
--- a/
inventory/prices.php
+++ b/
inventory/prices.php
@@
-48,7
+48,7
@@
if (!isset($_POST['curr_abrev']))
//---------------------------------------------------------------------------------------------------
//---------------------------------------------------------------------------------------------------
-start_form(
false, true
);
+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();
@@
-152,7
+152,7
@@
while ($myrow = db_fetch($prices_list))
end_table();
if (db_num_rows($prices_list) == 0)
{
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();
//------------------------------------------------------------------------------------------------
}
div_end();
//------------------------------------------------------------------------------------------------
@@
-184,7
+184,7
@@
small_amount_row(_("Price:"), 'price', null, '', _('per') .' '.$kit["units"]);
end_table(1);
end_table(1);
-submit_add_or_update_center($selected_id == -1, '',
true
);
+submit_add_or_update_center($selected_id == -1, '',
'both'
);
div_end();
end_form();
div_end();
end_form();