Skip to content

Commit

Permalink
Merge pull request #237 from bcgov/develop/alex-GRAD2-2387
Browse files Browse the repository at this point in the history
GRAD2-2387
  • Loading branch information
kamal-mohammed authored Dec 4, 2023
2 parents 74a5d56 + 9151356 commit eb2d4ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ private int processYed4Transcript(DistributionPrintRequest obj, int currentSlipC
int failedToAdd = 0;
for (BlankCredentialDistribution bcd : bcdList) {
ReportData data = prepareBlankTranscriptData(bcd,mincode);
data.setSchool(packSlipReq.getData().getPackingSlip().getSchool());
ReportOptions options = new ReportOptions();
options.setReportFile("Transcript");
options.setReportName("Transcript.pdf");
Expand Down Expand Up @@ -161,6 +162,7 @@ private void mergeCertificates(ReportRequest packSlipReq, CertificatePrintReques
int failedToAdd = 0;
for (BlankCredentialDistribution bcd : bcdList) {
ReportData data = prepareBlankCertData(bcd);
data.setSchool(packSlipReq.getData().getPackingSlip().getSchool());
ReportOptions options = new ReportOptions();
options.setReportFile("certificate");
options.setReportName("Certificate.pdf");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ public ReportRequest preparePackingSlipData(StudentSearchRequest searchRequest,
schObj.setName(schoolDetails.getSchoolName());
schObj.setSchlno(schoolDetails.getSchlNo());
schObj.setMincode(schoolDetails.getDistNo()+schoolDetails.getSchlNo());
schObj.setSignatureCode(schoolDetails.getDistNo());
schObj.setSchoolCategoryCode(schoolDetails.getSchoolCategoryCode());
schObj.setTypeIndicator("");
schObj.setTypeBanner("");
String userName = searchRequest == null ? "" : searchRequest.getUser();
return createReportRequest(batchId,schObj, userName);
}
Expand Down

0 comments on commit eb2d4ab

Please sign in to comment.