2 [% USE AuthorisedValues %]
5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Koha › Patrons › [% UNLESS blocking_error %]Discharge for [% patron.firstname %] [% patron.surname %] ([% patron.cardnumber %])[% END %]</title>
7 [% INCLUDE 'doc-head-close.inc' %]
9 <body id="discharge" class="discharge">
10 [% INCLUDE 'header.inc' %]
11 [% INCLUDE 'patron-search.inc' %]
13 <div id="breadcrumbs">
14 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
15 › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
16 › [% UNLESS blocking_error %]Discharge for [% patron.firstname %] [% patron.surname %] ([% patron.cardnumber %])[% END %]
19 <div id="doc3" class="yui-t1">
25 [% FOR message IN messages %]
26 <div class="dialog [% message.type %]">
27 [% IF message.code == "unable_to_generate_pdf" %]
28 An error occurs when generating the pdf file.
29 Please contact the administrator to resolve this problem.
33 [% UNLESS can_be_discharged %]
34 <p>Cannot edit discharge: the patron has checked out items.</p>
36 [% IF patron.holds.count %]
37 <p>Borrower has reserves: they will be canceled if the discharge is generated.</p>
40 <input type="submit" value="Generate discharge" name="discharge" />
41 <input type="hidden" value="[% patron.borrowernumber %]" name="borrowernumber" />
45 [% IF validated_discharges %]
46 <h2>Already validated discharges</h2>
55 [% FOR d IN validated_discharges %]
57 <td>[% d.needed | $KohaDates with_hours = 1 %]</td>
58 <td>[% d.validated | $KohaDates with_hours = 1 %]</td>
71 [% INCLUDE 'circ-menu.inc' %]
75 [% MACRO jsinclude BLOCK %]
76 <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu_[% KOHA_VERSION %].js"></script>
79 [% INCLUDE 'intranet-bottom.inc' %]