mapping fields for case type

This commit is contained in:
2021-10-26 12:56:21 +01:00
parent 3da35dcf9b
commit db49898e91
32 changed files with 10669 additions and 486 deletions
+8
View File
@@ -17,6 +17,14 @@ export const getFormCollection = (formtype) => {
return collectionName[0];
};
export const getFormCollectionByID = (appealTypeID) => {
const collectionName = jsonpath.query(
data,
"$..[?(@.appealTypeID =='" + appealTypeID + "')]"
);
return collectionName[0];
};
/*
* Get the details of a case from the appeal type
* @param String token