added Payment Mode master with API integration and table config for get list

This commit is contained in:
pramod mahajan 2025-07-19 23:37:09 +05:30
parent de7ca102fd
commit b1586a8cfb
3 changed files with 8 additions and 2 deletions

View File

@ -6,7 +6,8 @@ export const mastersList = [
{ id: 4, name: "Work Category" },
{ id: 5, name: "Contact Category" },
{ 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;
case "Expense Type":
return (await MasterRespository.getExpenseType()).data;
case "Payment Mode":
return (await MasterRespository.getPaymentMode()).data;
case "Status":
return [
{

View File

@ -58,6 +58,9 @@ export const MasterRespository = {
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')
}