fixed customer page table
This commit was merged in pull request #1.
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user