Commit aa49fc98 authored by Deep Dey's avatar Deep Dey

fix: fix wrong UI information

parent b12c032e
......@@ -19,7 +19,7 @@ $(document).ready(function () {
'<td><input type="checkbox" class="student-checkbox" data-id="' +
student.id +
'"></td>';
outputHtml += '<td>' + student.fullName + '</td>';
outputHtml += `<td>${student.fullName}${student.duplicateFatherEmail ? ' (Twin)':''}</td>`;
outputHtml +=
'<td>' +
(student.interactionDate || '') +
......
......@@ -186,7 +186,7 @@
<div class="la-invalid-feedback"></div>
</div>
<div class="la-form-group form-check">
<input id="checkFatherEmail" name="checkFatherEmail" class="form-check-input" type="checkbox" value="">
<input id="duplicateFatherEmail" name="duplicateFatherEmail" class="form-check-input" type="checkbox" value="">
<label class="form-check-label" for="flexCheckDefault">
Please check this, If you have twins and already filled this form before with a email address and use the same email here.
</label>
......
......@@ -113,7 +113,7 @@
<p><span>NAME OF CANDIDATE:</span> ${userObject.fullName}</p>
<p><span>DATE OF BIRTH:</span> ${userObject.dateOfBirth}</p>
<p><span>FATHER'S NAME:</span> ${userObject.fatherName}</p>
<p><span>FATHER'S NAME:</span> ${userObject.motherName}</p>
<p><span>MOTHER'S NAME:</span> ${userObject.motherName}</p>
`;
$('#details').html(userDataHtml);
......
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