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 36-42 Link Here
36
                [% CASE 'hold_cancelled' %]
36
                [% CASE 'hold_cancelled' %]
37
                    <span>The hold has been correctly cancelled.</span>
37
                    <span>The hold has been correctly cancelled.</span>
38
                [% CASE 'hold_placed_at_biblio_level' %]
38
                [% CASE 'hold_placed_at_biblio_level' %]
39
                    <span>The hold has been placed at biblio level. It is not possible to mark it as lost.</span>
39
                    <span>The hold has been placed on biblio level. It is not possible to determine the item to mark as lost.</span>
40
                [% CASE %]
40
                [% CASE %]
41
                    [% m.code %]
41
                    [% m.code %]
42
                [% END %]
42
                [% END %]
Lines 120-135 Link Here
120
            </form>
120
            </form>
121
121
122
        [% IF Koha.Preference('CanMarkHoldsToPullAsLost') != 'do_not_allow' %]
122
        [% IF Koha.Preference('CanMarkHoldsToPullAsLost') != 'do_not_allow' %]
123
            <form name="cancelReserve" action="/cgi-bin/koha/circ/pendingreserves.pl" method="post">
123
            [% IF reserveloo.itemnumber %]
124
                <input type="hidden" name="reserve_id" value="[% reserveloo.reserve_id %]" />
124
                <form name="cancelReserve" action="/cgi-bin/koha/circ/pendingreserves.pl" method="post">
125
                [% IF Koha.Preference('CanMarkHoldsToPullAsLost') == 'allow' %]
125
                    <input type="hidden" name="reserve_id" value="[% reserveloo.reserve_id %]" />
126
                    <input type="hidden" name="op" value="mark_as_lost" />
126
                    [% IF Koha.Preference('CanMarkHoldsToPullAsLost') == 'allow' %]
127
                    <input type="submit" value="Mark item as lost" />
127
                        <input type="hidden" name="op" value="mark_as_lost" />
128
                [% ELSIF Koha.Preference('CanMarkHoldsToPullAsLost') == 'allow_and_notify' %]
128
                        <input type="submit" value="Mark item as lost" />
129
                    <input type="hidden" name="op" value="mark_as_lost_and_notify" />
129
                    [% ELSIF Koha.Preference('CanMarkHoldsToPullAsLost') == 'allow_and_notify' %]
130
                    <input type="submit" value="Mark item as lost and notify the patron" />
130
                        <input type="hidden" name="op" value="mark_as_lost_and_notify" />
131
                [% END %]
131
                        <input type="submit" value="Mark item as lost and notify the patron" />
132
            </form>
132
                    [% END %]
133
                </form>
134
            [% ELSE %]
135
                <span>Biblio level hold.</span>
136
            [% END %]
133
        [% END %]
137
        [% END %]
134
        </tr>
138
        </tr>
135
        [% END %]
139
        [% END %]
136
- 

Return to bug 19287