diff --git a/internal/api/documents_related_resources.go b/internal/api/documents_related_resources.go index 30a63d86b..a3a9e4223 100644 --- a/internal/api/documents_related_resources.go +++ b/internal/api/documents_related_resources.go @@ -40,11 +40,15 @@ type externalLinkRelatedResourceGetResponse struct { } type hermesDocumentRelatedResourceGetResponse struct { - GoogleFileID string `json:"googleFileID"` - Title string `json:"title"` - DocumentType string `json:"documentType"` - DocumentNumber string `json:"documentNumber"` - SortOrder int `json:"sortOrder"` + GoogleFileID string `json:"googleFileID"` + Title string `json:"title"` + DocumentType string `json:"documentType"` + DocumentNumber string `json:"documentNumber"` + SortOrder int `json:"sortOrder"` + Status string `json:"status"` + Owners []string `json:"owners"` + OwnerPhotos []string `json:"ownerPhotos"` + Product string `json:"product"` } func documentsResourceRelatedResourcesHandler( @@ -153,6 +157,10 @@ func documentsResourceRelatedResourcesHandler( DocumentType: doc.DocType, DocumentNumber: doc.DocNumber, SortOrder: hdrr.RelatedResource.SortOrder, + Status: doc.Status, + Owners: doc.Owners, + OwnerPhotos: doc.OwnerPhotos, + Product: doc.Product, }) } diff --git a/web/app/components/related-resources.ts b/web/app/components/related-resources.ts index 1e88642fa..bdb7b24f4 100644 --- a/web/app/components/related-resources.ts +++ b/web/app/components/related-resources.ts @@ -26,6 +26,10 @@ export interface RelatedHermesDocument { documentType: string; documentNumber: string; sortOrder: number; + status: string; + owners?: string[]; + ownerPhotos?: string[]; + product?: string; } export enum RelatedResourcesScope { diff --git a/web/app/components/related-resources/add.ts b/web/app/components/related-resources/add.ts index 0cecadb95..7542e6016 100644 --- a/web/app/components/related-resources/add.ts +++ b/web/app/components/related-resources/add.ts @@ -331,6 +331,9 @@ export default class RelatedResourcesAddComponent extends Component