2 [% USE AdditionalContents %]
3 [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode, blocktitle => 0 ) %]
4 [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode, blocktitle => 0 ) %]
5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Discharge › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
7 [% INCLUDE 'doc-head-close.inc' %]
8 [% BLOCK cssinclude %][% END %]
10 <body id="opac-discharge" class="scrollto">
11 [% INCLUDE 'masthead.inc' %]
14 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
15 <ol class="breadcrumb">
16 <li class="breadcrumb-item">
17 <a href="/cgi-bin/koha/opac-main.pl">Home</a>
19 <li class="breadcrumb-item active">
20 <a href="#" aria-current="page">Discharge</a>
23 </nav> <!-- /#breadcrumbs -->
25 <div class="container-fluid">
27 <div class="col-lg-2">
29 [% INCLUDE 'navigation.inc' IsPatronPage=1 %]
32 <div class="col-10 order-first order-md-first order-lg-2">
33 <div id="discharge" class="maincontent">
35 [% FOR message IN messages %]
36 <div class="dialog [% message.type | html %]">
37 [% IF message.code == "unable_to_generate_pdf" %]
38 An error occurs when generating the pdf file.
39 Please contact the staff to resolve this problem.
45 <p>Your discharge request has been sent. Your discharge will be available on this page within a few days.</p>
47 <a href="/cgi-bin/koha/opac-discharge.pl?op=get">Get your discharge</a></li>
49 <p>Your discharge will be available on this page within a few days.</p>
50 [% ELSIF has_issues %]
51 <p>You cannot be discharged, you have checked out items. Please return items before asking for a discharge.</p>
52 [% ELSIF not messages %]
53 <h2>What is a discharge?</h2>
54 <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>
55 <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>
56 [% IF has_checkouts %]
57 <div class="alert alert-info">You cannot be discharged, you have checked out items. Please return items before asking for a discharge.</div>
59 <a class="btn btn-primary" href="/cgi-bin/koha/opac-discharge.pl?op=request">Ask for a discharge</a>
63 </div> <!-- / #discharge -->
64 </div> <!-- / .col-10 -->
65 </div> <!-- / .row -->
66 </div> <!-- / .container-fluid -->
67 </div> <!-- / .main -->
69 [% INCLUDE 'opac-bottom.inc' %]
70 [% BLOCK jsinclude %][% END %]