From 8eba7e8b287a1f597986ea2441b6f5566a457b4a Mon Sep 17 00:00:00 2001 From: tipaul Date: Mon, 22 Dec 2003 14:58:38 +0000 Subject: [PATCH] fix for #671 (add institution member) note member management code is really dirty & can be factorised, will be done in HEAD branch (2.1.x version) --- .../intranet-tmpl/default/en/newimember.tmpl | 161 ++++++++++++++++++ newimember.pl | 22 ++- 2 files changed, 182 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/default/en/newimember.tmpl b/koha-tmpl/intranet-tmpl/default/en/newimember.tmpl index 300ca227fa..c5fb447547 100644 --- a/koha-tmpl/intranet-tmpl/default/en/newimember.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/newimember.tmpl @@ -6,6 +6,167 @@ Invalid cardnumber.

+

Confirm Record

+ + " > + + + + + + + " > + + + + + + + + + + + + + + + " > + + + + + + + + + + + " > + + + + + + + + + + + + + + + + + + + + + + + " > + + + + + + + + + + + + + + + + + + + " > + + + + + + +
/images/background-mem.gif"> + NEW MEMBER +
+ Name + + +
/images/background-mem.gif"> + MEMBERSHIP DETAILS +
+ Membership Number + + +
+ Card Number + + +
+ Joining Branch + + +
/images/background-mem.gif"> + MEMBER ADDRESS +
+ Postal Address + + +
+ Home Address + + +
/images/background-mem.gif"> + MEMBER CONTACT DETAIL +
+ Phone (Home) + + +
+ Phone (Daytime) + + +
+ Fax + + +
+ E-mail + + +
+ Text messaging + + +
/images/background-mem.gif"> + ALTERNATIVE CONTACT DETAIL +
+ Name + + +
+ Phone + + +
+ Relationship + + +
+ Notes + + +
/images/background-mem.gif"> + NOTES +
+ General Notes + + +

Valid values. click OK to confirm this new borrower

diff --git a/newimember.pl b/newimember.pl index 04a1a3b96d..cef87c817a 100755 --- a/newimember.pl +++ b/newimember.pl @@ -106,7 +106,27 @@ if ($missing !=1) { push(@inputs, { 'key' => $key, 'value' => CGI::escapeHTML($value) }); } - $template->param(inputsloop => \@inputs); + $template->param(institution_name => $data{institution_name}, + bornum => $data{'borrowernumber'}, + cardnumber_institution => $data{'cardnumber_institution'}, + memcat => $data{'categorycode'}, + branchcode => $data{'branchcode'}, + sex => $data{sex}, + postal => $data{postal}, + home => $data{home}, + zipcode => $data{'zipcode'}, + homezipcode => $data{'homezipcode'}, + phone => $data{'phone'}, + phoneday => $data{'phoneday'}, + faxnumber => $data{'faxnumber'}, + emailaddress => $data{'emailaddress'}, + textmessaging => $data{'textmessaging'}, + contactname => $data{'contactname'}, + altphone => $data{'altphone'}, + altrelationship => $data{'altrelationship'}, + altnotes => $data{'altnotes'}, + bornotes => $data{'borrowernotes'}, + inputsloop => \@inputs); } } output_html_with_http_headers $input, $cookie, $template->output; -- 2.39.5