Added Open NCR report.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user