From 7732454bf7c60e9c657ea40fcb06787379a4b928 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 4 Dec 2007 17:40:41 -0600 Subject: [PATCH] Fixing typo in value_builder/dateaccessioned.pl; Adding error message output to additem.tmpl (fixes Bug 1636, Can't delete from additems.pl). Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- cataloguing/value_builder/dateaccessioned.pl | 1 + .../prog/en/modules/cataloguing/additem.tmpl | 38 +++++++++++++------ 2 files changed, 27 insertions(+), 12 deletions(-) diff --git a/cataloguing/value_builder/dateaccessioned.pl b/cataloguing/value_builder/dateaccessioned.pl index d1cb0ebae4..e6a77596b3 100755 --- a/cataloguing/value_builder/dateaccessioned.pl +++ b/cataloguing/value_builder/dateaccessioned.pl @@ -66,6 +66,7 @@ sub plugin_javascript { // -Koha › Cataloging › Items for Bibliographic Record <!-- TMPL_VAR name="biblionumber" --> +Koha › Cataloging › <!-- TMPL_VAR name="title" --> <!-- TMPL_IF NAME="author" --> by <!-- TMPL_VAR name="author" --><!-- /TMPL_IF --> (Record #<!-- TMPL_VAR NAME="biblionumber" -->) › Items - +
@@ -141,9 +156,11 @@ function CreateKey(){

Items for by (Record #)

+
Error saving item: Barcode must be unique.
+
Cannot Delete: item is checked out.
+
-

Existing items

@@ -154,10 +171,10 @@ function CreateKey(){ - + "> - +
 
 &itemnumber=">Edit,)">Delete&itemnumber=" onclick="confirm_deletion(,); return false;">Delete
@@ -174,7 +191,7 @@ function CreateKey(){

Edit Item

-
"> +
"> @@ -190,9 +207,6 @@ function CreateKey(){ " /> - - ERROR : Barcode already exists ! - @@ -202,12 +216,12 @@ function CreateKey(){ -
+
- +
- + \ No newline at end of file -- 2.39.5