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

(-)a/circ/pendingreserves.pl (-1 / +1 lines)
Lines 177-183 my $strsth = Link Here
177
                    ORDER BY items.itemnumber SEPARATOR '|') l_holdingbranch,
177
                    ORDER BY items.itemnumber SEPARATOR '|') l_holdingbranch,
178
            reserves.biblionumber,
178
            reserves.biblionumber,
179
            reserves.branchcode as l_branch,
179
            reserves.branchcode as l_branch,
180
            items.itemnumber,
180
            reserves.itemnumber,
181
            items.holdingbranch,
181
            items.holdingbranch,
182
            items.homebranch,
182
            items.homebranch,
183
            GROUP_CONCAT(DISTINCT items.itype 
183
            GROUP_CONCAT(DISTINCT items.itype 
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt (-12 / +15 lines)
Lines 35-41 Link Here
35
                [% CASE 'hold_cancelled' %]
35
                [% CASE 'hold_cancelled' %]
36
                    <span>The hold has been correctly cancelled.</span>
36
                    <span>The hold has been correctly cancelled.</span>
37
                [% CASE 'hold_placed_at_biblio_level' %]
37
                [% CASE 'hold_placed_at_biblio_level' %]
38
                    <span>The hold has been placed at biblio level. It is not possible to mark it as lost.</span>
38
                    <span>The hold has been placed on biblio level. It is not possible to determine the item to mark as lost.</span>
39
                [% CASE %]
39
                [% CASE %]
40
                    [% m.code %]
40
                    [% m.code %]
41
                [% END %]
41
                [% END %]
Lines 119-134 Link Here
119
            </form>
119
            </form>
120
120
121
        [% IF Koha.Preference('CanMarkHoldsToPullAsLost') != 'do_not_allow' %]
121
        [% IF Koha.Preference('CanMarkHoldsToPullAsLost') != 'do_not_allow' %]
122
            <form name="cancelReserve" action="/cgi-bin/koha/circ/pendingreserves.pl" method="post">
122
            [% IF reserveloo.itemnumber %]
123
                <input type="hidden" name="reserve_id" value="[% reserveloo.reserve_id %]" />
123
                <form name="cancelReserve" action="/cgi-bin/koha/circ/pendingreserves.pl" method="post">
124
                [% IF Koha.Preference('CanMarkHoldsToPullAsLost') == 'allow' %]
124
                    <input type="hidden" name="reserve_id" value="[% reserveloo.reserve_id %]" />
125
                    <input type="hidden" name="op" value="mark_as_lost" />
125
                    [% IF Koha.Preference('CanMarkHoldsToPullAsLost') == 'allow' %]
126
                    <input type="submit" value="Mark item as lost" />
126
                        <input type="hidden" name="op" value="mark_as_lost" />
127
                [% ELSIF Koha.Preference('CanMarkHoldsToPullAsLost') == 'allow_and_notify' %]
127
                        <input type="submit" value="Mark item as lost" />
128
                    <input type="hidden" name="op" value="mark_as_lost_and_notify" />
128
                    [% ELSIF Koha.Preference('CanMarkHoldsToPullAsLost') == 'allow_and_notify' %]
129
                    <input type="submit" value="Mark item as lost and notify the patron" />
129
                        <input type="hidden" name="op" value="mark_as_lost_and_notify" />
130
                [% END %]
130
                        <input type="submit" value="Mark item as lost and notify the patron" />
131
            </form>
131
                    [% END %]
132
                </form>
133
            [% ELSE %]
134
                <span>Biblio level hold.</span>
135
            [% END %]
132
        [% END %]
136
        [% END %]
133
        </tr>
137
        </tr>
134
        [% END %]
138
        [% END %]
135
- 

Return to bug 19287