input_num('Disc') / 100 );
}
copy_from_cart();
+ set_focus('StockID2');
}
//--------------------------------------------------------------------------------
} else {
display_error(_("This item cannot be deleted because some of it has already been delivered."));
}
+ set_focus('StockID2');
}
//--------------------------------------------------------------------------------
input_num('price'), input_num('Disc') / 100);
$_POST['StockID2'] = $_POST['stock_id'] = "";
+ set_focus('StockID2');
}
//--------------------------------------------------------------------------------
if (isset($_POST['AddItem']))
handle_new_item();
+if (isset($_POST['CancelItemChanges']) || isset($_POST['UpdateItem']))
+ set_focus('StockID2');
+
//--------------------------------------------------------------------------------
check_db_has_stock_items(_("There are no inventory items defined in the system."));