Skip to content

Commit

Permalink
Changed IA hard limit time (#1439)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrookeswebdev authored Jul 21, 2021
1 parent c51b340 commit e46b8c0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/views/Exercise/Details/Timeline/Edit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
id="independent-assessments-hard-limit"
v-model="formData.independentAssessmentsHardLimitDate"
label="Independent Assessments hard limit"
hint="An assessor cannot submit late after 23:59 on this date."
:hint="`An assessor cannot submit after ${iaHardLimitTime} on this date.`"
:disabled="assessmentsInitialised"
/>
</div>
Expand Down Expand Up @@ -344,6 +344,8 @@ import TimeInput from '@jac-uk/jac-kit/draftComponents/Form/TimeInput';
import RepeatableFields from '@jac-uk/jac-kit/draftComponents/RepeatableFields';
import SelectionDay from '@/components/RepeatableFields/SelectionDay';
import BackLink from '@jac-uk/jac-kit/draftComponents/BackLink';
import { formatDate } from '@/helpersTMP/date';
export default {
components: {
ErrorSummary,
Expand Down Expand Up @@ -430,6 +432,9 @@ export default {
hasJourney() {
return this.$store.getters['exerciseCreateJourney/hasJourney'];
},
iaHardLimitTime() {
return formatDate(this.exercise.independentAssessmentsHardLimitDate, 'time');
},
},
methods: {
async save(isValid) {
Expand Down

0 comments on commit e46b8c0

Please sign in to comment.