TechnologyEnhancedLearning / DLSV2

Progressive refactor of the Digital Learning Solutions web apps to .Net Core tech stack
MIT License
5 stars 1 forks source link

TD-4243 Few 'add on' courses showing on 'Learning Portal' not showing… #2797

Closed sherif-olaboye closed 2 weeks ago

sherif-olaboye commented 2 weeks ago

JIRA link

https://hee-tis.atlassian.net/browse/TD-4243

Description

I modified GetActivitiesForDelegateEnrolment, store procedure by adding the CentreApplications table to the store procedure, so that courses that are unpublish to the centre will not reflect in the ‘Available activities’/'Enrol on activity', completed activities, as it is in Course set up & Delegate activities I added a field CheckUnpublishedCourse to GetCompletedCoursesForCandidate store procedure, to know courses that are not unpublish from publish I modified selectDelegateCourseInfoQuery by adding the CentreApplications table to the query I added CheckUnpublishedCourse property to CompletedLearningItem.cs class I hide the lunch course button where the course is unpublish on CompletedCourseCard.cshtml page

Screenshots

image image


Developer checks

(Leave tasks unticked if they haven't been appropriate for your ticket.)

I have: