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