Skip to content

Commit

Permalink
fix: [Contracts] Include template in get one contract for web
Browse files Browse the repository at this point in the history
  • Loading branch information
radulescuandrew committed Sep 23, 2024
1 parent 73f8087 commit 5912a47
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ export class DocumentContractWebItemPresenter {
this.organizationId = item.organizationId;
this.createdByAdminId = item.createdByAdminId;
this.createdByAdminName = item.createdByAdminName;

this.documentTemplateId = item.documentTemplateId;
this.documentTemplateName = item.documentTemplateName;

this.rejectedById = item.rejectedById;
this.rejectedByName = item.rejectedByName;
this.rejectionDate = item.rejectionDate;
Expand Down Expand Up @@ -102,6 +106,20 @@ export class DocumentContractWebItemPresenter {
})
createdByAdminName: string;

@Expose()
@ApiProperty({
description: 'The unique identifier of the document template',
example: '525dcdf9-4117-443e-a0c3-bf652cdc5c1b',
})
documentTemplateId: string;

@Expose()
@ApiProperty({
description: 'The name of the document template',
example: 'Contract Template',
})
documentTemplateName: string;

@Expose()
@ApiProperty({
description:
Expand Down

0 comments on commit 5912a47

Please sign in to comment.