loan detail page added

This commit was merged in pull request #66.
This commit is contained in:
victorAnumudu
2024-08-06 21:04:14 +01:00
parent 5efc935f05
commit 25545ad47e
6 changed files with 543 additions and 3 deletions
+17
View File
@@ -50,6 +50,23 @@ export const getEmployersList = () => {
return getAuxEnd(`/employers`, reqData)
}
// FUNCTION TO GET USER EMPLOYER
export const getEmployer = () => {
let reqData = {
uid: localStorage.getItem('uid'),
}
return getAuxEnd(`/dash/employer?uid=${reqData?.uid}`, null)
}
// FUNCTION TO GET LOAN DETAILS
export const getLoanDetail = (postData:any) => {
let reqData = {
uid: localStorage.getItem('uid'),
...postData
}
return getAuxEnd(`/loan/loandetail?uid=${reqData?.uid}&application_uid=${reqData?.application_uid}`, null)
}
// FUNCTION TO ADD CARD
export const addCard = (postData:any) => {
let reqData = {