From 4f924ab8899be273b5082e121dc21c7433024a4a Mon Sep 17 00:00:00 2001 From: wahyuun Date: Wed, 21 Feb 2024 13:44:48 +0700 Subject: [PATCH] add endpoint refferal code --- src/const/ApiConst.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/const/ApiConst.js b/src/const/ApiConst.js index 8d48366..1401b07 100644 --- a/src/const/ApiConst.js +++ b/src/const/ApiConst.js @@ -280,6 +280,9 @@ export const USER_SYNC = `${BASE_SIMPRO_LUMEN}/human-resource/sync`; export const USER_EDIT = (id) => { return `${BASE_SIMPRO_LUMEN}/human-resource/update/${id}`; }; +export const USER_GET_ID = (id) => { + return `${BASE_SIMPRO_LUMEN}/human-resource/edit/${id}`; +}; export const USER_DELETE = (id) => { return `${BASE_SIMPRO_LUMEN}/human-resource/delete/${id}`; }; @@ -288,6 +291,15 @@ export const HUMAN_RESOURCE_LIST = `${BASE_SIMPRO_LUMEN}/human-resource` export const USER_TO_ACTIVITY_ADD = `${BASE_SIMPRO_LUMEN}/user-to-activity/add` export const USER_TO_ACTIVITY_DELETE = (id) => { return `${BASE_SIMPRO_LUMEN}/user-to-activity/delete/${id}` } +export const REFFERAL_ADD = `${BASE_SIMPRO_LUMEN}/refferal-code/add`; +export const REFFERAL_SEARCH = `${BASE_SIMPRO_LUMEN}/refferal-code/search`; +export const REFFERAL_GET_ID = (id) => { + return `${BASE_SIMPRO_LUMEN}/refferal-code/edit/${id}`; +}; +export const REFFERAL_EDIT = (id) => { + return `${BASE_SIMPRO_LUMEN}/refferal-code/update/${id}`; +}; + export const ABSENSI_ADD = `${BASE_SIMPRO_LUMEN}/permit/add`; export const ABSENSI_SEARCH = `${BASE_SIMPRO_LUMEN}/permit/search`; export const ABSENSI_EDIT = (id) => {