From 7e797f07950be34790fce06504deacce85b1c85b Mon Sep 17 00:00:00 2001 From: suzalflueck Date: Thu, 12 Oct 2023 11:59:54 -0700 Subject: [PATCH] Update warning for Reprint Cert - no signature batch request --- frontend/src/components/Batch/Batch.vue | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/Batch/Batch.vue b/frontend/src/components/Batch/Batch.vue index 51fb5265..4077e621 100644 --- a/frontend/src/components/Batch/Batch.vue +++ b/frontend/src/components/Batch/Batch.vue @@ -1454,12 +1454,15 @@ export default { } //disable code for release 1.7.0 this.batchTypes = this.batchTypes.map((type) => { - if (type.code === "ARC_STUDENTS" || type.code === "ARC_SCH_REPORTS") { + if ( + type.code === "ARC_STUDENTS" || + type.code === "ARC_SCH_REPORTS" + ) { type.disabled = true; } return type; - }); - + }); + if (!this.allowRunNonGradRun) this.batchTypes = this.batchTypes.filter( (type) => type.code != "NONGRADRUN" @@ -1709,8 +1712,15 @@ export default { } else { //student has a gradstatus but does not have a certificate if (this.batch.details["credential"] == "RC") { - this.validationMessage = - "Cannot reprint certificate for this student."; + if (this.batch.details["where"] == "localDownload") { + this.validationMessage = + "This students' certificate distribution date is null. Their original certificate has not been distributed. You may still download the requested document by clicking on the link below."; + } else { + // NOTE - When users can eventually select the BC Mail or User:[name] options for reprint certificate - no principal signature block, the warning below should be updated to: + // This students' certificate distribution date is null. Their original certificate has not been distributed. You may still submit a print request by clicking on the link below. + this.validationMessage = + "Cannot reprint certificate for this student."; + } } if (this.batch.details["credential"] == "OC") { this.validationMessage =