Merge branch 'develop' of github.com:Frappet/bma-ehr-organization into develop
This commit is contained in:
commit
6fa61f6ae0
1 changed files with 7 additions and 3 deletions
|
|
@ -71,19 +71,23 @@ export class ProfileAddressController extends Controller {
|
|||
@Get("history/{addressId}")
|
||||
public async getProfileAddressHistory(@Path() addressId: string) {
|
||||
const record = await this.profileAddressHistoryRepo.find({
|
||||
where: {
|
||||
id: addressId,
|
||||
},
|
||||
where: { profileId: addressId },
|
||||
select: [
|
||||
"registrationAddress",
|
||||
"registrationProvinceId",
|
||||
"registrationProvince",
|
||||
"registrationDistrictId",
|
||||
"registrationDistrict",
|
||||
"registrationSubDistrictId",
|
||||
"registrationSubDistrict",
|
||||
"registrationZipCode",
|
||||
"currentAddress",
|
||||
"currentProvinceId",
|
||||
"currentProvince",
|
||||
"currentDistrictId",
|
||||
"currentDistrict",
|
||||
"currentSubDistrictId",
|
||||
"currentSubDistrict",
|
||||
"currentZipCode",
|
||||
"createdFullName",
|
||||
"createdAt",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue