Merge branch 'develop' of https://github.com/Frappet/bma-ehr-organization into develop
This commit is contained in:
commit
e2d202d17c
2 changed files with 6 additions and 3 deletions
|
|
@ -160,10 +160,10 @@ export class ProfileEditEmployeeController extends Controller {
|
||||||
// return new HttpSuccess(getProfileEdit);
|
// return new HttpSuccess(getProfileEdit);
|
||||||
// }
|
// }
|
||||||
|
|
||||||
@Get("{profileEmployeeId}")
|
@Get("{id}")
|
||||||
public async detailProfileEditEmp(@Path() profileEmployeeId: string) {
|
public async detailProfileEditEmp(@Path() id: string) {
|
||||||
const getProfileEdit = await this.profileEditRepository.findOne({
|
const getProfileEdit = await this.profileEditRepository.findOne({
|
||||||
where: { profileEmployeeId: profileEmployeeId },
|
where: { id: id },
|
||||||
relations: ["profileEmployee"],
|
relations: ["profileEmployee"],
|
||||||
});
|
});
|
||||||
if (!getProfileEdit) {
|
if (!getProfileEdit) {
|
||||||
|
|
|
||||||
|
|
@ -89,6 +89,7 @@ export type CreateProfileFamilyMother = {
|
||||||
motherPrefix: string | null;
|
motherPrefix: string | null;
|
||||||
motherFirstName: string | null;
|
motherFirstName: string | null;
|
||||||
motherLastName: string | null;
|
motherLastName: string | null;
|
||||||
|
motherLastNameOld: string | null;
|
||||||
motherCareer: string | null;
|
motherCareer: string | null;
|
||||||
motherCitizenId: string | null;
|
motherCitizenId: string | null;
|
||||||
motherLive: boolean | null;
|
motherLive: boolean | null;
|
||||||
|
|
@ -99,6 +100,7 @@ export type CreateProfileEmployeeFamilyMother = {
|
||||||
motherPrefix: string | null;
|
motherPrefix: string | null;
|
||||||
motherFirstName: string | null;
|
motherFirstName: string | null;
|
||||||
motherLastName: string | null;
|
motherLastName: string | null;
|
||||||
|
motherLastNameOld: string | null;
|
||||||
motherCareer: string | null;
|
motherCareer: string | null;
|
||||||
motherCitizenId: string | null;
|
motherCitizenId: string | null;
|
||||||
motherLive: boolean | null;
|
motherLive: boolean | null;
|
||||||
|
|
@ -108,6 +110,7 @@ export type UpdateProfileFamilyMother = {
|
||||||
motherPrefix: string | null;
|
motherPrefix: string | null;
|
||||||
motherFirstName: string | null;
|
motherFirstName: string | null;
|
||||||
motherLastName: string | null;
|
motherLastName: string | null;
|
||||||
|
motherLastNameOld: string | null;
|
||||||
motherCareer: string | null;
|
motherCareer: string | null;
|
||||||
motherCitizenId: string | null;
|
motherCitizenId: string | null;
|
||||||
motherLive: boolean | null;
|
motherLive: boolean | null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue