diff --git a/frontend/micro-ui/web/micro-ui-internals/example/src/UICustomizations.js b/frontend/micro-ui/web/micro-ui-internals/example/src/UICustomizations.js index cfb0438ce7..5ca5bdd048 100644 --- a/frontend/micro-ui/web/micro-ui-internals/example/src/UICustomizations.js +++ b/frontend/micro-ui/web/micro-ui-internals/example/src/UICustomizations.js @@ -117,16 +117,16 @@ export const UICustomizations = { } if(businessService === businessServiceMap?.["works.purchase"]){ const workflow = { - comment: data.comments, - documents: data?.documents?.map((document) => { - return { - documentType: action?.action + " DOC", - fileName: document?.[1]?.file?.name, - fileStoreId: document?.[1]?.fileStoreId?.fileStoreId, - documentUid: document?.[1]?.fileStoreId?.fileStoreId, - tenantId: document?.[1]?.fileStoreId?.tenantId, - }; - }), + comments: data.comments, + // documents: data?.documents?.map((document) => { + // return { + // documentType: action?.action + " DOC", + // fileName: document?.[1]?.file?.name, + // fileStoreId: document?.[1]?.fileStoreId?.fileStoreId, + // documentUid: document?.[1]?.fileStoreId?.fileStoreId, + // tenantId: document?.[1]?.fileStoreId?.tenantId, + // }; + // }), assignees: data?.assignees?.uuid ? [data?.assignees?.uuid] : null, action: action.action, }; diff --git a/frontend/micro-ui/web/src/Customisations/UICustomizations.js b/frontend/micro-ui/web/src/Customisations/UICustomizations.js index dfb2797280..34863d5607 100644 --- a/frontend/micro-ui/web/src/Customisations/UICustomizations.js +++ b/frontend/micro-ui/web/src/Customisations/UICustomizations.js @@ -117,16 +117,16 @@ export const UICustomizations = { } if(businessService === businessServiceMap?.["works.purchase"]){ const workflow = { - comment: data.comments, - documents: data?.documents?.map((document) => { - return { - documentType: action?.action + " DOC", - fileName: document?.[1]?.file?.name, - fileStoreId: document?.[1]?.fileStoreId?.fileStoreId, - documentUid: document?.[1]?.fileStoreId?.fileStoreId, - tenantId: document?.[1]?.fileStoreId?.tenantId, - }; - }), + comments: data.comments, + // documents: data?.documents?.map((document) => { + // return { + // documentType: action?.action + " DOC", + // fileName: document?.[1]?.file?.name, + // fileStoreId: document?.[1]?.fileStoreId?.fileStoreId, + // documentUid: document?.[1]?.fileStoreId?.fileStoreId, + // tenantId: document?.[1]?.fileStoreId?.tenantId, + // }; + // }), assignees: data?.assignees?.uuid ? [data?.assignees?.uuid] : null, action: action.action, };