4 [% USE AuthorisedValues %]
7 [% INCLUDE 'doc-head-open.inc' %]
8 <title>Koha › Patrons › [% UNLESS blocking_error %]Discharge for [% patron.firstname | html %] [% patron.surname | html %] ([% patron.cardnumber | html %])[% END %]</title>
9 [% INCLUDE 'doc-head-close.inc' %]
11 <body id="discharge" class="discharge">
12 [% INCLUDE 'header.inc' %]
13 [% INCLUDE 'patron-search.inc' %]
15 <div id="breadcrumbs">
16 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
17 › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
18 › [% UNLESS blocking_error %]Discharge for [% patron.firstname | html %] [% patron.surname | html %] ([% patron.cardnumber | html %])[% END %]
21 <div class="main container-fluid">
23 <div class="col-sm-10 col-sm-push-2">
26 [% INCLUDE 'members-toolbar.inc' %]
29 [% FOR message IN messages %]
30 <div class="dialog [% message.type | html %]">
31 [% IF message.code == "unable_to_generate_pdf" %]
32 An error occurs when generating the PDF file.
33 Please contact the administrator to resolve this problem.
37 [% UNLESS can_be_discharged %]
38 <p>Cannot edit discharge: the patron has checked out items.</p>
40 [% IF patron.holds.count %]
41 <p>Patron has holds. They will be cancelled if the discharge is generated.</p>
44 <input type="submit" value="Generate discharge" name="discharge" />
45 <input type="hidden" value="[% patron.borrowernumber | html %]" name="borrowernumber" />
49 [% IF validated_discharges %]
50 <h2>Already validated discharges</h2>
59 [% FOR d IN validated_discharges %]
61 <td>[% d.needed | $KohaDates with_hours = 1 %]</td>
62 <td>[% d.validated | $KohaDates with_hours = 1 %]</td>
70 </div> <!-- /.col-sm-10.col-sm-push-2 -->
72 <div class="col-sm-2 col-sm-pull-10">
74 [% INCLUDE 'circ-menu.inc' %]
76 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
79 [% MACRO jsinclude BLOCK %]
80 [% INCLUDE 'str/members-menu.inc' %]
81 [% Asset.js("js/members-menu.js") | $raw %]
84 [% INCLUDE 'intranet-bottom.inc' %]