Skip to content

Commit

Permalink
Merge pull request tekdi#19 from ManojNathIC/main
Browse files Browse the repository at this point in the history
fix:Income and caste certificate template and data
  • Loading branch information
ManojNathIC authored Nov 28, 2024
2 parents 513a2cf + 2a16b38 commit f7bd922
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
6 changes: 6 additions & 0 deletions src/Helper/transformers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ export const casteCertificate = (data) => {
familyLeaderBhamashahNumber: record.familyLeaderBhamashahNumber,
relationWithApplicant: record.relationWithApplicant,
studentId: record.studentUniqueId,
schoolName: record.schoolName,
schoolId: record.schoolId,
firstName: record.firstName,
middleName: record.middleName,
Expand Down Expand Up @@ -223,6 +224,7 @@ export const janAadharCertificate = (data) => {
return {
studentId: record.studentUniqueId,
schoolId: record.schoolId,
schoolName: record.schoolName,
familyIdentificationNumber: record.familyId,
firstName: record.firstName,
middleName: record.middleName,
Expand Down Expand Up @@ -258,6 +260,10 @@ export const incomeCertificate = (data) => {
return {
studentId: record.studentUniqueId,
schoolId: record.schoolId,
schoolName: record.schoolName,
firstName: record.firstName,
middleName: record.middleName,
lastName: record.lastName,
fatherName: record.fatherName,
motherName: record.motherName,
husbandName: record.husbandName,
Expand Down
8 changes: 4 additions & 4 deletions template/casteCertificate.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ <h2>Personal Details</h2>
<th>School Identifier</th>
<td>{{schoolId}}</td>
</tr>
<tr>
<th>School Name</th>
<td>{{schoolName}}</td>
</tr>
<tr>
<th>Family Leader Bhamashah</th>
<td>{{familyLeaderBhamashahNumber}}</td>
Expand All @@ -133,10 +137,6 @@ <h2>Personal Details</h2>
</tr>
<tr>
<th>Caste Category</th>
<td>{{castCategory}}</td>
</tr>
<tr>
<th>Caste Category Number</th>
<td>{{castCategoryNumber}}</td>
</tr>
<tr>
Expand Down
8 changes: 8 additions & 0 deletions template/incomeCertificate.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,14 @@ <h2>Personal Details</h2>
<th>Student Identifier</th>
<td>{{studentId}}</td>
</tr>
<tr>
<th>Student Name</th>
<td>{{firstName}} {{middleName}} {{lastName}}</td>
</tr>
<tr>
<th>School Name</th>
<td>{{schoolName}}</td>
</tr>
<tr>
<th>School Identifier</th>
<td>{{schoolId}}</td>
Expand Down

0 comments on commit f7bd922

Please sign in to comment.