14769 search by project type

This commit is contained in:
2025-03-21 17:40:11 +00:00
parent 4d4d1fe995
commit b50f94074b
14 changed files with 379 additions and 8 deletions
+16
View File
@@ -646,6 +646,22 @@ export const getAppealsTypes = () => {
});
};
export const getProjectTypes = () => {
return axios
.get(BASE_URL + "/api/endpoint/getprojecttypes_api")
.then((res) => res.data)
.catch((error) => {
consoleLogger(error);
let ErrResponse = {
value: [],
errorCode: error.response.status,
errorMsg: error.response.statusText,
};
return ErrResponse;
});
};
export const getAppealsTypesForNewAppeal = () => {
return axios
.get(BASE_URL + "/api/endpoint/getappealtypesfornewappeal_api")