Merge branch 'develop' of github.com:Frappet/bma-ehr-organization into develop
This commit is contained in:
commit
a592b45769
2 changed files with 13 additions and 1 deletions
|
|
@ -2025,7 +2025,11 @@ export class ProfileController extends Controller {
|
||||||
child3ShortName: child3Holder?.orgChild3ShortName ?? null,
|
child3ShortName: child3Holder?.orgChild3ShortName ?? null,
|
||||||
child4: child4Holder?.orgChild4Name ?? null,
|
child4: child4Holder?.orgChild4Name ?? null,
|
||||||
child4Id: child4Holder?.id ?? null,
|
child4Id: child4Holder?.id ?? null,
|
||||||
// posMasterNo: posMasterNo,
|
posMasterNo: posMasterNo ?? null,
|
||||||
|
posTypeId: item.posTypeId,
|
||||||
|
posTypeName: item.posType?.posTypeName,
|
||||||
|
posLevelId: item.posLevelId,
|
||||||
|
posLevelName: item.posLevel?.posLevelName,
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -1303,6 +1303,9 @@ export class ProfileEmployeeController extends Controller {
|
||||||
const child4Holder = item.current_holders?.find(
|
const child4Holder = item.current_holders?.find(
|
||||||
(x) => x.orgRevisionId == findRevision.id,
|
(x) => x.orgRevisionId == findRevision.id,
|
||||||
)?.orgChild4;
|
)?.orgChild4;
|
||||||
|
const posMasterNo = item.current_holders?.find(
|
||||||
|
(x) => x.orgRevisionId == findRevision.id,
|
||||||
|
)?.posMasterNo;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
id: item.id,
|
id: item.id,
|
||||||
|
|
@ -1337,6 +1340,11 @@ export class ProfileEmployeeController extends Controller {
|
||||||
child4: child4Holder?.orgChild4Name ?? null,
|
child4: child4Holder?.orgChild4Name ?? null,
|
||||||
child4Id: child4Holder?.id ?? null,
|
child4Id: child4Holder?.id ?? null,
|
||||||
child4ShortName: child4Holder?.orgChild4ShortName ?? null,
|
child4ShortName: child4Holder?.orgChild4ShortName ?? null,
|
||||||
|
posMasterNo: posMasterNo ?? null,
|
||||||
|
posTypeId: item.posTypeId,
|
||||||
|
posTypeName: item.posType?.posTypeName,
|
||||||
|
posLevelId: item.posLevelId,
|
||||||
|
posLevelName: item.posLevel?.posLevelName,
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue