diff --git a/src/hooks/masterHook/useMaster.js b/src/hooks/masterHook/useMaster.js index fcbb821d..5675aba7 100644 --- a/src/hooks/masterHook/useMaster.js +++ b/src/hooks/masterHook/useMaster.js @@ -193,6 +193,10 @@ const fetchMasterData = async (masterType) => { return (await MasterRespository.getPaymentMode()).data; case "Expense Status": return (await MasterRespository.getExpenseStatus()).data; + case "Document Type": + return (await MasterRespository.getDocumentTypes()).data; + case "Document Category": + return (await MasterRespository.getDocumentCategories()).data; case "Status": return [ { diff --git a/src/pages/master/MasterTable.jsx b/src/pages/master/MasterTable.jsx index bf27147d..1c4da079 100644 --- a/src/pages/master/MasterTable.jsx +++ b/src/pages/master/MasterTable.jsx @@ -20,7 +20,14 @@ const MasterTable = ({ data, columns, loading, handleModalData }) => { "noOfPersonsRequired", "color", "displayName", - "permissionIds" + "permissionIds", + "entityTypeId", + "regexExpression", + "isMandatory", + "maxFilesAllowed", + "maxSizeAllowedInMB", + "isValidationRequired", + "documentCategory" ]; const safeData = Array.isArray(data) ? data : []; @@ -80,7 +87,11 @@ const MasterTable = ({ data, columns, loading, handleModalData }) => {