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