(product)
| 1247 | } |
| 1248 | |
| 1249 | const formatStudentSingleLicenseStatusDate = function (product) { |
| 1250 | let string = $.i18n.t('teacher.full_license') |
| 1251 | if ((product.productOptions != null ? product.productOptions.includedCourseIDs : undefined) != null) { |
| 1252 | string = product.productOptions.includedCourseIDs.map(id => courseAcronyms[id]).join('+') |
| 1253 | } |
| 1254 | return string += ': ' + moment(product.endDate).format('ll') |
| 1255 | } |
| 1256 | |
| 1257 | const getApiClientIdFromEmail = function (email) { |
| 1258 | if (/@codeninjas.com$/i.test(email)) { // hard coded for code ninjas since a lot of their users do not have clientCreator set |
nothing calls this directly
no outgoing calls
no test coverage detected