Added next due date to models and tables for tasks
This commit is contained in:
parent
dfa8d4aa08
commit
36fb43d9cd
@ -32,7 +32,7 @@ namespace Fab2ApprovalSystem.ViewModels
|
||||
public DateTime? ExpirationDate { get; set; }
|
||||
[DisplayFormat(DataFormatString = "{0:MM/dd/yyyy}")]
|
||||
public DateTime? ExtensionDate { get; set; }
|
||||
|
||||
public DateTime? NextDueDate { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
@ -40,8 +40,9 @@
|
||||
columns.Bound(l => l.Title);
|
||||
//columns.Bound(l => l.LotNos);
|
||||
//columns.Bound(l => l.PendingApprovers).HtmlAttributes(new { style = "font-weight: bold; color: red;" });
|
||||
columns.Bound(l => l.ItemStatus);
|
||||
columns.Bound(l => l.ItemStatus).Hidden();
|
||||
columns.Bound(l => l.SubmitedDate).Format("{0:MM/dd/yy hh:mm:ss}");
|
||||
columns.Bound(l => l.NextDueDate).Format("{0:MM/dd/yy}");
|
||||
//columns.Bound(l => l.CloseDate).Format("{0:MM/dd/yy hh:mm:ss}");
|
||||
columns.Command(command => command.Custom("Re-Assign").Click("showReAssignRole")).Width("100px");
|
||||
|
||||
@ -82,10 +83,10 @@
|
||||
"<td>#:Originator #</td>" +
|
||||
//"<td>#: IssueDate #</td>" +
|
||||
"<td>#:Title #</td>" +
|
||||
"<td>#:ItemStatus #</td>" +
|
||||
"<td>#=FormatDate(SubmitedDate)#</td>" +
|
||||
//"<td>#: LotNos #</td>" +
|
||||
//"<td>#:PendingApprovers #</td>" +
|
||||
"<td>#=FormatDate(SubmitedDate)#</td>" +
|
||||
"<td>#=FormatDate(NextDueDate)#</td>" +
|
||||
//"<td>#: CloseDate #</td> " +
|
||||
"<td><button class='btn btn-warning btn-xs' id='Delegate' name='Refresh' onclick='showReAssignRole("#=PendingApprovers#","#=CloseDate#","#=DocID#", "#=DocumentType#","#=SubmitedDate#");'>Delegate</buton></td>" +
|
||||
"</tr>"
|
||||
|
Loading…
x
Reference in New Issue
Block a user