Commit 487d1e4a authored by Deep Dey's avatar Deep Dey

fix: fix admission for logic

parent b24cdfd5
...@@ -53,8 +53,10 @@ public class AdmissionFormDAOController { ...@@ -53,8 +53,10 @@ public class AdmissionFormDAOController {
} }
if (formData.getAdmissionClass().equals("Lower Nursery")) { if (formData.getAdmissionClass().equals("Lower Nursery")) {
if(!formData.getDateOfBirth().startsWith("2024")) { if (!formData.isFilledByAdmin()) {
throw new Exception("Date of Birth should be 2024"); if(!formData.getDateOfBirth().startsWith("2024")) {
throw new Exception("Date of Birth should be 2024");
}
} }
} }
......
...@@ -186,7 +186,7 @@ ...@@ -186,7 +186,7 @@
</div> </div>
<div class="note"> <div class="note">
<div>BOTH PARENTS AND CANDIDATE MUST ATTEND THE INTERACTION. DRESS CODE: FORMAL</div> <div>BOTH PARENTS AND CANDIDATE MUST ATTEND THE INTERACTION. DRESS CODE: FORMAL</div>
<div style="margin-top: 5px;">CALL FOR INTERACTION IS NO GUARANTEE OF ADMISSION DATE AND TIME OF THE INTERACTION CANNOT BE CHANGED</div> <div style="margin-top: 5px;">CALL FOR INTERACTION IS NO GUARANTEE OF ADMISSION. DATE AND TIME OF THE INTERACTION CANNOT BE CHANGED</div>
</div> </div>
</div> </div>
</div> </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