รักษาการ done

This commit is contained in:
kittapath 2025-02-04 16:36:50 +07:00
parent c2b59382d5
commit c22da27f00
2 changed files with 3 additions and 2 deletions

View file

@ -4918,7 +4918,7 @@ export class CommandController extends Controller {
});
const data = posMasters.map((_data) => ({
..._data,
statusReport: "PENDING",
statusReport: "DONE",
}));
await this.posMasterActRepository.save(data);

View file

@ -4541,7 +4541,8 @@ export class ProfileEmployeeController extends Controller {
position: profile.position,
leaveDate: profile.dateLeave,
posMasterNo: posMaster == null ? null : posMaster.posMasterNo,
posLevelName: profile.posLevel == null ? null : profile.posLevel.posLevelName,
posLevelName:
profile?.posType?.posTypeShortName ?? "" + " " + profile?.posLevel?.posLevelName ?? "",
posLevelRank: profile.posLevel == null ? null : profile.posLevel.posLevelRank,
posLevelId: profile.posLevel == null ? null : profile.posLevel.id,
posTypeName: profile.posType == null ? null : profile.posType.posTypeName,