Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
LaMartin-Webomagic
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sneha
LaMartin-Webomagic
Commits
93e57d29
Commit
93e57d29
authored
Aug 08, 2024
by
Deep Dey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: change principal details for pdf
parent
5237137d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
lamartinBackend/src/main/java/com/example/LaMartin/common/service/TemplateService.java
.../com/example/LaMartin/common/service/TemplateService.java
+2
-0
lamartinBackend/src/main/resources/templates/InteractionScoringTemplate.html
.../main/resources/templates/InteractionScoringTemplate.html
+1
-1
No files found.
lamartinBackend/src/main/java/com/example/LaMartin/common/service/TemplateService.java
View file @
93e57d29
...
...
@@ -104,8 +104,10 @@ public class TemplateService {
context
.
setVariable
(
"givenYear"
,
Integer
.
parseInt
(
givenYear
));
if
(
Objects
.
equals
(
admissionFormDataList
.
get
(
0
).
getSchool
(),
"La Martiniere for Boys"
))
{
context
.
setVariable
(
"principalName"
,
"Mr. P.A. John Stephen"
);
context
.
setVariable
(
"actingPrincipal"
,
"Acting Principal, "
);
}
else
{
context
.
setVariable
(
"principalName"
,
"Mrs. Rupkatha Sarkar"
);
context
.
setVariable
(
"actingPrincipal"
,
""
);
}
return
templateEngine
.
process
(
"InteractionScoringTemplate"
,
context
);
...
...
lamartinBackend/src/main/resources/templates/InteractionScoringTemplate.html
View file @
93e57d29
...
...
@@ -95,7 +95,7 @@
<th>
<span
th:text=
"${principalName}"
></span>
<br/>
(
Acting Principal,
<span
th:text=
"${admissionFormList[0].school}"
></span>
)
(
<span
th:text=
"${actingPrincipal}"
></span>
<span
th:text=
"${admissionFormList[0].school}"
></span>
)
</th>
<th>
Mr. S. Dhar
<br></br>
(Secretary)
</th>
<th>
TOTAL
</th>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment