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