Refactor_Expenses #321

Merged
pramod.mahajan merged 249 commits from Refactor_Expenses into hotfix/MasterActivity 2025-08-01 13:14:59 +00:00
3 changed files with 8 additions and 2 deletions
Showing only changes of commit b1586a8cfb - Show all commits

View File

@ -6,7 +6,8 @@ export const mastersList = [
{ id: 4, name: "Work Category" }, { id: 4, name: "Work Category" },
{ id: 5, name: "Contact Category" }, { id: 5, name: "Contact Category" },
{ id: 6, name: "Contact Tag" }, { id: 6, name: "Contact Tag" },
{ id: 7, name: "Expense Type" }, { id: 7, name: "Expense Type" },
{ id: 8, name: "Payment Mode" },
]; ];
// ------------------- // -------------------

View File

@ -111,6 +111,8 @@ const fetchMasterData = async (masterType) => {
return (await MasterRespository.getContactTag()).data; return (await MasterRespository.getContactTag()).data;
case "Expense Type": case "Expense Type":
return (await MasterRespository.getExpenseType()).data; return (await MasterRespository.getExpenseType()).data;
case "Payment Mode":
return (await MasterRespository.getPaymentMode()).data;
case "Status": case "Status":
return [ return [
{ {

View File

@ -58,6 +58,9 @@ export const MasterRespository = {
getAuditStatus:()=>api.get('/api/Master/work-status'), getAuditStatus:()=>api.get('/api/Master/work-status'),
getExpenseType:()=>api.get('/api/Master/expenses-types') getExpenseType:()=>api.get('/api/Master/expenses-types'),
getPaymentMode:()=>api.get('/api/Master/payment-modes')
} }