Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update warning for Reprint Cert - no signature batch request #507

Merged
merged 1 commit into from
Oct 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions frontend/src/components/Batch/Batch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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 =
Expand Down
Loading