@@ -36,7+46,7 @@ if ($Mode=='ADD_ITEM' || $Mode=='UPDATE_ITEM')
{
$input_error = 1;
display_error( _("There is no item selected."));
{
$input_error = 1;
display_error( _("There is no item selected."));
- set_focus('stock_id');
+ set_focus('stock_id');
}
elseif (!check_num('price', 0))
{
}
elseif (!check_num('price', 0))
{
@@ -50,7+60,12 @@ if ($Mode=='ADD_ITEM' || $Mode=='UPDATE_ITEM')
display_error( _("The conversion factor entered was not numeric. The conversion factor is the number by which the price must be divided by to get the unit price in our unit of measure."));
set_focus('conversion_factor');
}
display_error( _("The conversion factor entered was not numeric. The conversion factor is the number by which the price must be divided by to get the unit price in our unit of measure."));