public void Load(Guid feedbackId, VisitFeedback feedback)
 {
     FeedbackId = feedbackId;
     InformationAndCommunicationBeforeVisit = new FeedbackRatingRadioViewModel(feedback.FeedbackAnswers.InformationAndCommunicationBeforeVisit, "Information and communication before the visit", "InformationAndCommunicationBeforeVisit");
     AskDeliveryPartnerWhoVisited           = new FeedbackRatingRadioViewModel(feedback.FeedbackAnswers.AskDeliveryPartnerWhoVisited, "The ASK delivery partner who visited", "AskDeliveryPartnerWhoVisited");
     ActivitiesDelivered = new FeedbackRatingRadioViewModel(feedback.FeedbackAnswers.ActivitiesDelivered, "The activities they delivered", "ActivitiesDelivered");
 }
 public void Load(Guid feedbackId, VisitFeedback feedback)
 {
     FeedbackId = feedbackId;
     BestThingsAboutYourVisit          = feedback.FeedbackAnswers.BestThingsAboutYourVisit;
     WhatCouldBeImprovedAboutYourVisit = feedback.FeedbackAnswers.WhatCouldBeImprovedAboutYourVisit;
     AddAnyOtherComments = feedback.FeedbackAnswers.AddAnyOtherComments;
 }
Exemple #3
0
 public void Load(Guid feedbackId, VisitFeedback feedback)
 {
     FeedbackId = feedbackId;
     DemonstratingDifferentTypesOfEmployers = new FeedbackRatingRadioViewModel(feedback.FeedbackAnswers.DemonstratingDifferentTypesOfEmployers, "Demonstrating the different types of employers that offer apprenticeships", "DemonstratingDifferentTypesOfEmployers");
     IncreasingAwarenessOfHigherAndDegree   = new FeedbackRatingRadioViewModel(feedback.FeedbackAnswers.IncreasingAwarenessOfHigherAndDegree, "Increasing awareness of higher and degree apprenticeships", "IncreasingAwarenessOfHigherAndDegree");
     MakingStaffMoreConfident = new FeedbackRatingRadioViewModel(feedback.FeedbackAnswers.MakingStaffMoreConfident, "Making staff more confident to discuss apprenticeships with students and parents", "MakingStaffMoreConfident");
 }
Exemple #4
0
 public void Load(Guid feedbackId, VisitFeedback feedback)
 {
     FeedbackId = feedbackId;
     RaisingKnowledgeAndAwareness               = new FeedbackRatingRadioViewModel(feedback.FeedbackAnswers.RaisingKnowledgeAndAwareness, "Raising knowledge and awareness of apprenticeships", "RaisingKnowledgeAndAwareness");
     DemonstratingTheRangeAndOptions            = new FeedbackRatingRadioViewModel(feedback.FeedbackAnswers.DemonstratingTheRangeAndOptions, "Demonstrating the range of occupations and levels available", "DemonstratingTheRangeAndOptions");
     ExplainingApplicationAndRecruitmentProcess = new FeedbackRatingRadioViewModel(feedback.FeedbackAnswers.ExplainingApplicationAndRecruitmentProcess, "Explaining the application and recruitment process for apprenticeships", "ExplainingApplicationAndRecruitmentProcess");
 }
 public void Load(Guid feedbackId, VisitFeedback feedback)
 {
     FeedbackId = feedbackId;
     ApprenticeOrEmployerParticipationRating = new FeedbackRatingRadioViewModel(feedback.FeedbackAnswers.ApprenticeOrEmployerParticipationRating, "How would you rate their participation", "ApprenticeOrEmployerParticipationRating");
     ApprenticeOrEmployerParticipateInVisit  = feedback.FeedbackAnswers.ApprenticeOrEmployerParticipateInVisit;
     ApprenticeOrEmployerParticipateComments = feedback.FeedbackAnswers.ApprenticeOrEmployerParticipateComments;
 }
Exemple #6
0
        public ConfirmDetailsViewModel(VisitFeedback feedback)
        {
            FeedbackId = feedback.Id;

            var visit = feedback.Visit;

            EstablishmentName = visit.SupportRequest.Organisation.OrganisationName;

            YourFullName             = $"{visit.OrganisationContact.FirstName} {visit.OrganisationContact.LastName}";
            DateOfActivity           = visit.VisitDate.ToString("dd/MM/yyyy");
            Activities               = visit.Activities;
            IncorrectDetailsComments = feedback.IncorrectDetailsComments;
        }
        public void Load(Guid feedbackId, VisitFeedback feedback)
        {
            FeedbackId = feedbackId;

            if (feedback.FeedbackAnswers.TypeOfSupportInTheFuture == null)
            {
                feedback.FeedbackAnswers.TypeOfSupportInTheFuture = new TypeOfSupportInTheFuture();
            }

            SupportForStudents           = feedback.FeedbackAnswers.TypeOfSupportInTheFuture.SupportForStudents;
            ContactWithTrainingProviders = feedback.FeedbackAnswers.TypeOfSupportInTheFuture.ContactWithTrainingProviders;
            GuestSpeakers = feedback.FeedbackAnswers.TypeOfSupportInTheFuture.GuestSpeakers;
            StaffCpd      = feedback.FeedbackAnswers.TypeOfSupportInTheFuture.StaffCpd;
            Resources     = feedback.FeedbackAnswers.TypeOfSupportInTheFuture.Resources;
            Other         = feedback.FeedbackAnswers.TypeOfSupportInTheFuture.Other;
            OtherDetails  = feedback.FeedbackAnswers.TypeOfSupportInTheFuture.Other ? feedback.FeedbackAnswers.TypeOfSupportInTheFuture.OtherDetails : "";
        }
 public void Load(Guid feedbackId, VisitFeedback feedback)
 {
     FeedbackId = feedbackId;
     WouldYouRecommendAskVisits         = feedback.FeedbackAnswers.WouldYouRecommendAskVisits;
     WouldNotRecommendAskVisitsComments = feedback.FeedbackAnswers.WouldNotRecommendAskVisitsComments;
 }