Office code

This commit is contained in:
CHIEFSOFT\ameye
2025-08-21 12:00:39 -04:00
parent 43effd4895
commit c68a5a2c99
14 changed files with 341 additions and 5 deletions
+1
View File
@@ -1,5 +1,6 @@
const queryKeys = {
dashboard: ['dashboard'],
customer:['customer'],
loans: ['loans'],
transactions: ['transactions'],
repayment_schedule: ['repayment-schedule'],
+6
View File
@@ -62,6 +62,12 @@ export const getLoans = (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 }