Skip to content

Commit

Permalink
fixed ui for report regen
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunlumbcgov committed Sep 12, 2024
1 parent e65fbb1 commit 45b2380
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/Batch/Batch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1403,7 +1403,7 @@ export default {
{ text: "School Category", value: "District" },
{
text: "All",
value: "All Students",
value: "All Schools",
},
],
},
Expand Down
1 change: 0 additions & 1 deletion frontend/src/services/BatchProcessingService.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ export default {
return ApiService.apiAxios.get("/api/v1/batch/executedisrunbatchjob");
},
runSCHL_RPT_REGEN(request, cronTime=""){

return ApiService.apiAxios.post(`/api/v1/batch/regenerate/school-report`,request);
},
runDISTRUN_SUPP() {
Expand Down
4 changes: 1 addition & 3 deletions frontend/src/views/BatchProcessing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1909,10 +1909,8 @@ export default {
}
} else if (this.tabContent[id].details["what"] == "SCHL_RPT_REGEN") {
delete request.credentialTypeCode;
request.statuses = null;
request.studentIDs = null;
request.reportTypes = [this.tabContent[id].details["reportType"]];
if (this.tabContent[id].details["who"] == "All Students") {
if (this.tabContent[id].details["who"] == "All Schools") {
request.activityCode = "ALL";
}
if (cronTime) {
Expand Down

0 comments on commit 45b2380

Please sign in to comment.