added transaction details page

This commit was merged in pull request #22.
This commit is contained in:
victorAnumudu
2025-04-29 09:24:48 +01:00
parent d0847b4096
commit 59c1ce6ae7
13 changed files with 531 additions and 18 deletions
+2
View File
@@ -2,6 +2,8 @@ const queryKeys = {
dashboard: ['dashboard'],
loans: ['loans'],
transactions: ['transactions'],
repayment_schedule: ['repayment-schedule'],
loan_charges: ['loan-charges'],
apply_loan: ['apply'],
select_loan: ['select-loan'],
approved_loan: ['approved-loan'],
+7 -1
View File
@@ -77,5 +77,11 @@ export const getRepayments = (reqData) => {
// FUNCTION TO GET LOAN CHARGES TABLE
export const getLoanCharges = (reqData) => {
const postData = { ...reqData }
return getAuxEnd(`/transactions`, postData)
return getAuxEnd(`/loan-charges`, postData)
}
// FUNCTION TO GET REPAYMENT SCHEDULE TABLE
export const getRepaymentSchedule = (reqData) => {
const postData = { ...reqData }
return getAuxEnd(`/repayment-schedules`, postData)
}