public KeyDatesViewModel(NotificationDatesData dates) { NotificationReceivedDate = dates.NotificationReceivedDate; PaymentReceivedDate = dates.PaymentReceivedDate; CommencementDate = dates.CommencementDate; CompletedDate = dates.CompletedDate; TransmittedDate = dates.TransmittedDate; AcknowledgedDate = dates.AcknowledgedDate; DecisionRequiredDate = dates.DecisionRequiredDate; Decisions = new List <NotificationAssessmentDecision>(); CurrentStatus = dates.CurrentStatus; NameOfOfficer = dates.NameOfOfficer; }
public KeyDatesViewModel(NotificationDatesData dates) { NotificationReceivedDate = dates.NotificationReceivedDate; PaymentReceivedDate = dates.PaymentReceivedDate; CommencementDate = dates.CommencementDate; CompletedDate = dates.CompletedDate; TransmittedDate = dates.TransmittedDate; AcknowledgedDate = dates.AcknowledgedDate; DecisionRequiredDate = dates.DecisionRequiredDate; Decisions = new List<NotificationAssessmentDecision>(); CurrentStatus = dates.CurrentStatus; NameOfOfficer = dates.NameOfOfficer; }
public DateInputViewModel(NotificationDatesData dates) { CurrentStatus = dates.CurrentStatus; NotificationId = dates.NotificationId; NotificationReceivedDate = new OptionalDateInputViewModel(dates.NotificationReceivedDate, true); PaymentReceivedDate = dates.PaymentReceivedDate; PaymentIsComplete = dates.PaymentIsComplete; CommencementDate = new OptionalDateInputViewModel(dates.CommencementDate, true); NotificationCompleteDate = new OptionalDateInputViewModel(dates.CompletedDate, true); NotificationTransmittedDate = new OptionalDateInputViewModel(dates.TransmittedDate, true); NotificationAcknowledgedDate = new OptionalDateInputViewModel(dates.AcknowledgedDate, true); DecisionDate = new OptionalDateInputViewModel(dates.DecisionRequiredDate, true); NewDate = new OptionalDateInputViewModel(true); NameOfOfficer = dates.NameOfOfficer; AssessmentDecisions = new List <NotificationAssessmentDecision>(); NotificationFileClosedDate = new OptionalDateInputViewModel(dates.FileClosedDate, true); ArchiveReference = dates.ArchiveReference; }
public DateInputViewModel(NotificationDatesData dates) { CurrentStatus = dates.CurrentStatus; NotificationId = dates.NotificationId; NotificationReceivedDate = new OptionalDateInputViewModel(dates.NotificationReceivedDate, true); PaymentReceivedDate = dates.PaymentReceivedDate; PaymentIsComplete = dates.PaymentIsComplete; CommencementDate = new OptionalDateInputViewModel(dates.CommencementDate, true); NotificationCompleteDate = new OptionalDateInputViewModel(dates.CompletedDate, true); NotificationTransmittedDate = new OptionalDateInputViewModel(dates.TransmittedDate, true); NotificationAcknowledgedDate = new OptionalDateInputViewModel(dates.AcknowledgedDate, true); DecisionDate = new OptionalDateInputViewModel(dates.DecisionRequiredDate, true); NewDate = new OptionalDateInputViewModel(true); NameOfOfficer = dates.NameOfOfficer; AssessmentDecisions = new List<NotificationAssessmentDecision>(); NotificationFileClosedDate = new OptionalDateInputViewModel(dates.FileClosedDate, true); ArchiveReference = dates.ArchiveReference; }