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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc (+2 lines)
Lines 21-26 Link Here
21
        [% END %]
21
        [% END %]
22
        <th>&nbsp;</th>
22
        <th>&nbsp;</th>
23
        <th>&nbsp;</th>
23
        <th>&nbsp;</th>
24
        <th>Print hold/transfer slip</th>
24
    </tr>
25
    </tr>
25
    [%- SET first_priority = 0 -%]
26
    [%- SET first_priority = 0 -%]
26
    [%- SET found_holds = 0 -%]
27
    [%- SET found_holds = 0 -%]
Lines 210-215 Link Here
210
                    <input type="button" id="revert_hold_[% hold.reserve_id | html %]" value="[% IF hold.intransit %]Revert transit status[% ELSE %]Revert waiting status[% END %]" onclick="window.location.href='request.pl?action=move&amp;where=down&amp;first_priority=[% first_priority | uri %]&amp;last_priority=[% last_priority | uri %]&amp;prev_priority=0&amp;next_priority=1&amp;borrowernumber=[% hold.borrowernumber | uri %]&amp;biblionumber=[% hold.biblionumber | uri %]&amp;itemnumber=[% hold.itemnumber | uri %]&amp;reserve_id=[% hold.reserve_id | uri %]&amp;date=[% hold.date | uri %]'">
211
                    <input type="button" id="revert_hold_[% hold.reserve_id | html %]" value="[% IF hold.intransit %]Revert transit status[% ELSE %]Revert waiting status[% END %]" onclick="window.location.href='request.pl?action=move&amp;where=down&amp;first_priority=[% first_priority | uri %]&amp;last_priority=[% last_priority | uri %]&amp;prev_priority=0&amp;next_priority=1&amp;borrowernumber=[% hold.borrowernumber | uri %]&amp;biblionumber=[% hold.biblionumber | uri %]&amp;itemnumber=[% hold.itemnumber | uri %]&amp;reserve_id=[% hold.reserve_id | uri %]&amp;date=[% hold.date | uri %]'">
211
                [%- END -%]
212
                [%- END -%]
212
            </td>
213
            </td>
214
            <td><input class="printholdslip" type="button" name="printholdslip" value="Print slip" data-reserve_id=[% hold.reserve_id | html %]></td>
213
        </tr>
215
        </tr>
214
    [% END %]
216
    [% END %]
215
</table>
217
</table>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-1 / +5 lines)
Lines 1644-1649 Link Here
1644
            });
1644
            });
1645
1645
1646
        });
1646
        });
1647
        $('.printholdslip').click(function(){
1648
                var reserve_id = $(this).attr('data-reserve_id');
1649
                window.open("/cgi-bin/koha/circ/hold-transfer-slip.pl?reserve_id=" + reserve_id);
1650
                return false;
1651
        })
1647
    </script>
1652
    </script>
1648
[% END %]
1653
[% END %]
1649
1654
1650
- 

Return to bug 29338