added info message for upload errors

This commit is contained in:
Roland Gruber 2004-10-17 15:55:26 +00:00
parent f1bcd80883
commit f46b56c921
1 changed files with 1 additions and 0 deletions

View File

@ -467,6 +467,7 @@ function buildUploadAccounts($scope, $data, $ids) {
$module = new $ordered[$i]($scope);
$errors = $module->build_uploadAccounts($data, $ids, $partialAccounts);
if (sizeof($errors) > 0) {
array_unshift($errors, array("INFO", _("Displayed account numbers start at \"0\". Add 2 to get the row in your spreadsheet."), ""));
$errors[] = array("ERROR", _("Upload was stopped after errors in %s module!"), "", array($module->get_alias()));
break;
}