1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Patrons › Update patron records</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <script type="text/javascript">
6 $( "#pending_updates" ).accordion();
10 <body id="pat_update" class="pat">
11 [% INCLUDE 'header.inc' %]
12 [% INCLUDE 'patron-search.inc' %]
15 SET field_display_names = {
17 firstname => "First name"
19 othernames => "Other names"
20 initials => "Initials"
21 streetnumber => "Street number"
22 streettype => "Street type"
24 address2 => "Address 2"
30 phone => "Primary Phone"
31 mobile => "Primary Mobile Phone"
33 emailpro => "Secondary email"
34 phonepro => "Secondary phone"
35 B_streetnumber => "Alternate address - street number"
36 B_streettype => "Alternate address - street type"
37 B_address => "Alternate address"
38 B_address2 => "Alternate address 2"
39 B_city => "Alternate address - city"
40 B_state => "Alternate address - state"
41 B_zipcode => "Alternate address - zip code"
42 B_email => "Alternate address - email"
43 B_phone => "Alertnate address - phone"
44 contactnote => "Alternate address - contact note"
45 dateofbirth => "Date of birth"
46 contactname => "Contact - last name"
47 contactfirstname=> "Contact - first name"
48 contacttitle => "Contact - title"
49 relationship => "Contact - relationship"
50 ethnicity => "Ethnicity"
51 ethnotes => "Ethnicity notes"
53 altcontactfirstname => "Alternate contact - first name"
54 altcontactsurname => "Alternate contact - surname"
55 altcontactaddress1 => "Alternate contact - address"
56 altcontactaddress2 => "Alternate contact - address 2"
57 altcontactaddress3 => "Alternate contact - city"
58 altcontactstate => "Alternate contact - state"
59 altcontactzipcode => "Alternate contact - zip code"
60 altcontactcountry => "Alternate contact - country"
61 altcontactphone => "Alternate contact - phone"
62 smsalertnumber => "SMS alert number"
65 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> › Update patron records</div>
67 <div id="doc2" class="yui-t7">
72 [% IF PendingModifications %]
73 <h2>Update patron records</h2>
74 <form method="post" action="members-update-do.pl">
75 <div id="pending_updates">
76 [% FOREACH pm IN PendingModifications %]
77 [% SET borrowernumber = pm.borrowernumber %]
78 <h3><a href="#panel_modify_[% pm.borrowernumber %]">[% borrowers.$borrowernumber.surname %], [% borrowers.$borrowernumber.firstname %]</a></h3>
79 <div id="panel_modify_[% pm.borrowernumber %]">
80 <div style="background-color:#E6F0F2;padding:.5em;margin:.3em 0;">
81 <input type="radio" id="approve_modify_[% pm.borrowernumber %]" name="modify_[% pm.borrowernumber %]" value="approve" />
82 <label for="approve_modify_[% pm.borrowernumber %]">Approve</label>
84 <input type="radio" id="deny_modify_[% pm.borrowernumber %]" name="modify_[% pm.borrowernumber %]" value="deny" />
85 <label for="deny_modify_[% pm.borrowernumber %]">Deny</label>
87 <input type="radio" id="ignore_modify_[% pm.borrowernumber %]" name="modify_[% pm.borrowernumber %]" value="ignore" checked="checked"/>
88 <label for="ignore_modify_[% pm.borrowernumber %]">Ignore</label>
98 [% FOREACH key IN pm.keys %]
99 [% IF field_display_names.$key %]
100 [% IF ( ( pm.$key OR borrowers.$borrowernumber.$key ) && ( pm.$key != borrowers.$borrowernumber.$key ) ) %]
102 <td>[% field_display_names.$key %]</td>
103 <td>[% borrowers.$borrowernumber.$key %]</td>
104 <td>[% pm.$key %]</td>
113 <fieldset class="action"><input type="submit" value="Submit" /></fieldset>
117 <div class="dialog message">
118 <p>There are no pending patron modifications.</p>
124 [% INCLUDE 'intranet-bottom.inc' %]