From 78d960152f72ff90a0944c2c66a62842c68ee886 Mon Sep 17 00:00:00 2001 From: Jesse Weaver Date: Wed, 16 Jul 2008 15:06:03 -0500 Subject: [PATCH] fix for bug 2221: Problems with Guarantor Fields... This patch corrects this problem, by, when a patron record is linked as a guarantor, showing that and not allowing the name to be edited. It still allows manual entry of a guarantor. It also untabifies a few places in the affected files and fixes some inconsistent names. Signed-off-by: Joshua Ferraro --- .../en/modules/members/guarantor_search.tmpl | 50 +++++++- .../en/modules/members/memberentrygen.tmpl | 110 +++++++++++------- .../prog/en/modules/members/moremember.tmpl | 20 ++-- members/guarantor_search.pl | 1 + members/memberentry.pl | 6 +- 5 files changed, 130 insertions(+), 57 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/guarantor_search.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/members/guarantor_search.tmpl index add0071dd5..bbb677e2e5 100755 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/guarantor_search.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/guarantor_search.tmpl @@ -1,9 +1,43 @@ Koha › Guarantor Search - + +
@@ -29,13 +63,21 @@ Name Date of birth Address + Select? - ;window.opener.document.form.guarantorsearch.value='Modify Guarantor';window.opener.document.form.contactname.value='';window.opener.document.form.contactfirstname.value='';window.opener.document.form.address.value='';window.opener.document.form.city.value='';window.opener.document.form.zipcode.value='';self.close();">, + + , +

+ +
+ ', '', '', '', '', '', ''); return false;" value="Select"/> +
+ diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tmpl index 5ccff55e5a..ca486e1c8f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tmpl @@ -6,20 +6,22 @@