mapping fields for case type
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user