()
| 71 | } |
| 72 | |
| 73 | typeDescription () { |
| 74 | const type = this.get('type') |
| 75 | if (type === 'starter_license') { |
| 76 | return i18n.t('teacher.starter_license') |
| 77 | } |
| 78 | const includedCourseIDs = this.get('includedCourseIDs') |
| 79 | const credit = this.get('properties')?.creditDetails |
| 80 | return utils.courseDescription(includedCourseIDs, credit) |
| 81 | } |
| 82 | |
| 83 | typeDescriptionWithTime () { |
| 84 | const endDate = moment(this.get('endDate')).utc().format('ll') |
no test coverage detected