diff --git a/backend/src/api/documents/presenters/document-contract-web-item.presenter.ts b/backend/src/api/documents/presenters/document-contract-web-item.presenter.ts index 3d544fde..ec6b8bec 100644 --- a/backend/src/api/documents/presenters/document-contract-web-item.presenter.ts +++ b/backend/src/api/documents/presenters/document-contract-web-item.presenter.ts @@ -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; @@ -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: