Skip to content

Commit

Permalink
LoA number change (#1626)
Browse files Browse the repository at this point in the history
  • Loading branch information
gchauhan-aot authored Sep 27, 2024
1 parent 21fa121 commit 38456ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions vehicles/src/modules/special-auth/loa.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 6 additions & 0 deletions vehicles/src/modules/special-auth/profile/loa.profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {
Expand Down

0 comments on commit 38456ec

Please sign in to comment.