fixed customer page table

This commit was merged in pull request #1.
This commit is contained in:
victorAnumudu
2025-08-22 17:42:37 +01:00
parent c68a5a2c99
commit 9a55f2a05f
12 changed files with 120 additions and 116 deletions
+25 -18
View File
@@ -56,36 +56,43 @@ export const getDashData = (reqData) => {
return getAuxEnd(`/dashboard`, postData)
}
// FUNCTION TO GET CUSTOMERS
export const getCustomers = (reqData) => {
const postData = { ...reqData }
return getAuxEnd(`/customers`, postData)
}
// FUNCTION TO GET BILLINGS
export const getBillings = (reqData) => {
const postData = { ...reqData }
return getAuxEnd(`/billings`, postData)
}
// FUNCTION TO GET SUBSCRIPTIONS
export const getSubcriptions = (reqData) => {
const postData = { ...reqData }
return getAuxEnd(`/subcriptions`, postData)
}
// FUNCTION TO GET LOANS TABLE
export const getLoans = (reqData) => {
const postData = { ...reqData }
return getAuxEnd(`/loans`, postData)
}
// FUNCTION TO GET TRANSACTIONS TABLE
export const getCustomers = (reqData) => {
const postData = { ...reqData }
return getAuxEnd(`/customers`, postData)
}
// FUNCTION TO GET TRANSACTIONS TABLE
export const getTransactions = (reqData) => {
const postData = { ...reqData }
return getAuxEnd(`/transactions`, postData)
}
// FUNCTION TO GET REPAYMENTS TABLE
export const getRepayments = (reqData) => {
const postData = { ...reqData }
return getAuxEnd(`/repayments`, postData)
}
// FUNCTION TO GET LOAN CHARGES TABLE
export const getLoanCharges = (reqData) => {
const postData = { ...reqData }
return getAuxEnd(`/loan-charges`, postData)
}
// FUNCTION TO GET OFFERS LIST TABLE
export const getOffers = (reqData) => {
const postData = { ...reqData }