|
Lines 49-55
Link Here
|
| 49 |
available on your reader account.</p |
49 |
available on your reader account.</p |
| 50 |
> |
50 |
> |
| 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> |
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> |
| 52 |
[% UNLESS can_be_discharged %] |
52 |
[% IF can_be_discharged %] |
|
|
53 |
<form action="/cgi-bin/koha/opac-discharge.pl" method="post"> |
| 54 |
[% INCLUDE 'csrf-token.inc' %] |
| 55 |
<input type="hidden" name="op" value="cud-request" /> |
| 56 |
<button class="btn btn-primary" type="submit">Ask for a discharge</button> |
| 57 |
</form> |
| 58 |
[% ELSE %] |
| 53 |
[% IF failure %] |
59 |
[% IF failure %] |
| 54 |
<p> There was an error during the discharge process </p> |
60 |
<p> There was an error during the discharge process </p> |
| 55 |
[% END %] |
61 |
[% END %] |
|
Lines 67-78
Link Here
|
| 67 |
[% END %] |
73 |
[% END %] |
| 68 |
</ul> |
74 |
</ul> |
| 69 |
</div> |
75 |
</div> |
| 70 |
[% ELSE %] |
|
|
| 71 |
<form action="/cgi-bin/koha/opac-discharge.pl" method="post"> |
| 72 |
[% INCLUDE 'csrf-token.inc' %] |
| 73 |
<input type="hidden" name="op" value="cud-request" /> |
| 74 |
<button class="btn btn-primary" type="submit">Ask for a discharge</button> |
| 75 |
</form> |
| 76 |
[% END %] |
76 |
[% END %] |
| 77 |
[% END %] |
77 |
[% END %] |
| 78 |
</div> |
78 |
</div> |
| 79 |
- |
|
|