//print(h + ' ' + Math.floor(res[h][p].total/60000) +'m ' + p );
totals.work += Math.floor(res[h][p].total/60000) ;
- for (var k in res[h][p].items) {
-
- //print( ' ' + Math.floor(res[h][p].items[k].span/60000) +'m ' + res[h][p].items[k].line );
+
+ if (h == -1) {
+
+ print( "\n" + p ':');
+ for (var k in res[h][p].items) {
+ print( ' ' + Math.floor(res[h][p].items[k].span/60000) +'m ' + res[h][p].items[k].line );
+
+ }
}
-
}
}