Merge branch 'main' of https://dev.azure.com/asfinag/Tech-Supporting.ITSM/_git/Tech-Supporting.ITSM.ChangeKalender
commit
56544e90e3
|
|
@ -116,7 +116,8 @@ public class PlanTimes {
|
||||||
hrs = Double.valueOf(hours); // Correctly assign the value to hrs
|
hrs = Double.valueOf(hours); // Correctly assign the value to hrs
|
||||||
}
|
}
|
||||||
double totalHours = hrs + mins;
|
double totalHours = hrs + mins;
|
||||||
return totalHours;
|
double retVal = Math.round(totalHours);
|
||||||
|
return retVal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1163,7 +1163,7 @@ export class NttGanttComponent implements OnInit {
|
||||||
let colName = "";
|
let colName = "";
|
||||||
let mode = "asc";
|
let mode = "asc";
|
||||||
args.cancel = true;
|
args.cancel = true;
|
||||||
|
console.log(args.columnName)
|
||||||
switch (args.columnName) {
|
switch (args.columnName) {
|
||||||
case 'TaskName':
|
case 'TaskName':
|
||||||
colName = 'ResourceName';
|
colName = 'ResourceName';
|
||||||
|
|
@ -1177,6 +1177,12 @@ export class NttGanttComponent implements OnInit {
|
||||||
case 'approvalStatus':
|
case 'approvalStatus':
|
||||||
colName = 'ApprovalStatus';
|
colName = 'ApprovalStatus';
|
||||||
break;
|
break;
|
||||||
|
case 'plantime':
|
||||||
|
colName = 'plantime';
|
||||||
|
break;
|
||||||
|
case 'StartDate':
|
||||||
|
colName = 'D2';
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue