$js = "";
if ($use_popup_windows)
$js .= get_js_open_window(800, 500);
-if ($use_date_picker)
+if (user_use_date_picker())
$js .= get_js_date_picker();
page(_($help_context = "Issue Items to Work Order"), false, false, "", $js);
$failed_item = $_SESSION['issue_items']->check_qoh($_POST['Location'], $_POST['date_'], !$_POST['IssueType']);
if ($failed_item != -1)
{
- $item = $_SESSION['issue_items']->line_items[$failed_item];
- display_error( _("The issue cannot be processed because an entered item would cause a negative inventory balance :") .
- " " . $item->stock_id . " - " . $item->item_description);
+ display_error(_("The issue cannot be processed because it would cause negative inventory balance for marked items as of document date or later."));
return false;
}
end_page();
-?>