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

(-)a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js (-1 / +3 lines)
Lines 64-69 function LoadIssuesTable() { Link Here
64
                    let date_due_formatted = $datetime(oObj.date_due, { as_due_date: true, no_tz_adjust: true });
64
                    let date_due_formatted = $datetime(oObj.date_due, { as_due_date: true, no_tz_adjust: true });
65
                    var due = oObj.date_due_overdue
65
                    var due = oObj.date_due_overdue
66
                        ? "<span class='overdue'>" + date_due_formatted + "</span>"
66
                        ? "<span class='overdue'>" + date_due_formatted + "</span>"
67
                        : oObj.date_due_today
68
                        ? "<span class='strong'>" + date_due_formatted + "</span>"
67
                        : date_due_formatted;
69
                        : date_due_formatted;
68
70
69
                    due = "<span id='date_due_" + oObj.itemnumber + "' class='date_due'>" + due + "</span>";
71
                    due = "<span id='date_due_" + oObj.itemnumber + "' class='date_due'>" + due + "</span>";
Lines 332-338 function LoadIssuesTable() { Link Here
332
                        content += "<span style='padding: 0 1em;'>" + oObj.renewals_count + "</span>";
334
                        content += "<span style='padding: 0 1em;'>" + oObj.renewals_count + "</span>";
333
                        content += "<span class='" + span_class + "' style='" + span_style + "'>"
335
                        content += "<span class='" + span_class + "' style='" + span_style + "'>"
334
                                +  "<input type='checkbox' ";
336
                                +  "<input type='checkbox' ";
335
                        if ( oObj.date_due_overdue && can_renew ) {
337
                        if ( can_renew && ( oObj.date_due_overdue || oObj.date_due_today )) {
336
                            content += "checked='checked' ";
338
                            content += "checked='checked' ";
337
                        }
339
                        }
338
                        if (oObj.can_renew_error == "on_reserve") {
340
                        if (oObj.can_renew_error == "on_reserve") {
(-)a/svc/checkouts (-1 / +2 lines)
Lines 71-76 my $sql = ' Link Here
71
        issues.issuedate,
71
        issues.issuedate,
72
        issues.date_due,
72
        issues.date_due,
73
        issues.date_due < now() as date_due_overdue,
73
        issues.date_due < now() as date_due_overdue,
74
        date(issues.date_due) = date(now()) as date_due_today,
74
        issues.timestamp,
75
        issues.timestamp,
75
        issues.auto_renew,
76
        issues.auto_renew,
76
77
Lines 272-277 while ( my $c = $sth->fetchrow_hashref() ) { Link Here
272
        issuedate              => $c->{issuedate},
273
        issuedate              => $c->{issuedate},
273
        date_due               => $c->{date_due},
274
        date_due               => $c->{date_due},
274
        date_due_overdue       => $c->{date_due_overdue} ? JSON::true : JSON::false,
275
        date_due_overdue       => $c->{date_due_overdue} ? JSON::true : JSON::false,
276
        date_due_today         => $c->{date_due_today} ? JSON::true : JSON::false,
275
        timestamp              => $c->{timestamp},
277
        timestamp              => $c->{timestamp},
276
        auto_renew             => $c->{auto_renew},
278
        auto_renew             => $c->{auto_renew},
277
        onsite_checkout        => $c->{onsite_checkout},
279
        onsite_checkout        => $c->{onsite_checkout},
278
- 

Return to bug 35931