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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc (-2 / +5 lines)
Lines 1-6 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %]
2
[% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %]
3
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
4
5
[% #This include depends on the asset js/form-submit.js. Any template making use of this include must import form-submit.js as well. %]
6
[% #FIXME can form-submit.js be imported into this file directly? %]
7
4
<table id="patron_holds_table" class="holds_table">
8
<table id="patron_holds_table" class="holds_table">
5
    <thead>
9
    <thead>
6
        <tr>
10
        <tr>
Lines 257-263 Link Here
257
                        [%- END -%]
261
                        [%- END -%]
258
                    [%- END # IF SuspendHoldsIntranet -%]
262
                    [%- END # IF SuspendHoldsIntranet -%]
259
                    [%- IF ( hold.found ) -%]
263
                    [%- IF ( hold.found ) -%]
260
                        <a class="btn btn-default  submit-form-link" href="#" id="revert_hold_[% hold.reserve_id | html %]" data-op="cud-move" data-where="down" data-first_priority="[% first_priority | uri %]" data-last_priority="[% last_priority | uri %]" data-prev_priority="0" data-next_priority="1" data-borrowernumber="[% hold.borrowernumber | uri %]" data-biblionumber="[% hold.biblionumber | uri %]" data-itemnumber="[% hold.itemnumber | uri %]" data-reserve_id="[% hold.reserve_id | uri %]" data-date="[% hold.date | uri %]" data-action="request.pl" data-method="post">[% IF hold.intransit %]Revert transit status[% ELSE %]Revert waiting status[% END %]</a>
264
                        <a class="btn btn-default  submit-form-link" href="#" id="revert_hold_[% hold.reserve_id | html %]" data-op="cud-move" data-where="down" data-first_priority="[% first_priority | html %]" data-last_priority="[% last_priority | html %]" data-prev_priority="0" data-next_priority="1" data-borrowernumber="[% hold.borrowernumber | html %]" data-biblionumber="[% hold.biblionumber | html %]" data-itemnumber="[% hold.itemnumber | html %]" data-reserve_id="[% hold.reserve_id | html %]" data-date="[% hold.date | html %]" data-action="request.pl" data-method="post">[% IF hold.intransit %]Revert transit status[% ELSE %]Revert waiting status[% END %]</a>
261
                    [%- END -%]
265
                    [%- END -%]
262
                </td>
266
                </td>
263
                [% IF ( hold.intransit || hold.atdestination ) %]
267
                [% IF ( hold.intransit || hold.atdestination ) %]
264
- 

Return to bug 36735