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