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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc (-1 / +20 lines)
Lines 175-180 Link Here
175
                    [%- ELSE -%]
175
                    [%- ELSE -%]
176
                        [%- IF ( hold.item_level_hold ) -%]
176
                        [%- IF ( hold.item_level_hold ) -%]
177
                            <em>
177
                            <em>
178
                                [%- IF ! hold.change_hold_type_allowed -%]
178
                                <span>Only item</span>
179
                                <span>Only item</span>
179
                                <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% hold.biblionumber | uri %]&amp;itemnumber=[% hold.itemnumber | uri %]#item[% hold.itemnumber | uri %]">
180
                                <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% hold.biblionumber | uri %]&amp;itemnumber=[% hold.itemnumber | uri %]#item[% hold.itemnumber | uri %]">
180
                                    [%- IF ( hold.barcodenumber ) -%]
181
                                    [%- IF ( hold.barcodenumber ) -%]
Lines 184-189 Link Here
184
                                        <span>No barcode</span>
185
                                        <span>No barcode</span>
185
                                    [%- END -%]
186
                                    [%- END -%]
186
                                </a>
187
                                </a>
188
                                [%- ELSE -%]
189
                                        <select name="change_hold_type_[% hold.reserve_id | html %]">
190
                                        <option selected="selected" value="">Only item [%- IF ( hold.barcodenumber ) -%]
191
                                            [%- hold.barcodenumber | html -%]
192
                                        [%- ELSE -%]
193
                                            No barcode
194
                                        [%- END -%]
195
                                        </option>
196
                                        <option value="1">Next available</option>
197
                                    </select>
198
                                    [%- IF ( hold.barcodenumber ) -%]
199
                                        <input type="hidden" name="itemnumber" value="[% hold.itemnumber | html %]" />
200
                                    [%- END -%]
201
                                    [%- IF hold.itemtype -%]
202
                                        <span style="display:none">Next available [% ItemTypes.GetDescription( hold.itemtype ) | html %] item</span>
203
                                    [%- ELSE -%]
204
                                        <span style="display:none">Next available</span>
205
                                    [%- END -%]
206
                                [%- END -%]
187
                            </em>
207
                            </em>
188
                        [%- ELSE -%]
208
                        [%- ELSE -%]
189
                            [%- IF hold.itemtype -%]
209
                            [%- IF hold.itemtype -%]
190
- 

Return to bug 35483