';
}
+ //console.log("Need by " + new Date(punchList[i].nDate).getTime());
+ //console.log("Now " + new Date().getTime());
+ //console.log("gap " + (new Date(punchList[i].nDate).getTime() - new Date().getTime()));
+ list += '
' + punchList[i].nDate + '
';
+ if ( (new Date(punchList[i].nDate).getTime() - new Date().getTime()) <= 0 ) {
+ list += '
OVERDUE
';
+ }
list += '';
- list += '
' + punchList[i].progress + ' ';
- list += 'Created: ' + punchList[i].cDate + ' ';
- list += 'Modified: ' + punchList[i].mDate + ' ';
- list += 'Tags: ' + punchList[i].tags + ' ';
- list += ' ';
+ list += '
';
+// list += punchList[i].progress + ' ';
+// list += 'Created: ' + punchList[i].cDate + ' ';
+// list += 'Modified: ' + punchList[i].mDate + ' ';
+ if ( punchList[i].nDate > "" ) {
+ list += '
Needed By:
' + punchList[i].nDate + '
';
+ }
+ if ( punchList[i].tags != undefined && punchList[i].tags != [] ) {
+ list += '
Tags:
' + punchList[i].tags + '
';
+ }
+ if ( punchList[i].notes != "" ) {
+ list += ' ';
+ }
list += '';
list += '