From ae0dd31f05315fb399fe7849a650893b512470e3 Mon Sep 17 00:00:00 2001
From: Alex ORLUC <alex.orluc@maarch.org>
Date: Fri, 22 Jan 2021 15:56:48 +0100
Subject: [PATCH] FEAT #15155 TIME 0:10 fix action refactoring

---
 .../send-to-record-management.component.ts                    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/frontend/app/actions/send-to-record-management-action/send-to-record-management.component.ts b/src/frontend/app/actions/send-to-record-management-action/send-to-record-management.component.ts
index 6897aa1b255..1540a7150f1 100644
--- a/src/frontend/app/actions/send-to-record-management-action/send-to-record-management.component.ts
+++ b/src/frontend/app/actions/send-to-record-management-action/send-to-record-management.component.ts
@@ -41,7 +41,7 @@ export class SendToRecordManagementComponent implements OnInit {
     archivalAgreements = [];
     archivalAgreement: string = null;
 
-    columnsToDisplay = ['chrono', 'subject', 'slipId', 'archiveId', 'retentionFinalDisposition', 'countArchives'];
+    columnsToDisplay = ['chrono', 'subject', 'slipId', 'producerService', 'retentionRule', 'retentionFinalDisposition', 'countArchives'];
 
     archives: any[] = [];
     folders: any = [];
@@ -80,6 +80,8 @@ export class SendToRecordManagementComponent implements OnInit {
                         retentionFinalDisposition: data.success[resId].data.doctype.retentionFinalDisposition,
                         archives: data.success[resId].archiveUnits,
                         doctype: data.success[resId].data.doctype.label,
+                        retentionRule: data.success[resId].data.doctype.retentionRule,
+                        producerService: data.success[resId].data.entity.producerService,
                         entity: data.success[resId].data.entity.label,
                         folder: data.success[resId].additionalData.folders.length > 0 ? data.success[resId].additionalData.folders[0] : null,
                         countArchives : data.success[resId].archiveUnits.length
-- 
GitLab