2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Discharge › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 [% BLOCK cssinclude %][% END %]
7 <body id="opac-discharge" class="scrollto">
8 [% INCLUDE 'masthead.inc' %]
11 <nav aria-label="breadcrumb">
12 <ul class="breadcrumb">
13 <li class="breadcrumb-item">
14 <a href="/cgi-bin/koha/opac-main.pl">Home</a>
16 <li class="breadcrumb-item active" aria-current="page">
17 <a href="#">Discharge</a>
22 <div class="container-fluid">
24 <div class="col-lg-2">
26 [% INCLUDE 'navigation.inc' IsPatronPage=1 %]
29 <div class="col-10 order-first order-md-first order-lg-2">
30 <div id="discharge" class="maincontent">
32 [% FOR message IN messages %]
33 <div class="dialog [% message.type | html %]">
34 [% IF message.code == "unable_to_generate_pdf" %]
35 An error occurs when generating the pdf file.
36 Please contact the staff to resolve this problem.
42 <p>Your discharge request has been sent. Your discharge will be available on this page within a few days.</p>
44 <a href="/cgi-bin/koha/opac-discharge.pl?op=get">Get your discharge</a></li>
46 <p>Your discharge will be available on this page within a few days.</p>
47 [% ELSIF has_issues %]
48 <p>You cannot be discharged, you have checked out items. Please return items before asking for a discharge.</p>
49 [% ELSIF not messages %]
50 <h2>What is a discharge?</h2>
51 <p>This document certifies that you have returned all borrowed items. It is sometimes asked during a file transfer from a school to another. The discharge is sent by us to your school. You will also find it available on your reader account.</p>
52 <p><strong>Warning</strong>: This request is only valid if you are in good standing with the library. Once the application is made, you can not borrow library materials.</p>
53 [% IF has_checkouts %]
54 <div class="alert alert-info">You cannot be discharged, you have checked out items. Please return items before asking for a discharge.</div>
56 <a class="btn btn-primary" href="/cgi-bin/koha/opac-discharge.pl?op=request">Ask for a discharge</a>
60 </div> <!-- / #discharge -->
61 </div> <!-- / .col-10 -->
62 </div> <!-- / .row -->
63 </div> <!-- / .container-fluid -->
64 </div> <!-- / .main -->
66 [% INCLUDE 'opac-bottom.inc' %]
67 [% BLOCK jsinclude %][% END %]