From 6882b669c93732bf791320d608ea8081002490c0 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Sun, 30 Aug 2015 21:10:23 -0400 Subject: [PATCH] LP#1452950 add/delete patron address Signed-off-by: Bill Erickson Signed-off-by: Galen Charlton --- .../src/templates/staff/circ/patron/t_edit.tt2 | 65 ++++++++++++---------- .../web/js/ui/default/staff/circ/patron/regctl.js | 44 +++++++++++++-- 2 files changed, 76 insertions(+), 33 deletions(-) diff --git a/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 index 9912d59000..4bf4792f77 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 @@ -352,39 +352,46 @@ - -[% formfield('aua', 'address_type', 'mailing_address') %] -[% formfield('aua', 'post_code', 'mailing_address') %] -[% formfield('aua', 'street1', 'mailing_address') %] -[% formfield('aua', 'street2', 'mailing_address') %] -[% formfield('aua', 'city', 'mailing_address') %] -[% formfield('aua', 'county', 'mailing_address') %] -[% formfield('aua', 'state', 'mailing_address') %] -[% formfield('aua', 'country', 'mailing_address') %] -[% formfield('aua', 'valid', 'mailing_address', 'checkbox') %] -[% formfield('aua', 'within_city_limits', 'mailing_address', 'checkbox') %] - -
- -
- +
+ + + [% formfield('aua', 'address_type', 'addresses[$index]') %] + [% formfield('aua', 'post_code', 'addresses[$index]') %] + [% formfield('aua', 'street1', 'addresses[$index]') %] + [% formfield('aua', 'street2', 'addresses[$index]') %] + [% formfield('aua', 'city', 'addresses[$index]') %] + [% formfield('aua', 'county', 'addresses[$index]') %] + [% formfield('aua', 'state', 'addresses[$index]') %] + [% formfield('aua', 'country', 'addresses[$index]') %] + [% formfield('aua', 'valid', 'addresses[$index]', 'checkbox') %] + [% formfield('aua', 'within_city_limits', 'addresses[$index]', 'checkbox') %] + +
+ +
+ + + +