Lines 43-56
Link Here
|
43 |
<a href="/cgi-bin/koha/opac-discharge.pl?op=get">Get your discharge</a></li> |
43 |
<a href="/cgi-bin/koha/opac-discharge.pl?op=get">Get your discharge</a></li> |
44 |
[% ELSIF pending %] |
44 |
[% ELSIF pending %] |
45 |
<p>Your discharge will be available on this page within a few days.</p> |
45 |
<p>Your discharge will be available on this page within a few days.</p> |
46 |
[% ELSIF has_issues %] |
46 |
[% ELSIF failure %] |
47 |
<p>You cannot be discharged, you have checked out items. Please return items before asking for a discharge.</p> |
47 |
<p>You cannot be discharged, you have checked out items. Please return items before asking for a discharge.</p> |
|
|
48 |
<ul> |
49 |
[% IF has_debt %] |
50 |
<li> You have unpaid fines. Please pay your fines before reapplying.</li> |
51 |
[% END %] |
52 |
[% IF has_issues %] |
53 |
<li> You have checked out items. Please return them before reapplying.</li> |
54 |
[% END %] |
55 |
[% IF !has_issue and !has_debt %] |
56 |
<li> Patron cannot be discharged for an unknown reason, please contact a librarian for more information</li> |
57 |
[% END %] |
58 |
</ul> |
48 |
[% ELSIF not messages %] |
59 |
[% ELSIF not messages %] |
49 |
<h2>What is a discharge?</h2> |
60 |
<h2>What is a discharge?</h2> |
50 |
<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> |
61 |
<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> |
51 |
<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> |
62 |
<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> |
52 |
[% IF has_checkouts %] |
63 |
[% UNLESS can_be_discharged %] |
53 |
<div class="alert alert-info">You cannot be discharged, you have checked out items. Please return items before asking for a discharge.</div> |
64 |
<div class="alert alert-info">You cannot be discharged for following reasons: |
|
|
65 |
<ul> |
66 |
[% IF has_debt %] |
67 |
<li> You have unpaid fines. Please pay your fines before reapplying.</li> |
68 |
[% END %] |
69 |
[% IF has_checkouts %] |
70 |
<li> You have checked out items. Please return them before reapplying.</li> |
71 |
[% END %] |
72 |
[% IF !has_checkouts and !has_debt %] |
73 |
<li> Patron cannot be discharged for an unknown reason, please contact a librarian for more information</li> |
74 |
[% END %] |
75 |
</ul> |
76 |
</div> |
54 |
[% ELSE %] |
77 |
[% ELSE %] |
55 |
<form action="/cgi-bin/koha/opac-discharge.pl" method="post"> |
78 |
<form action="/cgi-bin/koha/opac-discharge.pl" method="post"> |
56 |
[% INCLUDE 'csrf-token.inc' %] |
79 |
[% INCLUDE 'csrf-token.inc' %] |