Skip to content

Commit b326876

Browse files
committed
New signature for Telugu Certificate
1 parent 678916d commit b326876

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

NMSReportingSuite/src/main/java/com/beehyv/nmsreporting/business/impl/CertificateServiceImpl.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ private void generateTeluguCertificate(PDDocument document, PDFont textFont, Str
487487
float signatureY = (mediaBox1.getHeight()/5+ 60);
488488
float signatureX1 = rchIdX;
489489
float signatureX2 = mediaBox1.getWidth()/2;
490-
float signatureX3 = mediaBox1.getWidth()/2 + 114;
490+
float signatureX3 = mediaBox1.getWidth()/2 + 80;
491491

492492

493493
SimpleDateFormat formatter = new SimpleDateFormat("dd-MM-yyyy");
@@ -537,11 +537,11 @@ private void generateTeluguCertificate(PDDocument document, PDFont textFont, Str
537537
is3.close();
538538
bin3.close();
539539

540-
float imageWidth3 = 70;
541-
float imageHeight3 = 70;
540+
float imageWidth3 = 120;
541+
float imageHeight3 = 100;
542542
image3 = image3.scaleByWidth(imageWidth3);
543543
image3 = image3.scaleByHeight(imageHeight3);
544-
image3.draw(document, contents1, signatureX3, signatureY - 7);
544+
image3.draw(document, contents1, signatureX3, signatureY - 17);
545545
contents1.close();
546546
} catch (IOException erros){
547547
System.out.println("---Error---=>" + erros);

NMSReportingSuite/src/main/webapp/WEB-INF/applicationContext.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,6 @@
219219
<task:scheduled ref="autoReportMail" method="executeInternal" cron="0 0 9 1 * ?"/>
220220
<task:scheduled ref="autoReportMail" method="executeWeekly" cron="0 0 12 ? * MON"/>
221221
<!--<task:scheduled ref="autoReportMail" method="test" cron="${cron.test}" />-->
222-
<task:scheduled ref="etlNotificationService" method="scheduledNotification" cron="0 30 4 * * ?"/>
222+
<task:scheduled ref="etlNotificationService" method="scheduledNotification" cron="0 30 7 * * ?"/>
223223
</task:scheduled-tasks>
224224
</beans>

0 commit comments

Comments
 (0)