Merge branch 'develop' of github.com:Frappet/hrms-api-org into develop

This commit is contained in:
mamoss 2025-03-28 12:26:20 +07:00
commit d281e37b2c
2 changed files with 7 additions and 7 deletions

View file

@ -7576,7 +7576,7 @@ export class OrganizationController extends Controller {
order: { orgRootName: "ASC" },
select: ["orgRootName"],
});
const root = [root1, root2];
const root = [...root1, ...root2];
const child1 = await this.child1Repository.find({
where: {

View file

@ -536,17 +536,17 @@ export class OrganizationDotnetController extends Controller {
registrationProvinceId: profile.registrationProvinceId,
registrationDistrictId: profile.registrationDistrictId,
registrationSubDistrictId: profile.registrationSubDistrictId,
registrationProvince: profile.registrationProvince.id,
registrationDistrict: profile.registrationDistrict.id,
registrationSubDistrict: profile.registrationSubDistrict.id,
registrationProvince: profile.registrationProvince.name,
registrationDistrict: profile.registrationDistrict.name,
registrationSubDistrict: profile.registrationSubDistrict.name,
registrationZipCode: profile.registrationZipCode,
currentAddress: profile.currentAddress,
currentProvinceId: profile.currentProvinceId,
currentDistrictId: profile.currentDistrictId,
currentSubDistrictId: profile.currentSubDistrictId,
currentProvince: profile.currentProvince.id,
currentDistrict: profile.currentDistrict.id,
currentSubDistrict: profile.currentSubDistrict.id,
currentProvince: profile.currentProvince.name,
currentDistrict: profile.currentDistrict.name,
currentSubDistrict: profile.currentSubDistrict.name,
currentZipCode: profile.currentZipCode,
dutyTimeId: profile.dutyTimeId,
dutyTimeEffectiveDate: profile.dutyTimeEffectiveDate,