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

(-)a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js (-1 / +1 lines)
Lines 575-581 function LoadIssuesTable() { Link Here
575
                            }
575
                            }
576
                            content += ")</span>";
576
                            content += ")</span>";
577
                        }
577
                        }
578
                        if (oObj.auto_renew) {
578
                        if (oObj.auto_renew && oObj.auto_renew_patron) {
579
                            content += "<span class='renewals-info'>(";
579
                            content += "<span class='renewals-info'>(";
580
                            content += __("Scheduled for automatic renewal");
580
                            content += __("Scheduled for automatic renewal");
581
                            content += ")</span>";
581
                            content += ")</span>";
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-1 / +1 lines)
Lines 481-487 Link Here
481
                                                                [% ELSIF ( ISSUE.item_denied_renewal ) %]
481
                                                                [% ELSIF ( ISSUE.item_denied_renewal ) %]
482
                                                                    Renewal not allowed
482
                                                                    Renewal not allowed
483
                                                                [% END %]
483
                                                                [% END %]
484
                                                                [% IF ( ISSUE.auto_renew || ISSUE.auto_too_soon ) %]
484
                                                                [% IF ( ( ISSUE.auto_renew || ISSUE.auto_too_soon ) && borrower.autorenew_checkouts ) %]
485
                                                                    <br /><span class="usr-msg automatic-renewal">This item is scheduled for auto renewal.</span>
485
                                                                    <br /><span class="usr-msg automatic-renewal">This item is scheduled for auto renewal.</span>
486
                                                                [% END %]
486
                                                                [% END %]
487
                                                            </td>
487
                                                            </td>
(-)a/svc/checkouts (-1 / +2 lines)
Lines 107-112 my $sql = ' Link Here
107
        borrowers.surname,
107
        borrowers.surname,
108
        borrowers.firstname,
108
        borrowers.firstname,
109
        borrowers.cardnumber,
109
        borrowers.cardnumber,
110
        borrowers.autorenew_checkouts,
110
111
111
        items.itemlost,
112
        items.itemlost,
112
        items.damaged,
113
        items.damaged,
Lines 277-282 while ( my $c = $sth->fetchrow_hashref() ) { Link Here
277
        date_due_today         => $c->{date_due_today}   ? JSON::true : JSON::false,
278
        date_due_today         => $c->{date_due_today}   ? JSON::true : JSON::false,
278
        timestamp              => $c->{timestamp},
279
        timestamp              => $c->{timestamp},
279
        auto_renew             => $c->{auto_renew},
280
        auto_renew             => $c->{auto_renew},
281
        auto_renew_patron      => $c->{autorenew_checkouts},
280
        onsite_checkout        => $c->{onsite_checkout},
282
        onsite_checkout        => $c->{onsite_checkout},
281
        enumchron              => $c->{enumchron},
283
        enumchron              => $c->{enumchron},
282
        renewals_count         => $renewals_count,
284
        renewals_count         => $renewals_count,
283
- 

Return to bug 41518