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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (-1 / +9 lines)
Lines 200-207 Link Here
200
                                    [% IF ( bibitemloo.already_reserved ) %]
200
                                    [% IF ( bibitemloo.already_reserved ) %]
201
                                        <div class="alert alert-warning">You have already requested this title.</div>
201
                                        <div class="alert alert-warning">You have already requested this title.</div>
202
                                    [% ELSE %]
202
                                    [% ELSE %]
203
                                        [% IF ( bibitemloo.already_patron_possession ) %]
203
                                        [% IF bibitemloo.alreadypossession %]
204
                                            <div class="alert alert-warning">This title cannot be requested because it's already in your possession.</div>
204
                                            <div class="alert alert-warning">This title cannot be requested because it's already in your possession.</div>
205
                                        [% ELSIF bibitemloo.tooManyReserves %]
206
                                            <div class="alert alert-warning">This title cannot be requested because you reached the maximum number of holds.</div>
207
                                        [% ELSIF bibitemloo.tooManyHoldsForThisRecord %]
208
                                            <div class="alert alert-warning">This title cannot be requested because you exceeded max holds per record.</div>
209
                                        [% ELSIF bibitemloo.tooManyReservesToday %]
210
                                            <div class="alert alert-warning">This title cannot be requested because you reached the daily hold limit.</div>
211
                                        [% ELSIF bibitemloo.itemAlreadyOnHold %]
212
                                            <div class="alert alert-warning">This title cannot be requested because you already have hold for this item.</div>
205
                                        [% ELSE %]
213
                                        [% ELSE %]
206
                                            [% UNLESS ( bibitemloo.bib_available ) %]
214
                                            [% UNLESS ( bibitemloo.bib_available ) %]
207
                                                <div class="alert">There are no items that can be placed on hold.</div>
215
                                                <div class="alert">There are no items that can be placed on hold.</div>
(-)a/opac/opac-reserve.pl (-2 / +1 lines)
Lines 617-623 foreach my $biblioNum (@biblionumbers) { Link Here
617
617
618
    my $status = CanBookBeReserved( $borrowernumber, $biblioNum )->{status};
618
    my $status = CanBookBeReserved( $borrowernumber, $biblioNum )->{status};
619
    $biblioLoopIter{holdable} &&= $status eq 'OK';
619
    $biblioLoopIter{holdable} &&= $status eq 'OK';
620
    $biblioLoopIter{already_patron_possession} = $status eq 'alreadypossession';
620
    $biblioLoopIter{$status} = 1;
621
621
622
    # For multiple holds per record, if a patron has previously placed a hold,
622
    # For multiple holds per record, if a patron has previously placed a hold,
623
    # the patron can only place more holds of the same type. That is, if the
623
    # the patron can only place more holds of the same type. That is, if the
624
- 

Return to bug 19540