[% USE raw %] [% USE Asset %] [% USE KohaDates %] [% USE AuthorisedValues %] [% USE Branches %] [% PROCESS 'i18n.inc' %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] [% FILTER collapse %] [% UNLESS blocking_error %] [% t("Discharge for") | html %] [% INCLUDE 'patron-title.inc' no_html = 1 %] › [% END %] [% t("Patrons") | html %] › [% t("Koha") | html %] [% END %] [% INCLUDE 'doc-head-close.inc' %] [% WRAPPER 'header.inc' %] [% INCLUDE 'patron-search-header.inc' %] [% END %] [% WRAPPER 'sub-header.inc' %] [% WRAPPER breadcrumbs %] [% WRAPPER breadcrumb_item %] Patrons [% END %] [% WRAPPER breadcrumb_item %] [% INCLUDE 'patron-title.inc' %] [% END %] [% WRAPPER breadcrumb_item bc_active= 1 %] Discharge [% END %] [% END #/ WRAPPER breadcrumbs %] [% END #/ WRAPPER sub-header.inc %]
[% INCLUDE 'members-toolbar.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' %]