Skip to content

Commit

Permalink
Merge pull request #789 from odisha-muktasoft/UCEM-992-1
Browse files Browse the repository at this point in the history
Ucem 992 1
  • Loading branch information
egov-arindam authored Nov 18, 2024
2 parents 0cb9089 + 125c70d commit 04ac964
Showing 1 changed file with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,15 @@ export const UICustomizations = {
if(businessService === businessServiceMap?.["works.purchase"]){
const workflow = {
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,
// };
// }),
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,
};
Expand All @@ -149,16 +149,16 @@ export const UICustomizations = {
}
if (businessService === businessServiceMap?.measurement) {
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,
};
Expand Down

0 comments on commit 04ac964

Please sign in to comment.