Added Open NCR report.

This commit is contained in:
Daniel Wathen
2023-01-23 21:27:01 -07:00
parent f40cee57a7
commit 348c233eb1
9 changed files with 126 additions and 10 deletions

View File

@ -163,7 +163,7 @@ function toggleWeek() {
}
}
function sortTable(n) {
function sortTable(n, isDate) {
var table, rows, switching, i, x, y, shouldSwitch, dir, switchCount = 0;
table = document.getElementById("sortTable");
switching = true;
@ -178,7 +178,7 @@ function sortTable(n) {
x = rows[i].getElementsByTagName("td")[n];
y = rows[i + 1].getElementsByTagName("td")[n];
if (compareStrings(n == 3, dir, x.innerHTML.toLowerCase(), y.innerHTML.toLowerCase())) {
if (compareStrings(isDate, dir, x.innerHTML.toLowerCase(), y.innerHTML.toLowerCase())) {
shouldSwitch = true;
break;
}