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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt (-6 / +13 lines)
Lines 50-65 Link Here
50
50
51
    [% FOREACH ITEM_DAT IN ITEM_DATA %]
51
    [% FOREACH ITEM_DAT IN ITEM_DATA %]
52
    <div class="yui-g">
52
    <div class="yui-g">
53
         <h3 id="item[% ITEM_DAT.itemnumber | html %]">Barcode [% ITEM_DAT.barcode | html %]  [% IF ( ITEM_DAT.notforloantext ) %][% ITEM_DAT.notforloantext | html %] [% END %]</h3>
53
        <h3 id="item[% ITEM_DAT.itemnumber | html %]">Barcode [% ITEM_DAT.barcode | html %]  [% IF ( ITEM_DAT.notforloantext ) %][% ITEM_DAT.notforloantext | html %] [% END %]</h3>
54
        [% IF ((ITEM_DAT.itemnumber == lostitemnumber) && (LostItemLevelHold)) %]
54
        [% IF ((ITEM_DAT.itemnumber == lostitemnumber) && (LostItemLevelHold)) %]
55
        <div class="alert alert-warning">
55
        <div class="dialog alert">
56
            <form id="DeallocateLostItemLevelHold" method="post" action="updateitem.pl" name="DeallocateLostItemLevelHold">
56
            <h4>This item has an item-level hold on it:</h4>
57
            <form method="post" action="updateitem.pl">
57
                <input type="hidden" name="biblionumber" value="[% biblionumber | html %]"/>
58
                <input type="hidden" name="biblionumber" value="[% biblionumber | html %]"/>
58
                <input type="hidden" name="itemnumber" value="[% lostitemnumber | html %]"/>
59
                <input type="hidden" name="itemnumber" value="[% lostitemnumber | html %]"/>
59
                <input type="hidden" name="itemlost" value="[% itemlost | html %]"/>
60
                <input type="hidden" name="itemlost" value="[% itemlost | html %]"/>
60
                This item has an item-level hold on it:
61
                <input type="hidden" name="RetainHold" value="RetainHold" />
61
                <input type="submit" name="RetainHold" value="Retain Hold"/>
62
                <button class="approve" type="submit"><i class="fa fa-fw fa-check"></i> Retain hold</button>
62
                <input type="submit" name="CancelHold" value="Cancel Hold"/>
63
            </form>
64
            <form method="post" action="updateitem.pl">
65
                <input type="hidden" name="biblionumber" value="[% biblionumber | html %]"/>
66
                <input type="hidden" name="itemnumber" value="[% lostitemnumber | html %]"/>
67
                <input type="hidden" name="itemlost" value="[% itemlost | html %]"/>
68
                <input type="hidden" name="CancelHold" value="CancelHold" />
69
                <button class="deny" type="submit"><i class="fa fa-fw fa-remove"></i> Cancel hold</button>
63
            </form>
70
            </form>
64
        </div>
71
        </div>
65
    [% END %]
72
    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt (-14 / +19 lines)
Lines 247-252 function confirm_deletion() { Link Here
247
</div>
247
</div>
248
<div class="yui-u">
248
<div class="yui-u">
249
<div id="cataloguing_additem_newitem">
249
<div id="cataloguing_additem_newitem">
250
251
    [% IF (LostItemLevelHold) %]
252
        <div class="dialog alert">
253
            <h4>This item has an item-level hold on it:</h4>
254
            <form method="get" action="/cgi-bin/koha/cataloguing/additem.pl">
255
                <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
256
                <button class="approve" type="submit"><i class="fa fa-fw fa-check"></i> Retain hold</button>
257
            </form>
258
            <form method="post" action="/cgi-bin/koha/cataloguing/additem.pl">
259
                <input type="hidden" name="itemnumber" value="[% lostitemnumber | html %]" />
260
                <input type="hidden" name="op" value="additem" />
261
                <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
262
                <input type="hidden" name="RetainHold" value="" />
263
                <input type="hidden" name="CancelHold" value="CancelHold" />
264
                <button class="deny" type="submit"><i class="fa fa-fw fa-remove"></i> Cancel hold</button>
265
            </form>
266
        </div>
267
    [% END %]
268
250
    <form id="f" method="post" action="/cgi-bin/koha/cataloguing/additem.pl" name="f">
269
    <form id="f" method="post" action="/cgi-bin/koha/cataloguing/additem.pl" name="f">
251
    <input type="hidden" name="op" value="[% op | html %]" />
270
    <input type="hidden" name="op" value="[% op | html %]" />
252
    [% IF (popup) %]
271
    [% IF (popup) %]
Lines 259-277 function confirm_deletion() { Link Here
259
        <h2 id="edititem">Edit Item #[% itemnumber | html %][% IF ( barcode ) %] / Barcode [% barcode | html %][% END %]</h2>
278
        <h2 id="edititem">Edit Item #[% itemnumber | html %][% IF ( barcode ) %] / Barcode [% barcode | html %][% END %]</h2>
260
    [% END %]
279
    [% END %]
261
280
262
263
    [% IF (LostItemLevelHold) %]
264
        <div class="alert alert-warning">
265
            <form id="DeallocateLostItemLevelHold" method="post" action="/cgi-bin/koha/cataloguing/additem.pl" name="DeallocateLostItemLevelHold">
266
                <input type="hidden" id="itemnumber" name="itemnumber" value="[% lostitemnumber | html %]"/>
267
                This item has an item-level hold on it:
268
                <input type="submit" name="RetainHold" value="Retain Hold"/>
269
                <input type="submit" name="CancelHold" value="Cancel hold"/>
270
            </form>
271
        </div>
272
    [% END %]
273
274
275
	<fieldset class="rows">
281
	<fieldset class="rows">
276
	<ol>
282
	<ol>
277
        [% FOREACH ite IN item %]
283
        [% FOREACH ite IN item %]
278
- 

Return to bug 20844