Skip to content

Commit

Permalink
Merge pull request #773 from odisha-muktasoft/MUKTA-FIX-19
Browse files Browse the repository at this point in the history
UCEM-765 : updated and removed the documents and comments from pb
  • Loading branch information
Tulika-eGov authored Oct 29, 2024
2 parents 317b31d + 2924b49 commit 5c98e3b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down
20 changes: 10 additions & 10 deletions frontend/micro-ui/web/src/Customisations/UICustomizations.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit 5c98e3b

Please sign in to comment.