View | Details | Raw Unified | Return to bug 37039
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt (-2 / +5 lines)
Lines 52-58 Link Here
52
                        [% IF has_checkouts %]
52
                        [% IF has_checkouts %]
53
                            <div class="alert alert-info">You cannot be discharged, you have checked out items. Please return items before asking for a discharge.</div>
53
                            <div class="alert alert-info">You cannot be discharged, you have checked out items. Please return items before asking for a discharge.</div>
54
                        [% ELSE %]
54
                        [% ELSE %]
55
                            <a class="btn btn-primary" href="/cgi-bin/koha/opac-discharge.pl?op=request">Ask for a discharge</a>
55
                            <form action="/cgi-bin/koha/opac-discharge.pl" method="post">
56
                                [% INCLUDE 'csrf-token.inc' %]
57
                                <input type="hidden" name="op" value="cud-request" />
58
                                <button class="btn btn-primary" type="submit">Ask for a discharge</button>
59
                            </form>
56
                        [% END %]
60
                        [% END %]
57
61
58
                    [% END %]
62
                    [% END %]
59
- 

Return to bug 37039