Added service stage status and delete functions
This commit is contained in:
@@ -25,6 +25,19 @@ export const getFormCollectionByID = (appealTypeID) => {
|
||||
return collectionName[0];
|
||||
};
|
||||
|
||||
export const getPickListLabel = (data, picklistType, picklistID) => {
|
||||
const pickListData = jsonpath.query(
|
||||
data,
|
||||
"$..[?(@.LogicalName=='" + picklistType + "')]"
|
||||
);
|
||||
|
||||
const pickListLabel = jsonpath.query(
|
||||
pickListData,
|
||||
"$..[?(@.Value=='" + picklistID + "')].Label.LocalizedLabels..Label"
|
||||
);
|
||||
return pickListLabel[0];
|
||||
};
|
||||
|
||||
/*
|
||||
* Get the details of a case from the appeal type
|
||||
* @param object searchResultsObj
|
||||
|
||||
Reference in New Issue
Block a user