[% USE raw %] [% USE Asset %] [% USE KohaDates %] [% USE AuthorisedValues %] [% USE Branches %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Patrons › [% UNLESS blocking_error %]Discharge for [% patron.firstname | html %] [% patron.surname | html %] ([% patron.cardnumber | html %])[% END %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'patron-search.inc' %]

Discharge

[% FOR message IN messages %]
[% IF message.code == "unable_to_generate_pdf" %] An error occurs when generating the pdf file. Please contact the administrator to resolve this problem. [% END %]
[% END %] [% UNLESS can_be_discharged %]

Cannot edit discharge: the patron has checked out items.

[% ELSE %] [% IF patron.holds.count %]

Patron has holds. They will be cancelled if the discharge is generated.

[% END %]
[% END %] [% IF validated_discharges %]

Already validated discharges

[% FOR d IN validated_discharges %] [% END %]
Requested Validated
[% d.needed | $KohaDates with_hours = 1 %] [% d.validated | $KohaDates with_hours = 1 %]
[% END %]
[% MACRO jsinclude BLOCK %] [% INCLUDE 'str/members-menu.inc' %] [% Asset.js("js/members-menu.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]