Commit 916474d0 authored by Deep Dey's avatar Deep Dey

chore: set default value if property is null

parent d99c021c
......@@ -152,15 +152,15 @@
</tr>
<tr>
<td>Father's College Info</td>
<td th:text="${admissionForm.fatherCollegeInfo}"></td>
<td th:text="${admissionForm.fatherCollegeInfo} ?: 'N/A'"></td>
</tr>
<tr>
<td>Father's University Info</td>
<td th:text="${admissionForm.fatherUniversityInfo}"></td>
<td th:text="${admissionForm.fatherUniversityInfo} ?: 'N/A'"></td>
</tr>
<tr>
<td>Father's Professional Qualification</td>
<td th:text="${admissionForm.fatherProfessionalQualification}"></td>
<td th:text="${admissionForm.fatherProfessionalQualification} ?: 'N/A'"></td>
</tr>
<tr>
<td>Father's Occupation</td>
......@@ -172,7 +172,7 @@
</tr>
<tr>
<td>Father's Workplace Info</td>
<td th:text="${admissionForm.fatherWorkplaceInfo}"></td>
<td th:text="${admissionForm.fatherWorkplaceInfo} ?: 'N/A'"></td>
</tr>
<tr>
......@@ -181,11 +181,11 @@
</tr>
<tr>
<td>Mother's Contact Number</td>
<td th:text="${admissionForm.motherMobile}"></td>
<td th:text="${admissionForm.motherMobile} ?: 'N/A'"></td>
</tr>
<tr>
<td>Mother's Email</td>
<td th:text="${admissionForm.motherEmail}"></td>
<td th:text="${admissionForm.motherEmail} ?: 'N/A'"></td>
</tr>
<tr>
<td>Mother's Nationality</td>
......@@ -209,27 +209,27 @@
</tr>
<tr>
<td>Mother's College Info</td>
<td th:text="${admissionForm.motherCollegeInfo}"></td>
<td th:text="${admissionForm.motherCollegeInfo} ?: 'N/A'"></td>
</tr>
<tr>
<td>Mother's University Info</td>
<td th:text="${admissionForm.motherUniversityInfo}"></td>
<td th:text="${admissionForm.motherUniversityInfo} ?: 'N/A'">ww</td>
</tr>
<tr>
<td>Mother's Professional Qualification</td>
<td th:text="${admissionForm.motherProfessionalQualification}"></td>
<td th:text="${admissionForm.motherProfessionalQualification} ?: 'N/A'"></td>
</tr>
<tr>
<td>Mother's Occupation</td>
<td th:text="${admissionForm.motherOccupation}"></td>
<td th:text="${admissionForm.motherOccupation} ?: 'N/A'"></td>
</tr>
<tr>
<td>Mother's Monthly Income</td>
<td th:text="${admissionForm.motherMonthlyIncome}"></td>
<td th:text="${admissionForm.motherMonthlyIncome} ?: 'N/A'"></td>
</tr>
<tr>
<td>Mother's Workplace Info</td>
<td th:text="${admissionForm.motherWorkplaceInfo}"></td>
<td th:text="${admissionForm.motherWorkplaceInfo} ?: 'N/A'"></td>
</tr>
</table>
</div>
......
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