Included the reported date when sending the list of allocated tasks to provide more detailed tracking information.

This commit is contained in:
ashutosh.nehete 2025-05-10 18:18:26 +05:30 committed by Vikas Nale
parent 27e02c10aa
commit 8c5164d83a
2 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,7 @@ namespace Marco.Pms.Model.Mapper
Id = taskAllocation.Id,
AssignmentDate = taskAllocation.AssignmentDate,
PlannedTask = taskAllocation.PlannedTask,
ReportedDate = taskAllocation.ReportedDate,
CompletedTask = taskAllocation.CompletedTask,
AssignedBy = taskAllocation.Employee != null ? taskAllocation.Employee.ToBasicEmployeeVMFromEmployee() : new BasicEmployeeVM(),
WorkItemId = taskAllocation.WorkItemId,

View File

@ -6,6 +6,7 @@ namespace Marco.Pms.Model.ViewModels.Activities
{
public Guid Id { get; set; }
public DateTime AssignmentDate { get; set; }
public DateTime? ReportedDate { get; set; }
public double PlannedTask { get; set; }
public double CompletedTask { get; set; }
public BasicEmployeeVM? AssignedBy { get; set; }