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

(-)a/Koha/REST/V1/Checkouts.pm (-1 / +1 lines)
Lines 120-126 sub _check_availability { Link Here
120
120
121
        # Upgrade some confirmations to blockers
121
        # Upgrade some confirmations to blockers
122
        my @should_block =
122
        my @should_block =
123
          qw/TOO_MANY ISSUED_TO_ANOTHER RESERVED RESERVED_WAITING TRANSFERRED PROCESSING AGE_RESTRICTION/;
123
          qw/TOO_MANY ISSUED_TO_ANOTHER RESERVED RESERVE_WAITING TRANSFERRED PROCESSING AGE_RESTRICTION/;
124
        for my $block (@should_block) {
124
        for my $block (@should_block) {
125
            if ( exists( $confirmation->{$block} ) ) {
125
            if ( exists( $confirmation->{$block} ) ) {
126
                $impossible->{$block} = $confirmation->{$block};
126
                $impossible->{$block} = $confirmation->{$block};
(-)a/koha-tmpl/opac-tmpl/bootstrap/js/modals/checkout.js (-2 / +1 lines)
Lines 25-31 $(document).ready(function() { Link Here
25
            result += _("Your account is currently in debt by '%s'").format(data);
25
            result += _("Your account is currently in debt by '%s'").format(data);
26
        } else if (code == 'ISSUED_TO_ANOTHER') {
26
        } else if (code == 'ISSUED_TO_ANOTHER') {
27
            result += _("This item appears to be checked out to another patron, please return it to the desk");
27
            result += _("This item appears to be checked out to another patron, please return it to the desk");
28
        } else if (code == 'RESERVED' || code == 'RESERVED_WAITING') {
28
        } else if (code == 'RESERVED' || code == 'RESERVE_WAITING') {
29
            result += _("This item appears to be on hold for another patron, please return it to the desk");
29
            result += _("This item appears to be on hold for another patron, please return it to the desk");
30
        } else if (code == 'TOO_MANY') {
30
        } else if (code == 'TOO_MANY') {
31
            result += _("You have reached the maximum number of checkouts allowed on your account");
31
            result += _("You have reached the maximum number of checkouts allowed on your account");
32
- 

Return to bug 37076