diff --git a/vehicles/src/modules/special-auth/loa.service.ts b/vehicles/src/modules/special-auth/loa.service.ts index 9ad05b754..8363942d5 100644 --- a/vehicles/src/modules/special-auth/loa.service.ts +++ b/vehicles/src/modules/special-auth/loa.service.ts @@ -311,6 +311,7 @@ export class LoaService { companyId: companyId, documentId: documentId, isActive: true, + loaNumber: existingLoaDetail.loaNumber, previousLoaId: existingLoaDetail.loaId, originalLoaId: existingLoaDetail.originalLoaId, userName: currentUser.userName, diff --git a/vehicles/src/modules/special-auth/profile/loa.profile.ts b/vehicles/src/modules/special-auth/profile/loa.profile.ts index 6f38ecef7..a48e44ac0 100644 --- a/vehicles/src/modules/special-auth/profile/loa.profile.ts +++ b/vehicles/src/modules/special-auth/profile/loa.profile.ts @@ -211,6 +211,12 @@ export class LoaProfile extends AutomapperProfile { return companyId; }), ), + forMember( + (d) => d.loaNumber, + mapWithArguments((_, { loaNumber }) => { + return loaNumber; + }), + ), forMember( (d) => d.documentId, mapWithArguments((_, { documentId }) => {