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
Deep Dey
LaMartin-Webomagic
Commits
487d1e4a
Commit
487d1e4a
authored
Jul 02, 2026
by
Deep Dey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: fix admission for logic
parent
b24cdfd5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
lamartinBackend/src/main/java/com/example/LaMartin/admission/dao/controller/AdmissionFormDAOController.java
.../admission/dao/controller/AdmissionFormDAOController.java
+4
-2
lamartinBackend/src/main/resources/templates/AdmissionInterviewTemplate.html
.../main/resources/templates/AdmissionInterviewTemplate.html
+1
-1
No files found.
lamartinBackend/src/main/java/com/example/LaMartin/admission/dao/controller/AdmissionFormDAOController.java
View file @
487d1e4a
...
...
@@ -53,8 +53,10 @@ public class AdmissionFormDAOController {
}
if
(
formData
.
getAdmissionClass
().
equals
(
"Lower Nursery"
))
{
if
(!
formData
.
getDateOfBirth
().
startsWith
(
"2024"
))
{
throw
new
Exception
(
"Date of Birth should be 2024"
);
if
(!
formData
.
isFilledByAdmin
())
{
if
(!
formData
.
getDateOfBirth
().
startsWith
(
"2024"
))
{
throw
new
Exception
(
"Date of Birth should be 2024"
);
}
}
}
...
...
lamartinBackend/src/main/resources/templates/AdmissionInterviewTemplate.html
View file @
487d1e4a
...
...
@@ -186,7 +186,7 @@
</div>
<div
class=
"note"
>
<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>
...
...
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