Browse Source

Merge pull request 'add endpoint company management' (#156) from Dev-Farhan into general

Reviewed-on: ordo/adw-frontend#156
pull/2/head
farhantock 1 year ago
parent
commit
6a588e14e5
  1. 11
      src/const/ApiConst.js

11
src/const/ApiConst.js

@ -734,3 +734,14 @@ export const IMAGE_UPLOAD = `${BASE_SIMPRO_LUMEN}/image/upload`;
export const IMAGE_DELETE = (id, category) => {
return `${BASE_SIMPRO_LUMEN}/image/delete/${id}/${category}`;
}
export const COMPANY_MANAGEMENT_ADD = `${BASE_SIMPRO_LUMEN}/company-management/add`;
export const COMPANY_MANAGEMENT_SEARCH = `${BASE_SIMPRO_LUMEN}/company-management/search`;
export const COMPANY_MANAGEMENT_EDIT = (id) => {
return `${BASE_SIMPRO_LUMEN}/company-management/update/${id}`;
};
export const COMPANY_MANAGEMENT_DELETE = (id) => {
return `${BASE_SIMPRO_LUMEN}/company-management/delete/${id}`;
};
export const COMPANY_MANAGEMENT_LIST = `${BASE_SIMPRO_LUMEN}/company-management/list`;

Loading…
Cancel
Save