Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m2s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m2s
This commit is contained in:
commit
db5028656d
2 changed files with 4 additions and 2 deletions
|
|
@ -2580,6 +2580,7 @@ export class DevelopmentController extends Controller {
|
|||
where: { developmentId: id },
|
||||
relations: ["posLevel", "posType", "employeePosLevel", "employeePosType"],
|
||||
order: {
|
||||
no: "ASC",
|
||||
isDone: "ASC",
|
||||
isDoneIDP: "ASC",
|
||||
citizenId: "ASC",
|
||||
|
|
@ -2587,6 +2588,7 @@ export class DevelopmentController extends Controller {
|
|||
},
|
||||
});
|
||||
const _getDevelopment = getDevelopment.map((item) => ({
|
||||
no: item.no,
|
||||
id: item.id,
|
||||
type: item.type,
|
||||
idcard: item.citizenId,
|
||||
|
|
|
|||
|
|
@ -330,7 +330,7 @@ export class DevelopmentScholarshipController extends Controller {
|
|||
id: item.id,
|
||||
year: item.scholarshipYear,
|
||||
citizenId: item.citizenId,
|
||||
fullName: `${item.prefix ?? ""}${item.firstName ?? ""} ${item.lastName ?? ""}`,
|
||||
fullName: `${item.prefix ?? ""}${item.firstName ?? ""} ${item.lastName ?? ""}`.trim(),
|
||||
position: item.position,
|
||||
posType: item.posType ? item.posType.posTypeName : null,
|
||||
posLevel: item.posLevel ? item.posLevel.posLevelName : null,
|
||||
|
|
@ -339,7 +339,7 @@ export class DevelopmentScholarshipController extends Controller {
|
|||
scholarshipType: item.scholarshipType,
|
||||
startDate: item.startDate,
|
||||
endDate: item.endDate,
|
||||
fullNameGuarantor: `${item.guarantorPrefix ?? ""}${item.guarantorFirstName ?? ""} ${item.guarantorLastName ?? ""}` ,
|
||||
fullNameGuarantor: `${item.guarantorPrefix ?? ""}${item.guarantorFirstName ?? ""} ${item.guarantorLastName ?? ""}`.trim(),
|
||||
guarantorCitizenId: item.guarantorCitizenId,
|
||||
}));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue