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") { |