Bug 9528: Add delivery branch to the place hold display
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / moremember.tt
1 [% USE Koha %]
2 [% USE KohaDates %]
3 [% USE ColumnsSettings %]
4 [% IF Koha.Preference('ExportRemoveFields') OR Koha.Preference('ExportWithCsvProfile') %]
5    [% SET exports_enabled = 1 %]
6 [% END %]
7 [% INCLUDE 'doc-head-open.inc' %]
8 <title>Koha &rsaquo; Patrons &rsaquo;
9 [% IF ( unknowuser ) %]
10     Patron does not exist
11 [% ELSE %]
12     Patron details for [% INCLUDE 'patron-title.inc' %]
13 [% END %]
14 </title>
15 [% INCLUDE 'doc-head-close.inc' %]
16 [% INCLUDE 'calendar.inc' %]
17 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/en/css/datatables.css" />
18 [% INCLUDE 'datatables.inc' %]
19 [% INCLUDE 'columns_settings.inc' %]
20 [% INCLUDE 'strings.inc' %]
21 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
22 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery-ui-timepicker-addon.min.js"></script>
23 [% INCLUDE 'timepicker.inc' %]
24 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.rowGrouping.js"></script>
25 <script type="text/javascript" src="[% themelang %]/js/pages/circulation.js"></script>
26 <script type="text/javascript" src="[% themelang %]/js/checkouts.js"></script>
27 <script type="text/javascript" src="[% themelang %]/js/holds.js"></script>
28 <script type="text/JavaScript">
29 //<![CDATA[
30 /* Set some variable needed in circulation.js */
31 var interface = "[% interface %]";
32 var theme = "[% theme %]";
33 var borrowernumber = "[% borrowernumber %]";
34 var branchcode = "[% branch %]";
35 var exports_enabled = "[% exports_enabled %]";
36 var AllowRenewalLimitOverride = [% (CAN_user_circulate_override_renewals && AllowRenewalLimitOverride)? 1: 0 %];
37 var script = "moremember";
38 var relatives_borrowernumbers = new Array();
39 [% FOREACH b IN relatives_borrowernumbers %]
40     relatives_borrowernumbers.push("[% b %]");
41 [% END %]
42
43 var MSG_ADD_MESSAGE = _("Add a new message");
44 var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export");
45
46 columns_settings = [% ColumnsSettings.GetColumns( 'member', 'moremember', 'issues-table', 'json' ) %]
47
48 $(document).ready(function() {
49     $('#finesholdsissues').tabs({
50         // Correct table sizing for tables hidden in tabs
51         // http://www.datatables.net/examples/api/tabs_and_scrolling.html
52         "show": function(event, ui) {
53             var oTable = $('div.dataTables_wrapper>table', ui.panel).dataTable();
54             if ( oTable.length > 0 ) {
55                 oTable.fnAdjustColumnSizing();
56             }
57         },
58         "activate": function( event, ui ) {
59             $('#'+ui.newTab.context.id).click();
60         }
61     } );
62     $("#holdst").dataTable($.extend(true, {}, dataTablesDefaults, {
63         "sDom": 't',
64         "aoColumnDefs": [
65             { "aTargets": [ -1,-2 ], "bSortable": false, "bSearchable": false }
66         ],
67         "aoColumns": [
68             { "sType": "title-string" },{ "sType": "anti-the" },null,null,null,null,null,null
69         ],
70         "bPaginate": false
71     }));
72     [% IF ( picture ) %]
73     // new YAHOO.widget.Button("delpicture");   // FIXME: formatting mismatch between YUI and normal button
74         $('#delpicture').click(function(){
75                  return confirm(_("Are you sure you want to delete this patron image? This cannot be undone."));
76         });
77         $('#manage-patron-image').find("input[value*=Upload]").click(function(){
78         if($("#uploadfile").val() == ""){
79             alert(_("Please choose a file to upload"));
80             return false;
81         }
82         return confirm(_("Are you sure you want to replace the current patron image? This cannot be undone."));
83         });[% END %]
84
85     $("#suspend_until").datepicker({ minDate: 1 }); // require that hold suspended until date is after today
86     $("#newduedate").datetimepicker({
87         minDate: 1, // require that renewal date is after today
88         hour: 23,
89         minute: 59
90     });
91  });
92 function uncheck_sibling(me){
93 nodename=me.getAttribute("name");
94 if (nodename =="barcodes[]"){
95     var Node=me.parentNode.previousSibling;
96     while (Node.nodeName!="TD"){Node=Node.previousSibling}
97     var Nodes=Node.childNodes;
98     for (var i=0;i < Nodes.length;i++){
99       if (Nodes[i].nodeName=="INPUT" && Nodes[i].getAttribute("type")=="checkbox"){
100         Nodes[i].checked=false;
101       }     
102    }   
103
104 }else {
105     var Node=me.parentNode.nextSibling;
106     while (Node.nodeName!="TD"){Node=Node.nextSibling}
107     var Nodes=Node.childNodes;
108     for (var i=0;i<Nodes.length;i++){
109       if (Nodes[i].nodeName=="INPUT" && Nodes[i].getAttribute("type")=="checkbox"){
110         Nodes[i].checked=false;
111       }     
112    }   
113 }
114 }
115 function validate1(date) {
116     var today = new Date();
117     if ( date < today ) {
118         return true;
119      } else {
120         return false;
121      }
122 };
123 //]]>
124 </script>
125
126 </head>
127 <body id="pat_moremember" class="pat">
128 [% INCLUDE 'header.inc' %]
129 [% INCLUDE 'patron-search.inc' %]
130
131 <div id="breadcrumbs">
132          <a href="/cgi-bin/koha/mainpage.pl">Home</a>
133 &rsaquo; <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
134 &rsaquo; [% IF ( unknowuser ) %]Patron does not exist[% ELSE %]Patron details for [% INCLUDE 'patron-title.inc' %][% END %]
135 </div>
136
137 <div id="doc3" class="yui-t1">
138    
139    <div id="bd">
140         <div id="yui-main">
141         <div class="yui-b">
142 [% INCLUDE 'members-toolbar.inc' %]
143 [% IF ( error ) %]
144 <div class="dialog alert">
145     [% IF ( AUTH_UPDATE_FAILED ) %]
146         <h3>Userid / Password update failed</h3>
147         <strong>Insufficient privileges.</strong>
148         <p>Other fields updated.</p>
149     [% END %]
150     [% IF ( CANT_DELETE_STAFF ) %]
151         <h3>Unable to delete staff user</h3>
152         <p>Insufficient privileges.</p>
153     [% END %]
154     [% IF ( CANT_DELETE_OTHERLIBRARY ) %]
155         <h3>Unable to delete patrons from other libraries with current settings</h3>
156         <p>Insufficient privileges.</p>
157     [% END %]
158     [% IF ( CANT_DELETE ) %]
159         <h3>Unable to delete patron</h3>
160         <p>Insufficient privileges.</p>
161     [% END %]
162 </div>
163 [% END %]
164 <div class="yui-g">
165
166 [% IF ( unknowuser ) %]
167    <div class="dialog message">This patron does not exist.</div>
168 [% ELSE %]
169     [% IF ( was_renewed ) %]<div class="dialog message">Patron's account has been renewed until [% dateexpiry %]</div>[% END %]
170
171     [% IF ( flagged ) %]
172     <div id="circmessages" class="circmessage attention">
173         <ul>
174         [% IF ( userdebarred ) %]
175             <li class="blocker">Patron's account is restricted
176                [% IF ( userdebarreddate ) %]
177                    until [% userdebarreddate %]
178                [% END %]
179
180                [% IF ( debarredcomment ) %]
181                    with the explanation: <i>[% debarredcomment | html_line_break %]</i>
182                [% END %]
183                 <a href="#reldebarments" onclick="$('#debarments-tab-link').click()">View restrictions</a>
184             </li>
185         [% END %]
186         [% IF ( gonenoaddress ) %]<li class="blocker">Patron's address is in doubt.</li>[% END %]
187         [% IF ( lost ) %]<li class="blocker">Patron's card has been reported lost.</li>[% END %]
188         </ul>
189     </div>
190     [% END %]
191
192 <h3>[% UNLESS ( I ) %]
193    [% title %] [% firstname %] [% END %] [% surname %] ([% cardnumber %])</h3>
194  <div class="yui-u first">
195 <div id="patron-information" style="padding : .5em;">
196
197      [% UNLESS ( I ) %][% IF ( othernames ) %]&ldquo;[% othernames %]&rdquo;[% END %]
198
199     <div class = "address">
200         [% IF Koha.Preference( 'AddressFormat' ) %]
201             [% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %]
202         [% ELSE %]
203             [% INCLUDE 'member-display-address-style-us.inc' %]
204         [% END %]
205     </div>
206                     
207         <div class="rows">
208                 <ol>
209         [% IF ( I ) %]
210             [% IF ( phonepro ) %]<li><span class="label">Organization phone: </span>[% phonepro %]</li>[% END %]
211             [% IF ( emailpro ) %]<li><span class="label">Organization email: </span>[% emailpro %]</li>[% END %]
212         [% ELSE %]
213             [% IF ( phone ) %]<li><span class="label">Primary phone: </span>[% phone %]</li>[% END %]
214             [% IF ( phonepro ) %]<li><span class="label">Secondary phone: </span>[% phonepro %]</li>[% END %]
215             [% IF ( mobile ) %]<li><span class="label">Other phone: </span>[% mobile %]</li>[% END %]
216         [% END %]
217
218     [% IF ( P ) %]
219         [% IF ( phone ) %]<li><span class="label">Primary phone: </span>[% phone %]</li>[% END %]
220         [% IF ( mobile ) %]<li><span class="label">Other phone: </span>[% mobile %]</li>[% END %]
221     [% END %]           
222         [% IF ( fax ) %]<li><span class="label">Fax: </span>[% fax %]</li>[% END %]
223     [% UNLESS ( I ) %]
224         [% IF ( email ) %]<li><span class="label">Primary email:</span><a href="mailto:[% email %]">[% email %]</a></li>[% END %]
225         [% IF ( emailpro ) %]<li><span class="label">Secondary email: </span><a href="mailto:[% emailpro %]">[% emailpro %]</a></li>[% END %]
226     [% END %]
227     [% IF ( initials ) %]<li><span class="label">Initials: </span>[% initials %]</li>[% END %]
228     [% IF ( dateofbirth ) %]<li><span class="label">Date of birth:</span>[% dateofbirth %]</li>[% END %]
229     [% IF ( sex ) %]<li><span class="label">Gender:</span>
230     [% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex %][% END %]
231     </li>[% END %][% END %]
232     [% IF ( printethnicityline ) %]
233     <li><span class="label">Ethnicity:</span>[% ethnicity %]</li>
234     <li><span class="label">Ethnicity notes: </span>[% ethnotes %]</li>
235     [% END %]
236     [% IF ( isguarantee ) %]
237         [% IF ( guaranteeloop ) %]
238             <li><span class="label">Guarantees:</span><ul>[% FOREACH guaranteeloo IN guaranteeloop %]<li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guaranteeloo.borrowernumber %]">[% guaranteeloo.name %]  </a></li>[% END %]</ul></li>
239         [% END %]
240     [% ELSE %]
241         [% IF ( guarantorborrowernumber ) %]
242             <li><span class="label">Guarantor:</span><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantorborrowernumber %]">[% guarantorsurname %][%IF ( guarantorfirstname ) %], [% guarantorfirstname %] [% END %]</a></li>
243         [% END %]
244     [% END %]
245 </ol>
246 </div>
247       <div class="action">
248         [% IF ( guarantorborrowernumber ) %]
249         <a href="memberentry.pl?op=modify&amp;borrowernumber=[% borrowernumber %]&amp;step=1&amp;guarantorid=[% guarantorborrowernumber %]">Edit</a>
250         [% ELSE %]
251         <a href="memberentry.pl?op=modify&amp;borrowernumber=[% borrowernumber %]&amp;step=1">Edit</a>
252         [% END %]</div>
253
254 </div>
255
256 <!-- Begin Upload Patron Image Section -->
257
258 <div id="manage-patron-image">
259 [% IF ( patronimages ) %]
260     [% IF ( CAN_user_tools_batch_upload_patron_images ) %]
261         <form method="post" action="/cgi-bin/koha/tools/picture-upload.pl" enctype="multipart/form-data">
262             <fieldset class="brief">
263             [% IF ( picture ) %]
264                 <legend>Manage Patron Image</legend>
265                 <div class="hint">To update the image for [% title %] [% surname %], select a new image file and click 'Upload.' <br />Click the 'Delete' button to remove the current image.
266             [% ELSE %]
267                 <legend>Upload Patron Image</legend>
268                 <div class="hint">[% title %] [% firstname %] [% surname %] does not currently have an image available. To import an image for [% title %] [% surname %], enter the name of an image file to upload.
269             [% END %]
270                     <br />Only PNG, GIF, JPEG, XPM formats are supported.
271                 </div>
272                 <input type="hidden" id="image" name="filetype" value="image" />
273                 <input type="hidden" id="cardnumber" name="cardnumber" value="[% cardnumber %]" />
274                 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
275                 <ol>
276                     <li>
277                        <label for="uploadfile">Select the file to upload: </label><input type="file" id="uploadfile" name="uploadfile" />
278                     </li>
279                 </ol>
280                 <fieldset class="action">
281                     <input type="submit" value="Upload" class="submit" />
282                     <input name="op" type="hidden" value="Upload" />
283                     [% IF ( picture ) %]<a id="delpicture" href="/cgi-bin/koha/tools/picture-upload.pl?op=Delete&amp;cardnumber=[% cardnumber %]&amp;borrowernumber=[% borrowernumber %]" class="delete">Delete</a>[% END %]
284                 </fieldset>
285             </fieldset>
286         </form>
287     [% END %]
288 [% END %]
289 </div>
290
291 <!-- End Upload Patron Image Section -->
292
293 [% IF ( ExtendedPatronAttributes ) %]
294 [% UNLESS ( no_patron_attribute_types ) %]
295 <div id="patron-extended-attributes" style="padding-top: 1em;">
296 <h3>Additional attributes and identifiers</h3>
297 [% FOREACH attribute IN attributes_loop %]
298     [% IF attribute.class %]
299         <div id="aai_[% attribute.class %]" class="rows">
300     [% ELSE %]
301         <div id="aai" class="rows">
302     [% END %]
303         <h4>[% attribute.lib %]</h4>
304         <ol>
305         [% FOREACH item IN attribute.items %]
306             <li>
307                 <span class="label">[% item.description %]: </span>
308                 [% IF ( item.value_description ) %]
309                     [% item.value_description %]
310                 [% ELSE %]
311                     [% item.value| html_line_break %]
312                 [% END %]
313             </li>
314         [% END %]
315         </ol>
316     </div>
317 [% END %]
318 </div>
319 <div class="action"><a href="memberentry.pl?op=modify&amp;borrowernumber=[% borrowernumber %]&amp;step=4">Edit</a></div>
320 [% END %]
321 [% END %]
322
323 [% IF ( EnhancedMessagingPreferences ) %]
324 <div id="patron-messaging-prefs" style="padding-top: 1em;">
325 <h3>Patron messaging preferences</h3>
326 [% INCLUDE 'messaging-preference-form.inc' %]
327  [% IF ( SMSSendDriver ) %]
328       <div class="rows"> <ol><li><span class="label">SMS number:</span>[% SMSnumber %]
329      </li></ol></div>
330  [% END %]
331 </div>
332 <div class="action"><a href="memberentry.pl?op=modify&amp;borrowernumber=[% borrowernumber %]&amp;step=5">Edit</a></div>
333 [% END %]
334
335 </div>
336  <div class="yui-u"> 
337  <div id="patron-library-details">
338  <h3>Library use</h3>
339 <div class="rows"> 
340 <ol>
341     <li><span class="label">Card number: </span>[% cardnumber %]</li>
342         <li><span class="label">Borrowernumber: </span> [% borrowernumber %]</li>
343     <li><span class="label">Category: </span>[% description %] ([% categorycode %])</li>
344     <li><span class="label">Registration date: </span>[% dateenrolled %]</li>
345     
346     <li><span class="label">Expiration date: </span>
347     [% IF ( was_renewed ) %]
348             <strong class="reregistrinfo">[% dateexpiry %]</strong>
349     [% ELSE %]
350             [% dateexpiry %]
351     [% END %]
352     </li>
353     
354     <li><span class="label">Library: </span>[% branchname %]</li>
355
356     [% IF ( OPACPrivacy ) %]<li><span class="label">Privacy Pref:</span>
357          [% IF ( privacy0 ) %]Forever[% END %]
358          [% IF ( privacy1 ) %]Default[% END %]
359          [% IF ( privacy2 ) %]Never[% END %]
360     </li>[% END %]
361     [% IF ( sort1 ) %]<li><span class="label">Sort field 1:</span>[% lib1 %]</li>[% END %]
362     [% IF ( sort2 ) %]<li><span class="label">Sort field 2:</span>[% lib2 %]</li>[% END %]
363     <li><span class="label">Username: </span>[% userid %]</li>
364     <li><span class="label">Password: </span>
365     [% IF ( password ) %]
366         *******
367     [% ELSE %]
368         <span class="problem"><a href="/cgi-bin/koha/members/member-password.pl?member=[% borrowernumber %]">Undefined</a></span>
369     [% END %] 
370     </li>
371     [% IF ( borrowernotes ) %]<li><span class="label">Circulation note: </span>[% borrowernotes %]</li>[% END %]
372     [% IF ( opacnote ) %]<li><span class="label">OPAC note:</span>[% opacnote %]</li>[% END %]
373     [% IF Koha.Preference( 'NorwegianPatronDBEnable' ) == 1 %]
374         [% IF ( sync == 1 ) %]
375             <li><span class="label">Activate sync: </span>Yes</li>
376             [% IF ( syncstatus ) %]<li><span class="label">Sync status: </span>[% syncstatus %]</li>[% END %]
377             [% IF ( lastsync ) %]<li><span class="label">Last sync: </span>[% lastsync | $KohaDates %]</li>[% END %]
378         [% ELSE %]
379             <li><span class="label">Activate sync: </span>No</li>
380         [% END %]
381     [% END %]
382         </ol>
383         </div>
384  </div>
385     <div class="action"><a href="memberentry.pl?op=modify&amp;borrowernumber=[% borrowernumber %]&amp;step=3">Edit</a></div>
386  
387     [% UNLESS ( I ) %]
388  <div id="patron-alternate-address" style="padding-top: 1em;">
389     <h3>Alternate address</h3>
390     <div class="rows">  <ol><li><span class="label">Address: </span>[% B_address %]</li>
391       <li><span class="label">Address 2: </span>[% B_address2 %]</li>
392       <li><span class="label">City: </span>[% B_city %]</li>
393       [% IF ( B_state ) %]<li><span class="label">State: </span>[% B_state %]</li>[% END %]
394       <li><span class="label">Zip/Postal code: </span>[% B_zipcode %]</li>
395       [% IF ( B_country ) %]<li><span class="label">Country: </span>[% B_country %]</li>[% END %]
396       [% IF ( B_phone ) %]<li><span class="label">Phone: </span>[% B_phone %]</li>[% END %]
397       [% IF ( B_email ) %]<li><span class="label">Email: </span><a href="mailto:[% B_email %]">[% B_email %]</a></li>[% END %]
398       [% IF ( contactnote ) %]<li><span class="label">Contact note: </span> [% contactnote %]</li>[% END %]
399       </ol>
400     </div>
401 </div>
402 <div class="action"><a href="memberentry.pl?op=modify&amp;borrowernumber=[% borrowernumber %]&amp;step=6">Edit</a></div>
403     [% END %]
404
405  <div id="patron-alternative-contact" style="padding-top: 1em;">
406  <h3>Alternative contact</h3>
407    <div class="rows"> <ol><li><span class="label">Surname: </span>[% altcontactsurname %]</li>
408     <li><span class="label">First name: </span>[% altcontactfirstname %]</li>    
409     <li><span class="label">Address: </span>[% altcontactaddress1 %]</li>
410     <li><span class="label">Address 2: </span>[% altcontactaddress2 %]</li>
411         <li><span class="label">City: </span>[% altcontactaddress3 %]</li>
412     [% IF ( altcontactstate ) %]<li><span class="label">State: </span>[% altcontactstate %]</li>[% END %]
413     <li><span class="label">Zip/Postal code: </span>[% altcontactzipcode %]</li>
414         [% IF ( altcontactcountry ) %]<li><span class="label">Country: </span>[% altcontactcountry %]</li>[% END %]
415     [% IF ( altcontactphone ) %]<li><span class="label">Phone: </span>[% altcontactphone %]</li>[% END %]
416     </ol></div>
417 </div>
418 <div class="action"><a href="memberentry.pl?op=modify&amp;borrowernumber=[% borrowernumber %]&amp;step=2">Edit</a></div>
419
420 </div>
421 </div>
422
423 <div id="finesholdsissues" class="toptabs">
424     <ul>
425         <li><a href="#checkouts">[% issuecount %] Checkout(s)</a></li>
426         [% IF relatives_issues_count %]
427             <li><a href="#relatives-issues" id="relatives-issues-tab">Relatives' checkouts</a></li>
428         [% END %]
429         <li><a href="#finesandcharges">Fines &amp; Charges</a></li>
430         <li>
431             [% IF ( holds_count ) %]
432                 <a href="#reserves" id="holds-tab">[% holds_count %] Hold(s)</a>
433             [% ELSE %]
434                 <a href="#reserves" id="holds-tab">0 Holds</a>
435             [% END %]
436         </li>
437         <li><a id="debarments-tab-link" href="#reldebarments">[% debarments.size %] Restrictions</a></li>
438     </ul>
439
440 [% INCLUDE "checkouts-table.inc" %]
441
442 [% IF ( relatives_issues_count ) %]
443     <div id="relatives-issues">
444         <table id="relatives-issues-table" style="width: 100% !Important;">
445             <thead>
446                 <tr>
447                     <th scope="col">Due date</th>
448                     <th scope="col">Title</th>
449                     <th scope="col">Item type</th>
450                     <th scope="col">Checked out on</th>
451                     <th scope="col">Checked out from</th>
452                     <th scope="col">Call no</th>
453                     <th scope="col">Charge</th>
454                     <th scope="col">Price</th>
455                     <th scope="col">Patron</th>
456                 </tr>
457             </thead>
458         </table>
459     </div>
460 [% END %]
461
462 <div id="finesandcharges">
463     [% IF ( totaldue_raw ) %]
464         <p>Total due: [% totaldue %]</p>
465     [% ELSE %]
466         <p>No outstanding charges</p>
467     [% END %]
468 </div>
469
470 [% INCLUDE borrower_debarments.inc %]
471
472 <div id="reserves">
473 [% IF ( holds_count ) %]
474     <form action="/cgi-bin/koha/reserve/modrequest.pl" method="post">
475         <input type="hidden" name="from" value="circ" />
476         <table id="holds-table" style="width: 100% !Important;">
477             <thead>
478                 <tr>
479                     <th>Hold date</th>
480                     <th>Title</th>
481                     <th>Call number</th>
482                     <th>Barcode</th>
483                     <th>Pickup at</th>
484                     <th>Expiration</th>
485                     <th>Priority</th>
486                     <th>Delete?</th>
487                 </tr>
488             </thead>
489         </table>
490
491         <fieldset class="action">
492             <input type="submit" class="cancel" name="submit" value="Cancel marked holds" />
493         </fieldset>
494     </form>
495
496     [% IF SuspendHoldsIntranet %]
497     <fieldset class="action">
498         <form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post">
499             <input type="hidden" name="from" value="borrower" />
500             <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
501             <input type="submit" value="Suspend all holds" />
502
503             [% IF AutoResumeSuspendedHolds %]
504             <label for="suspend_until">until</label>
505             <input type="text" size="10" id="suspend_until" name="suspend_until"/>
506             <span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span>
507             [% END %]
508         </form>
509     </fieldset>
510
511     <fieldset class="action">
512         <form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post">
513             <input type="hidden" name="from" value="borrower" />
514             <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
515             <input type="hidden" name="suspend" value="0" />
516             <input type="submit" value="Resume all suspended holds" />
517         </form>
518     </fieldset>
519     [% END # IF SuspendHoldsIntranet %]
520
521     [% ELSE %]<p>Patron has nothing on hold.</p>[% END %]
522         </div>
523
524 </div>
525 [% END %] <!-- unknowuser -->
526
527
528 </div>
529 </div>
530 <div class="yui-b">
531 [% INCLUDE 'circ-menu.inc' %]
532 </div>
533 </div>
534 [% INCLUDE 'intranet-bottom.inc' %]