From ebe041f0ac3ca41aae3a841b1303fa6cf6f54968 Mon Sep 17 00:00:00 2001 From: erickson Date: Tue, 11 Nov 2008 04:44:49 +0000 Subject: [PATCH] added support for editing alias field git-svn-id: svn://svn.open-ils.org/ILS/trunk@11129 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/locale/en-US/lang.dtd | 1 + Open-ILS/xul/staff_client/server/patron/ue.xhtml | 6 ++++++ Open-ILS/xul/staff_client/server/patron/ue_config.js | 10 +++++++++- 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/Open-ILS/web/opac/locale/en-US/lang.dtd b/Open-ILS/web/opac/locale/en-US/lang.dtd index ff0e12e537..472a444be2 100644 --- a/Open-ILS/web/opac/locale/en-US/lang.dtd +++ b/Open-ILS/web/opac/locale/en-US/lang.dtd @@ -2581,5 +2581,6 @@ + diff --git a/Open-ILS/xul/staff_client/server/patron/ue.xhtml b/Open-ILS/xul/staff_client/server/patron/ue.xhtml index 9c51906bd7..b695483674 100644 --- a/Open-ILS/xul/staff_client/server/patron/ue.xhtml +++ b/Open-ILS/xul/staff_client/server/patron/ue.xhtml @@ -294,6 +294,11 @@ + +
&ev.staff.patron.ue_xhtml.alias.label;
+
+ +
&ev.staff.patron.ue_xhtml.dob.label;
@@ -826,6 +831,7 @@ &ev.staff.patron.ue_xhtml.first_name.label; &ev.staff.patron.ue_xhtml.middle_name.label; &ev.staff.patron.ue_xhtml.last_name.label; + &ev.staff.patron.ue_xhtml.alias.label; &ev.staff.patron.ue_xhtml.suffix.label; &ev.staff.patron.ue_xhtml.dob.label; &ev.staff.patron.ue_xhtml.primary_id_type.label; diff --git a/Open-ILS/xul/staff_client/server/patron/ue_config.js b/Open-ILS/xul/staff_client/server/patron/ue_config.js index 917efdcba0..3b97cfc14f 100644 --- a/Open-ILS/xul/staff_client/server/patron/ue_config.js +++ b/Open-ILS/xul/staff_client/server/patron/ue_config.js @@ -167,7 +167,6 @@ function uEditDefineData(patron) { } } }, - { required : false, object : patron, @@ -211,6 +210,15 @@ function uEditDefineData(patron) { { required : false, object : patron, + key : 'alias', + widget : { + id : 'ue_alias', + type : 'input', + } + }, + { + required : false, + object : patron, key : 'dob', errkey : 'ue_bad_dob', widget : { -- 2.11.0