Skip to content

Commit

Permalink
add exercise reference number
Browse files Browse the repository at this point in the history
  • Loading branch information
HalcyonJAC committed Nov 27, 2024
1 parent 70b404c commit 32f8e40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/views/Exercise/Reports/Diversity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,7 @@ export default {
]);
merges.push(`B1:${this.getAlphabet(2 * states.length + 3)}1`);
data.push([
this.exercise.name,
`${this.exercise.referenceNumber} ${this.exercise.name}`,
'Characteristic by stage',
...this.generateEmptyCells(states.length + 1),
'Difference between stages',
Expand All @@ -1121,7 +1121,7 @@ export default {
]);
data.push([
'All candidates',
this.exercise.name,
`${this.exercise.referenceNumber} ${this.exercise.name}`,
...states.map((state) => this.diversity[state.ref].totalApplications),
...this.generateEmptyCells(states.length + 1, 'n/a'),
]);
Expand Down Expand Up @@ -1318,7 +1318,7 @@ export default {
]);
data.push([
field.name,
this.exercise.name,
`${this.exercise.referenceNumber} ${this.exercise.name}`,
...states.map((state) => `${this.$filters.formatNumber(_.get(this.diversity[state.ref], `${field.key}.percent`) || 0, 2)}% (${_.get(this.diversity[state.ref], `${field.key}.total`)})`),
...this.generateEmptyCells(1),
...states.reduce((acc, cur, index) => {
Expand Down

0 comments on commit 32f8e40

Please sign in to comment.