Closed ghost closed 5 years ago
Solution für Estimate between State inProgress = StartDate and CompletedDate: First set Startdate if newstatus = 1 if (taskitem.Status != newstatus) { taskitem.Status = newstatus; if (newstatus == 1) { var utc = new Date().toJSON().slice(0,10).replace(/-/g,'/'); taskitem.startdate = utc;} else if (newstatus == 2) { var bill = Math.round(Math.abs(taskitem.startdate - taskitem.DateCompleted) / (1000 60 60 * 24 )); taskitem.billinginformation = bill;}
taskitem.Save();
itemChanged = true;
ui.item.sortable.model.status = taskStatus(newstatus);
ui.item.sortable.model.completeddate = new Date(taskitem.DateCompleted)
}
add by Array.push {{ billinginformation: task.BillingInformation
Show it in html
hello I have the following questions:
I don't have any knowledge for the implementation, otherwise I think the board is perfect.
best regards Jochen