Commit 26b5b93d authored by Shuvankar Naskar's avatar Shuvankar Naskar

feat: make session year dynamic for all templates

parent 2c322a7a
......@@ -402,7 +402,8 @@ public class AdmissionFormController {
@RequestParam("apikey") String apiKey,
@RequestParam String schoolName,
@RequestParam String interactionDate,
@RequestParam String className
@RequestParam String className,
@RequestParam String sessionYear
) throws Exception {
List<AdmissionFormData> admissionFormDataList =
......@@ -415,7 +416,7 @@ public class AdmissionFormController {
null,
null,
null,
null
sessionYear
);
if (admissionFormDataList.isEmpty()) {
......@@ -447,7 +448,8 @@ public class AdmissionFormController {
@RequestParam("apikey") String apiKey,
@RequestParam String schoolName,
@RequestParam String interactionDate,
@RequestParam String className
@RequestParam String className,
@RequestParam String sessionYear
) throws Exception {
List<AdmissionFormData> admissionFormDataList =
......@@ -460,7 +462,7 @@ public class AdmissionFormController {
null,
null,
null,
null
sessionYear
);
if (admissionFormDataList.isEmpty()) {
......@@ -492,7 +494,9 @@ public class AdmissionFormController {
@RequestParam("apikey") String apiKey,
@RequestParam String schoolName,
@RequestParam String interactionDate,
@RequestParam String className
@RequestParam String className,
@RequestParam String sessionYear
) throws Exception {
List<AdmissionFormData> admissionFormDataList =
......@@ -505,7 +509,7 @@ public class AdmissionFormController {
null,
null,
null,
null
sessionYear
);
if (admissionFormDataList.isEmpty()) {
......@@ -537,7 +541,8 @@ public class AdmissionFormController {
@RequestParam("apikey") String apiKey,
@RequestParam String schoolName,
@RequestParam String interactionDate,
@RequestParam String className
@RequestParam String className,
@RequestParam String sessionYear
) throws Exception {
List<AdmissionFormData> admissionFormDataList =
......@@ -550,7 +555,7 @@ public class AdmissionFormController {
null,
null,
null,
null
sessionYear
);
if (admissionFormDataList.isEmpty()) {
......
......@@ -172,7 +172,10 @@ public class TemplateService {
public String generateCounsellorScoringTemplate(@NotNull List<AdmissionFormData> admissionFormDataList) {
String givenYear = String.valueOf(associationYear);
LocalDate date = LocalDate.parse(admissionFormDataList.get(0).getInteractionDate()); // yyyy-MM-dd
String formattedDate = date.format(DateTimeFormatter.ofPattern("dd-MM-yyyy"));
Context context = new Context();
context.setVariable("interactionDate", formattedDate);
context.setVariable("serverPath", settings.getStaticServerPath());
context.setVariable("admissionFormList", admissionFormDataList);
context.setVariable("givenYear", Integer.parseInt(givenYear));
......@@ -182,7 +185,10 @@ public class TemplateService {
public String generateInteractionScoringTemplate(@NotNull List<AdmissionFormData> admissionFormDataList) {
String givenYear = String.valueOf(associationYear);
LocalDate date = LocalDate.parse(admissionFormDataList.get(0).getInteractionDate()); // yyyy-MM-dd
String formattedDate = date.format(DateTimeFormatter.ofPattern("dd-MM-yyyy"));
Context context = new Context();
context.setVariable("interactionDate", formattedDate);
context.setVariable("serverPath", settings.getStaticServerPath());
context.setVariable("admissionFormList", admissionFormDataList);
context.setVariable("givenYear", Integer.parseInt(givenYear));
......
......@@ -149,7 +149,7 @@
</span>
<b th:text="${admissionForm.fullName}"></b>
has been
granted admission to <b th:text="${admissionForm.admissionClass}"></b> for the year <span th:text="(${givenYear + 1}) + ' - ' + (${givenYear + 2})">2025 - 2026</span>.
granted admission to <b th:text="${admissionForm.admissionClass}"></b> for the year <span th:text="${admissionForm.sessionYear}">2025 - 2026</span>.
</p>
<p>
Please contact the
......@@ -165,7 +165,7 @@
</strong> in person, along with a printout of this letter on <b><span th:text="${admissionForm.admissionDate}"></span> at <span th:text="${admissionForm.admissionTime}"></span></b> for necessary formalities.</p>
<p>Parents willing to pay the full year fee may do so, or pay quarterly by way of Pay Order favouring <b>&quot;La
Martiniere Calcutta&quot;</b> or bank transfer, at the time of admission.</p>
<p>For the <b>1<sup>st</sup> Quarter (April to June <span th:text="(${givenYear + 1})"></span>)</b>, parents are to pay <b>Rs. 1,79,500/- (Rupees
<p>For the <b>1<sup>st</sup> Quarter (April to June <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span>)</b>, parents are to pay <b>Rs. 1,79,500/- (Rupees
One Lacs Seventy Nine Thousand Five Hundred only)</b> towards Tuition Fees, Session Fees,
Infrastructure Development Fees, Admission Fees, Building Development Fees and Security Deposit
(refundable). The amount may be transferred directly to the following account.</p>
......@@ -206,24 +206,24 @@
<th>Date of Payment</th>
</tr>
<tr>
<td>1<sup>st</sup> Quarter (April to June <span th:text="(${givenYear + 1})"></span>)</td>
<td>1<sup>st</sup> Quarter (April to June <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span>)</td>
<td>Rs. 1,79,500.00</td>
<td>On the date of admission</td>
</tr>
<tr>
<td>2<sup>nd</sup> Quarter (July to Sept. <span th:text="(${givenYear + 1})"></span>)</td>
<td>2<sup>nd</sup> Quarter (July to Sept. <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span>)</td>
<td>Rs. 1,34,500.00</td>
<td>1<sup>st</sup> to 5<sup>th</sup> July, <span th:text="(${givenYear + 1})"></span></td>
<td>1<sup>st</sup> to 5<sup>th</sup> July, <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span></td>
</tr>
<tr>
<td>3<sup>rd</sup> Quarter (Oct to Dec. <span th:text="(${givenYear + 1})"></span>)</td>
<td>3<sup>rd</sup> Quarter (Oct to Dec. <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span>)</td>
<td>Rs. 1,34,500.00</td>
<td>1<sup>st</sup> to 5<sup>th</sup> Oct. <span th:text="(${givenYear + 1})"></span></td>
<td>1<sup>st</sup> to 5<sup>th</sup> Oct. <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span></td>
</tr>
<tr>
<td>4<sup>th</sup> Quarter (Jan to March <span th:text="(${givenYear + 2})"></span>)</td>
<td>4<sup>th</sup> Quarter (Jan to March <span th:text="${#strings.substring(admissionForm.sessionYear, admissionForm.sessionYear.length() - 4)}"></span>)</td>
<td>Rs. 1,34,500.00</td>
<td>6<sup>th</sup> to 11<sup>th</sup> Jan <span th:text="(${givenYear + 2})"></span></td>
<td>6<sup>th</sup> to 11<sup>th</sup> Jan <span th:text="${#strings.substring(admissionForm.sessionYear, admissionForm.sessionYear.length() - 4)}"></span></td>
</tr>
<tr>
<td><b>Total</b></td>
......
......@@ -99,7 +99,7 @@
.header{
border: 1px solid white;
margin: 35px;
/*margin: 35px;*/
}
</style>
</head>
......@@ -155,7 +155,7 @@
</span>
<b th:text="${admissionForm.fullName}"></b>
has been
granted admission to <b th:text="${admissionForm.admissionClass}"></b> for the year <span th:text="(${givenYear + 1}) + ' - ' + (${givenYear + 2})">2025 - 2026</span>.
granted admission to <b th:text="${admissionForm.admissionClass}"></b> for the year <span th:text="${admissionForm.sessionYear}">2025 - 2026</span>.
</p>
<p>
Please contact the
......@@ -171,7 +171,7 @@
</strong> in person, along with a printout of this letter on <b><span th:text="${admissionForm.admissionDate}"></span> at <span th:text="${admissionForm.admissionTime}"></span></b> for necessary formalities.</p>
<p>Parents willing to pay the full year fee may do so, or pay quarterly by way of Pay Order favouring <b>&quot;La
Martiniere Calcutta&quot;</b> or bank transfer, at the time of admission.</p>
<p>For the <b>1<sup>st</sup> Quarter (April to June <span th:text="(${givenYear + 1})"></span>)</b>, parents are to pay <b>Rs. <span th:text="${fees.get(0)}"></span></b> towards Tuition Fees, Session Fees,
<p>For the <b>1<sup>st</sup> Quarter (April to June <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span>)</b>, parents are to pay <b>Rs. <span th:text="${fees.get(0)}"></span></b> towards Tuition Fees, Session Fees,
Infrastructure Development Fees, Admission Fees, Building Development Fees and Security Deposit
(refundable). The amount may be transferred directly to the following account.</p>
<br />
......@@ -211,24 +211,24 @@
<th>Date of Payment</th>
</tr>
<tr>
<td>1<sup>st</sup> Quarter (April to June <span th:text="(${givenYear + 1})"></span>)</td>
<td>1<sup>st</sup> Quarter (April to June <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span>)</td>
<td>Rs. <span th:text="${fees.get(0)}"></span></td>
<td>On the date of admission</td>
</tr>
<tr>
<td>2<sup>nd</sup> Quarter (July to Sept. <span th:text="(${givenYear + 1})"></span>)</td>
<td>2<sup>nd</sup> Quarter (July to Sept. <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span>)</td>
<td>Rs. <span th:text="${fees.get(1)}"></span></td>
<td>1<sup>st</sup> to 5<sup>th</sup> July, <span th:text="(${givenYear + 1})"></span></td>
<td>1<sup>st</sup> to 5<sup>th</sup> July, <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span></td>
</tr>
<tr>
<td>3<sup>rd</sup> Quarter (Oct to Dec. <span th:text="(${givenYear + 1})"></span>)</td>
<td>3<sup>rd</sup> Quarter (Oct to Dec. <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span>)</td>
<td>Rs. <span th:text="${fees.get(2)}"></span></td>
<td>1<sup>st</sup> to 5<sup>th</sup> Oct. <span th:text="(${givenYear + 1})"></span></td>
<td>1<sup>st</sup> to 5<sup>th</sup> Oct. <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span></td>
</tr>
<tr>
<td>4<sup>th</sup> Quarter (Jan to March <span th:text="(${givenYear + 2})"></span>)</td>
<td>4<sup>th</sup> Quarter (Jan to March <span th:text="${#strings.substring(admissionForm.sessionYear, admissionForm.sessionYear.length() - 4)}"></span>)</td>
<td>Rs. <span th:text="${fees.get(3)}"></span></td>
<td>6<sup>th</sup> to 11<sup>th</sup> Jan <span th:text="(${givenYear + 2})"></span></td>
<td>6<sup>th</sup> to 11<sup>th</sup> Jan <span th:text="${#strings.substring(admissionForm.sessionYear, admissionForm.sessionYear.length() - 4)}"></span></td>
</tr>
<tr>
<td><b>Total</b></td>
......@@ -302,7 +302,7 @@
</span>
<b th:text="${admissionForm.fullName}"></b>
has been
granted Provisional admission to <b th:text="${admissionForm.admissionClass}"></b> for the year <span th:text="(${givenYear + 1}) + ' - ' + (${givenYear + 2})">2025 - 2026</span>, subject to Interaction/Interview with Principal.
granted Provisional admission to <b th:text="${admissionForm.admissionClass}"></b> for the year <span th:text="${admissionForm.sessionYear}">2025 - 2026</span>, subject to Interaction/Interview with Principal.
</p>
<div class="middle">
<b> BOTH PARENTS AND CANDIDATE MUST ATTEND THE INTERACTION.</b>
......@@ -321,7 +321,7 @@
</strong> in person, along with a printout of this letter on <b><span th:text="${admissionForm.admissionDate}"></span> at <span th:text="${admissionForm.admissionTime}"></span></b> for necessary formalities.</p>
<p>Parents willing to pay the full year fee may do so, or pay quarterly by way of Pay Order favouring <b>&quot;La
Martiniere Calcutta&quot;</b> or bank transfer, at the time of admission.</p>
<p>For the <b>1<sup>st</sup> &amp; 2<sup>nd</sup> Quarter fees (April to September <span th:text="(${givenYear + 1})"></span>)</b>, parents are to pay Rs.<b><span th:text="${admissionAmountList[__${formIndex.index}__]}"></span>/-</b> towards Tuition Fees, Session Fees,
<p>For the <b>1<sup>st</sup> &amp; 2<sup>nd</sup> Quarter fees (April to September <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span>)</b>, parents are to pay Rs.<b><span th:text="${admissionAmountList[__${formIndex.index}__]}"></span>/-</b> towards Tuition Fees, Session Fees,
Infrastructure Development Fees, Admission Fees, Building Development Fees and Security Deposit
(refundable). The amount may be transferred directly to the following account.</p>
<br />
......@@ -366,24 +366,24 @@
<th>Date of Payment</th>
</tr>
<tr>
<td>1<sup>st</sup> Quarter (April to June <span th:text="(${givenYear + 1})"></span>)</td>
<td>1<sup>st</sup> Quarter (April to June <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span>)</td>
<td>Rs. <span th:text="${fees.get(0)}"></span></td>
<td>On the date of admission</td>
</tr>
<tr>
<td>2<sup>nd</sup> Quarter (July to Sept. <span th:text="(${givenYear + 1})"></span>)</td>
<td>2<sup>nd</sup> Quarter (July to Sept. <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span>)</td>
<td>Rs. <span th:text="${fees.get(1)}"></span></td>
<td>On the date of admission</td>
</tr>
<tr>
<td>3<sup>rd</sup> Quarter (Oct to Dec. <span th:text="(${givenYear + 1})"></span>)</td>
<td>3<sup>rd</sup> Quarter (Oct to Dec. <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span>)</td>
<td>Rs. <span th:text="${fees.get(2)}"></span></td>
<td>1<sup>st</sup> to 5<sup>th</sup> Oct. <span th:text="(${givenYear + 1})"></span></td>
<td>1<sup>st</sup> to 5<sup>th</sup> Oct. <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span></td>
</tr>
<tr>
<td>4<sup>th</sup> Quarter (Jan to March <span th:text="(${givenYear + 2})"></span>)</td>
<td>4<sup>th</sup> Quarter (Jan to March <span th:text="${#strings.substring(admissionForm.sessionYear, admissionForm.sessionYear.length() - 4)}"></span>)</td>
<td>Rs. <span th:text="${fees.get(3)}"></span></td>
<td>6<sup>th</sup> to 11<sup>th</sup> Jan <span th:text="(${givenYear + 2})"></span></td>
<td>6<sup>th</sup> to 11<sup>th</sup> Jan <span th:text="${#strings.substring(admissionForm.sessionYear, admissionForm.sessionYear.length() - 4)}"></span></td>
</tr>
<tr>
<td><b>Total</b></td>
......
......@@ -64,10 +64,10 @@
<h1 style="text-transform: uppercase" th:text="${admissionFormList[0].school}"></h1>
<h2 style="text-transform: uppercase">
INTERACTION SCORING SHEET
(<span th:text="(${givenYear + 1}) + ' - ' + (${givenYear + 2})"></span>)
(<span th:text="${admissionFormList[0].sessionYear}"></span>)
</h2>
<div class="date">
DATE: <span th:text="${admissionFormList[0].interactionDate}"></span>
DATE: <span th:text="${interactionDate}"></span>
<br></br>
ASSESSMENT BY COUNSELLOR / TEACHER
</div>
......
......@@ -72,7 +72,7 @@
<h1 style="text-transform: uppercase" th:text="${admissionFormList[0].school}"></h1>
<h2 style="text-transform: uppercase">
INTERACTION SCORING SHEET
(<span th:text="(${givenYear + 1}) + ' - ' + (${givenYear + 2})"></span>)
(<span th:text="${admissionFormList[0].sessionYear}"></span>)
</h2>
<div style="margin-top: 10px;">
<div class="date" style="float: right;">
......@@ -80,7 +80,7 @@
<div>(1 BEING LOWEST, 10 BEING HIGHEST)</div>
</div>
<div class="date">
DATE: <span th:text="${admissionFormList[0].interactionDate}"></span>
DATE: <span th:text="${interactionDate}"></span>
</div>
</div>
<table style="font-size: 12px;">
......
......@@ -149,7 +149,7 @@
</span>
<b th:text="${admissionForm.fullName}"></b>
has been
granted admission to <b th:text="${admissionForm.admissionClass}"></b> for the year <span th:text="(${givenYear + 1}) + ' - ' + (${givenYear + 2})">2025 - 2026</span>.
granted admission to <b th:text="${admissionForm.admissionClass}"></b> for the year <span th:text="${admissionForm.sessionYear}">2025 - 2026</span>.
</p>
<p>
......@@ -166,7 +166,7 @@
</strong> in person, along with a printout of this letter on <b><span th:text="${admissionForm.admissionDate}"></span> at <span th:text="${admissionForm.admissionTime}"></span></b> for necessary formalities.</p>
<p>Parents willing to pay the full year fee may do so, or pay quarterly by way of Pay Order favouring <b>&quot;La
Martiniere Calcutta&quot;</b> or bank transfer, at the time of admission.</p>
<p>For the <b>1<sup>st</sup> Quarter (April to June <span th:text="(${givenYear + 1})"></span>)</b>, parents are to pay <b>Rs. <span th:text="${fees.get(0)}"></span></b> towards Tuition Fees, Session Fees,
<p>For the <b>1<sup>st</sup> Quarter (April to June <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span>)</b>, parents are to pay <b>Rs. <span th:text="${fees.get(0)}"></span></b> towards Tuition Fees, Session Fees,
Infrastructure Development Fees, Admission Fees, Building Development Fees and Security Deposit
(refundable). The amount may be transferred directly to the following account.</p>
<br />
......@@ -206,24 +206,24 @@
<th>Date of Payment</th>
</tr>
<tr>
<td>1<sup>st</sup> Quarter (April to June <span th:text="(${givenYear + 1})"></span>)</td>
<td>1<sup>st</sup> Quarter (April to June <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span>)</td>
<td>Rs. <span th:text="${fees.get(0)}"></span></td>
<td>On the date of admission</td>
</tr>
<tr>
<td>2<sup>nd</sup> Quarter (July to Sept. <span th:text="(${givenYear + 1})"></span>)</td>
<td>2<sup>nd</sup> Quarter (July to Sept. <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span>)</td>
<td>Rs. <span th:text="${fees.get(1)}"></span></td>
<td>1<sup>st</sup> to 5<sup>th</sup> July, <span th:text="(${givenYear + 1})"></span></td>
<td>1<sup>st</sup> to 5<sup>th</sup> July, <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span></td>
</tr>
<tr>
<td>3<sup>rd</sup> Quarter (Oct to Dec. <span th:text="(${givenYear + 1})"></span>)</td>
<td>3<sup>rd</sup> Quarter (Oct to Dec. <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span>)</td>
<td>Rs. <span th:text="${fees.get(2)}"></span></td>
<td>1<sup>st</sup> to 5<sup>th</sup> Oct. <span th:text="(${givenYear + 1})"></span></td>
<td>1<sup>st</sup> to 5<sup>th</sup> Oct. <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span></td>
</tr>
<tr>
<td>4<sup>th</sup> Quarter (Jan to March <span th:text="(${givenYear + 2})"></span>)</td>
<td>4<sup>th</sup> Quarter (Jan to March <span th:text="${#strings.substring(admissionForm.sessionYear, admissionForm.sessionYear.length() - 4)}"></span>)</td>
<td>Rs. <span th:text="${fees.get(3)}"></span></td>
<td>6<sup>th</sup> to 11<sup>th</sup> Jan <span th:text="(${givenYear + 2})"></span></td>
<td>6<sup>th</sup> to 11<sup>th</sup> Jan <span th:text="${#strings.substring(admissionForm.sessionYear, admissionForm.sessionYear.length() - 4)}"></span></td>
</tr>
<tr>
<td><b>Total</b></td>
......
......@@ -168,7 +168,7 @@
</strong> in person, along with a printout of this letter on <b><span th:text="${admissionForm.admissionDate}"></span> at <span th:text="${admissionForm.admissionTime}"></span></b> for necessary formalities.</p>
<p>Parents willing to pay the full year fee may do so, or pay quarterly by way of Pay Order favouring <b>&quot;La
Martiniere Calcutta&quot;</b> or bank transfer, at the time of admission.</p>
<p>For the <b>1<sup>st</sup> &amp; 2<sup>nd</sup> Quarter fees (April to September <span th:text="(${givenYear + 1})"></span>)</b>, parents are to pay Rs.<b><span th:text="${admissionAmount}"></span>/-</b> towards Tuition Fees, Session Fees,
<p>For the <b>1<sup>st</sup> &amp; 2<sup>nd</sup> Quarter fees (April to September <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span>)</b>, parents are to pay Rs.<b><span th:text="${admissionAmount}"></span>/-</b> towards Tuition Fees, Session Fees,
Infrastructure Development Fees, Admission Fees, Building Development Fees and Security Deposit
(refundable). The amount may be transferred directly to the following account (IMPS / RTGS / NEFT).</p>
<br />
......@@ -212,24 +212,24 @@
<th>Date of Payment</th>
</tr>
<tr>
<td>1<sup>st</sup> Quarter (April to June <span th:text="(${givenYear + 1})"></span>)</td>
<td>1<sup>st</sup> Quarter (April to June <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span>)</td>
<td>Rs. <span th:text="${fees.get(0)}"></span></td>
<td>On the date of admission</td>
</tr>
<tr>
<td>2<sup>nd</sup> Quarter (July to Sept. <span th:text="(${givenYear + 1})"></span>)</td>
<td>2<sup>nd</sup> Quarter (July to Sept. <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span>)</td>
<td>Rs. <span th:text="${fees.get(1)}"></span></td>
<td>On the date of admission</td>
</tr>
<tr>
<td>3<sup>rd</sup> Quarter (Oct to Dec. <span th:text="(${givenYear + 1})"></span>)</td>
<td>3<sup>rd</sup> Quarter (Oct to Dec. <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span>)</td>
<td>Rs. <span th:text="${fees.get(2)}"></span></td>
<td>1<sup>st</sup> to 5<sup>th</sup> Oct. <span th:text="(${givenYear + 1})"></span></td>
<td>1<sup>st</sup> to 5<sup>th</sup> Oct. <span th:text="${#strings.substring(admissionForm.sessionYear, 0, 4)}"></span></td>
</tr>
<tr>
<td>4<sup>th</sup> Quarter (Jan to March <span th:text="(${givenYear + 2})"></span>)</td>
<td>4<sup>th</sup> Quarter (Jan to March <span th:text="${#strings.substring(admissionForm.sessionYear, admissionForm.sessionYear.length() - 4)}"></span>)</td>
<td>Rs. <span th:text="${fees.get(3)}"></span></td>
<td>6<sup>th</sup> to 11<sup>th</sup> Jan <span th:text="(${givenYear + 2})"></span></td>
<td>6<sup>th</sup> to 11<sup>th</sup> Jan <span th:text="${#strings.substring(admissionForm.sessionYear, admissionForm.sessionYear.length() - 4)}"></span></td>
</tr>
<tr>
<td><b>Total</b></td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment