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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc (-24 / +26 lines)
Lines 4-14 Link Here
4
<table class="holds_table">
4
<table class="holds_table">
5
    <tr>
5
    <tr>
6
        <th><input type="checkbox" class="select_hold_all"/></th>
6
        <th><input type="checkbox" class="select_hold_all"/></th>
7
        <th>Priority</th>
7
        [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %]
8
        [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %]
8
            <th>Priority</th>
9
            <th>&nbsp;</th>
9
            <th>&nbsp;</th>
10
        [% ELSE %]
11
            <th>Delete?</th>
12
        [% END %]
10
        [% END %]
13
        <th>Patron</th>
11
        <th>Patron</th>
14
        <th>Notes</th>
12
        <th>Notes</th>
Lines 55-84 Link Here
55
                <input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" />
53
                <input type="hidden" name="reserve_id" value="[% hold.reserve_id | html %]" />
56
                <input type="hidden" name="borrowernumber" value="[% hold.borrowernumber | html %]" />
54
                <input type="hidden" name="borrowernumber" value="[% hold.borrowernumber | html %]" />
57
                <input type="hidden" name="biblionumber" value="[% hold.biblionumber | html %]" />
55
                <input type="hidden" name="biblionumber" value="[% hold.biblionumber | html %]" />
58
                [% IF Koha.Preference('HoldsSplitQueue') == "nothing" && !hold.found %]
56
                [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %]
59
                    <select name="rank-request" class="rank-request" data-hold-id="[% hold.reserve_id | html %]">
57
                    [% IF Koha.Preference('HoldsSplitQueue') == "nothing" && !hold.found %]
60
                    [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %]
58
                        <select name="rank-request" class="rank-request" data-hold-id="[% hold.reserve_id | html %]">
61
                        [% PROCESS priority_dropdown %]
59
                        [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %]
62
                    [% ELSE %]
60
                            [% PROCESS priority_dropdown %]
63
                        <option value="[% hold.priority | html %]" selected="selected">[% this_priority | html %]</option>
64
                    [% END %]
65
                        <option value="del">del</option>
66
                    </select>
67
                [% ELSE %]
68
                    <input type="hidden" name="rank-request" class="rank-request" value="[% hold.priority | html %]" data-hold-id="[% hold.reserve_id | html %]">
69
                    <select name="rank-request" class="rank-request" disabled="disabled" data-hold-id="[% hold.reserve_id | html %]">
70
                    [% IF ( hold.found ) %]
71
                        [% IF ( hold.intransit ) %]
72
                            <option value="T" selected="selected">In transit</option>
73
                        [% ELSIF (hold.inprocessing) %]
74
                            <option value="P" selected="selected">In processing</option>
75
                        [% ELSE %]
61
                        [% ELSE %]
76
                            <option value="W" selected="selected">Waiting</option>
62
                            <option value="[% hold.priority | html %]" selected="selected">[% this_priority | html %]</option>
77
                        [% END %]
63
                        [% END %]
64
                            <option value="del">del</option>
65
                        </select>
78
                    [% ELSE %]
66
                    [% ELSE %]
79
                        <option value="[% hold.priority | html %]" selected="selected">[% this_priority | html %]</option>
67
                        <input type="hidden" name="rank-request" class="rank-request" value="[% hold.priority | html %]" data-hold-id="[% hold.reserve_id | html %]">
68
                        <select name="rank-request" class="rank-request" disabled="disabled" data-hold-id="[% hold.reserve_id | html %]">
69
                        [% IF ( hold.found ) %]
70
                            [% IF ( hold.intransit ) %]
71
                                <option value="T" selected="selected">In transit</option>
72
                            [% ELSIF (hold.inprocessing) %]
73
                                <option value="P" selected="selected">In processing</option>
74
                            [% ELSE %]
75
                                <option value="W" selected="selected">Waiting</option>
76
                            [% END %]
77
                        [% ELSE %]
78
                            <option value="[% hold.priority | html %]" selected="selected">[% this_priority | html %]</option>
79
                        [% END %]
80
                        </select>
80
                    [% END %]
81
                    [% END %]
81
                    </select>
82
                [% ELSE %]
83
                    <input type="hidden" name="rank-request" class="rank-request" value="[% hold.priority | html %]" data-hold-id="[% hold.reserve_id | html %]">
84
                    [% hold.priority | html %]
82
                [% END %]
85
                [% END %]
83
            </td>
86
            </td>
84
            [%- IF ( CAN_user_reserveforothers_modify_holds_priority ) -%]
87
            [%- IF ( CAN_user_reserveforothers_modify_holds_priority ) -%]
85
- 

Return to bug 30213