Link to modify a borrower working now
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / members / moremember.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Member Details<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
2
3 <!-- TMPL_INCLUDE NAME="menus.inc" -->
4 <!-- TMPL_INCLUDE NAME="menu-members.inc" -->
5
6 <h1><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)</h1>
7
8 <ul>
9         <!-- TMPL_UNLESS name="guarantorborrowernumber" -->
10         <a href="/cgi-bin/koha/members/jmemberentry.pl?type=add&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Add child</a> 
11         <!-- /TMPL_UNLESS -->
12         <a href="/cgi-bin/koha/members/memberentry.pl?borrowernumber=<!-- TMPL_VAR NAME="bornum" -->&category_type=<!-- TMPL_VAR NAME="category_type"-->">
13                 Edit this Record
14         </a> 
15         <a href="/cgi-bin/koha/members/member-password.pl?member=<!-- TMPL_VAR NAME=bornum -->">
16                 Change Member's Password
17         </a> 
18         <a href="/cgi-bin/koha/members/member-flags.pl?member=<!-- TMPL_VAR NAME=bornum -->">
19                 Modify Member's Privileges
20         </a> 
21         <a href="/cgi-bin/koha/members/deletemem.pl?borrowernumber=<!-- TMPL_VAR NAME="bornum" -->">
22                 Delete this Member
23         </a> 
24         <a href="/cgi-bin/koha/members/boraccount.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->">
25                 View Account
26         </a> 
27         <a href="/cgi-bin/koha/members/pay.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->">
28                 Pay Fines
29         </a> 
30         <a href="/cgi-bin/koha/members/readingrec.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->">
31                 Member's Reading Record
32         </a>
33 </ul>
34
35 <!-- TMPL_IF NAME="flagged" -->
36         <ul>
37                 <!-- TMPL_IF NAME="debarred" -->
38                         <li>Patron is debarred 
39                         <form class="inline compact" action="/cgi-bin/koha/members/setdebar.pl" method="post">
40                                 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
41                                 <input type="hidden" name="status" value="0" />
42                                 <input type="submit" value="Lift Debarment" />
43                         </form>
44                         </li>
45                 <!-- /TMPL_IF -->
46                 <!-- TMPL_IF NAME="gonenoaddress" --><li>Patron's address is in doubt.</li><!-- /TMPL_IF -->
47                 <!-- TMPL_IF NAME="lost" --><li>Patron's card has been reported lost.</li><!-- /TMPL_IF -->
48         </ul>
49
50 <!-- /TMPL_IF -->
51
52 <fieldset>
53 <legend>Borrower Information</legend>
54         <p><label>Title:</label><!-- TMPL_VAR NAME="title" --></p>
55         <p><label>First Name:</label><!-- TMPL_VAR NAME="firstname" --></p>
56         <p><label>Last Name: </label><!-- TMPL_VAR NAME="surname" --></p>
57         <p><label>Othernames: </label><!-- TMPL_VAR NAME="othernames" --></p>
58         <p><label>Initials: </label><!-- TMPL_VAR NAME="initials" --></p>
59         <p><label>Address: </label><!-- TMPL_VAR NAME="address" --></p>
60         <p><label>City: </label><!-- TMPL_VAR NAME="city" --></p>
61         <p><label>Zip Code: </label><!-- TMPL_VAR NAME="zipcode" --></p>
62         <!-- TMPL_UNLESS NAME="I"-->
63         <p><label>alt address: </label><!-- TMPL_VAR NAME="B_address" --></p>
64         <p><label>alt city: </label><!-- TMPL_VAR NAME="B_city" --></p>
65         <p><label>alt zipcode: </label><!-- TMPL_VAR NAME="B_zipcode" --></p>
66         <!-- /TMPL_UNLESS -->
67         <p><label>Home Phone: </label><!-- TMPL_VAR NAME="phone" --></p>
68         <p><label>Cell phone: </label><!-- TMPL_VAR NAME="mobile" --></p>
69         <p><label>Fax: </label><!-- TMPL_VAR NAME="fax" --></p>
70         <p><label>E-mail Address:</label><!-- TMPL_VAR NAME="email" --></p>
71         <!-- TMPL_UNLESS name="I" -->
72         <p><label>Date of Birth:</label><!-- TMPL_VAR NAME="dateofbirth" --></p>
73         <p><label>Sex:</label><!-- TMPL_VAR NAME="sex" --></p>
74         <!-- /TMPL_UNLESS -->
75 </fieldset>
76 <fieldset>
77         <legend>Library use</legend>
78         <p><label>Member Number:</label><!-- TMPL_VAR NAME="borrowernumber" --></p>
79         <p><label>Category:</label><!-- TMPL_VAR NAME="categorycode" --></p>
80         <p><label>Registration Date:</label><!-- TMPL_VAR NAME="dateenrolled" --></p>
81         <p><label>Expiration Date: </label><!-- TMPL_VAR NAME="dateexpiry" --></p>
82         <p><label>Registration Branch:</label><!-- TMPL_VAR NAME="branchname" --></p>
83
84         <!-- TMPL_IF NAME="printethnicityline" -->
85         <p><label>Ethnicity:</label><!-- TMPL_VAR NAME="ethnicity" --></p>
86         <p><label>Ethnicity Notes: </label><!-- TMPL_VAR NAME="ethnotes" --></p>
87         <!-- /TMPL_IF -->
88
89         <p><label>Sort field 1: </label><!-- TMPL_VAR NAME="sort1" --></p>
90         <p><label>Sort field 2:</label><!-- TMPL_VAR NAME="sort2" --></p>
91         <p><label>OPAC login: </label><!-- TMPL_VAR name="userid" --></p>
92         <p><label>OPAC Password: </label><!-- TMPL_VAR NAME="password" --></p> 
93         <p><label>Circulation Notes:</label><!-- TMPL_VAR name="borrowernotes" --></p>
94         <p><label>Patron Message:</label><!-- TMPL_VAR NAME="opacnote" --></p>
95 </fieldset>
96 <fieldset>
97         <legend>Alternate contact</legend>
98         <!-- TMPL_UNLESS name="I" -->
99         <p><label>Name:</label><!-- TMPL_VAR NAME="contactname" --></p>
100         <p><label>Phone: </label><!-- TMPL_VAR NAME="B_phone" --></p>
101         <p><label>Relationship:</label><!-- TMPL_VAR NAME="relationship" --></p>
102         <p><label>Notes: </label><!-- TMPL_VAR NAME="contactnote" --></p>
103         <!-- /TMPL_UNLESS -->
104         <!-- TMPL_UNLESS name="I" -->
105                 <!-- TMPL_IF name="isguarantee" -->
106                         <!-- TMPL_IF NAME="guaranteeloop" -->
107                                 <p><label>Guarantees:</label><ul><!-- tmpl_loop name="guaranteeloop" --><li><a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME=name --> - <!-- TMPL_VAR NAME="cardnumber" --></a></li><!-- /tmpl_loop --></ul></p>
108                         <!-- /TMPL_IF -->
109                 <!-- TMPL_ELSE -->
110                         <!-- TMPL_IF name="guarantorborrowernumber" -->
111                                 <p><label>Guarantor:</label><a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="guarantorborrowernumber" -->"><!-- TMPL_VAR NAME="guarantorcardnumber" --></a></p>
112                         <!-- /TMPL_IF -->
113                 <!-- /TMPL_IF -->
114         <!-- /TMPL_UNLESS -->
115 </fieldset>
116 <fieldset>
117         <legend>Fines &amp; Charges</legend>
118         <!-- TMPL_IF name="totaldue" -->
119                 <p>Total Due: <!-- TMPL_VAR NAME="totaldue" --></p>
120         <!-- TMPL_ELSE -->
121                 <p>No Outstanding Charges</p>
122         <!-- /TMPL_IF -->
123 </fieldset>
124 <fieldset>
125         <legend>Items On Loan</legend>
126         <form action="/cgi-bin/koha/reserve/renewscript.pl" method="post">
127                 <input type="hidden" name="bornum" value="<!-- TMPL_VAR NAME="bornum" -->" />
128         <table>
129                 <tr>
130                         <th scope="col">Title</th>
131                         <th scope="col">Due</th>
132                         <th scope="col">Itemtype</th>
133                         <th scope="col">Charge</th>
134                         <th scope="col">Price</th>
135                         <th scope="col">Renew</th>
136                         <th scope="col">Return</th>
137                 </tr>
138         
139                 <!-- tmpl_loop name="issueloop" -->
140                   <!-- TMPL_IF NAME="toggle" -->
141                 <tr class="highlight">
142                   <!-- TMPL_ELSE -->
143                 <tr>
144                   <!-- /TMPL_IF -->
145                         <td>
146                                 <!-- TMPL_IF name="red" --><span class="overdue"><!-- /TMPL_IF -->
147                                 <!-- TMPL_VAR NAME="title" --><!-- TMPL_IF name="red" --></span><!-- /TMPL_IF -->
148                                 <a href="/cgi-bin/koha/detail.pl?item=<!-- TMPL_VAR NAME="itemnumber" -->&amp;bib=<!-- TMPL_VAR NAME="biblionumber" -->&amp;bi=<!-- TMPL_VAR NAME="biblioitemnumber" -->">
149                                         <!-- TMPL_VAR NAME="barcode" -->
150                                 </a>
151                         </td>
152                         <td><!-- TMPL_VAR NAME="date_due" --></td>
153                         <td>
154                                         <!-- TMPL_VAR NAME="itemtype_description" -->
155                                         <!-- TMPL_IF NAME="itemtype_image" -->
156                                         <img src="<!-- TMPL_VAR NAME="itemtype_image" -->" />
157                                         <!-- /TMPL_IF -->
158                                         </td>
159                         <td><!-- TMPL_VAR NAME="charge" --></td>
160                         <td><!-- TMPL_VAR NAME="replacementprice" --></td>
161                         <td>
162                         <!-- TMPL_IF name="norenew" -->
163                                 <a href="/cgi-bin/koha/request.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->">Reserved</a>
164                         <!-- TMPL_ELSE -->
165                         <input type="checkbox"
166                                                         name="items[]"
167                                                         value="<!-- TMPL_VAR NAME="itemnumber" -->"
168                                         <!-- TMPL_IF NAME="red" -->
169                                                 checked="checked"
170                                         <!-- /TMPL_IF -->
171                         />
172                         <input type="checkbox"
173                                         name="all_items[]"
174                                         value="<!-- TMPL_VAR NAME="itemnumber" -->"
175                                 checked="checked"
176                                         style="display: none;"
177                         />
178                         <!-- /TMPL_IF -->
179                         </td>
180                         <td><a href="/cgi-bin/koha/circ/returns.pl?barcode=<!-- TMPL_VAR NAME="barcode" -->">Return</a></td>
181                 </tr>
182                 <!-- /tmpl_loop -->
183                 <tr><td colspan="3">Total Replacement Cost:</td><td><!-- TMPL_VAR NAME="totalprice" --></td><td colspan="2">&nbsp;</td></tr>
184                 </table>
185                         <div id="action">
186                         <input type="submit" name="renew_checked" value="Renew Checked Items" />
187                         <input type="submit" name="renew_all" value="Renew All" />
188                         </div>
189         </form>
190 </fieldset>
191 <fieldset>
192         <legend>Reserves</legend>
193         <form action="/cgi-bin/koha/modrequest.pl" method="post">
194                 <input type="hidden" name="from" value="borrower" />
195                 <table>
196                 <tr>
197                         <th scope="row">Title</th>
198                         <th scope="row">Requested</th>
199                         <th scope="row">Remove</th>
200                 </tr>
201         
202                 <!-- TMPL_LOOP name="reserveloop" -->
203                   <!-- TMPL_IF NAME="toggle" -->
204                 <tr class="highlight">
205                   <!-- TMPL_ELSE -->
206                 <tr>
207                   <!-- /TMPL_IF -->
208                         <td>
209                                 <a href="/cgi-bin/koha/request.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="btitle" --></a>
210                                 <!-- TMPL_IF name="volumeddesc" -->
211                                         <!-- TMPL_VAR NAME="volumeddesc" -->
212                                         <!-- TMPL_VAR NAME="itemtype" -->
213                                 <!-- /TMPL_IF -->
214                         </td>
215                         <td><!-- TMPL_VAR NAME="reservedate2" --></td>
216                         <td>
217                                 <select name="rank-request">
218                                 <option value="n">No</option>
219                                 <option value="del">Yes</option>
220                                 </select>
221                         </td>
222                         <input type="hidden" name="biblio" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
223                         <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="bornum" -->" />
224                 </tr>
225                 <!-- /tmpl_loop -->
226         </table>
227         <!-- TMPL_IF name="reserveloop" -->
228                 <input type="submit" class="cancel" name="submit" value="Cancel Marked Requests" />
229         <!-- /TMPL_IF -->
230         </form>
231 </fieldset>
232 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->