In Filter panel for Expense and Payment Request at filter expense Category value is not showing.

This commit is contained in:
Kartik Sharma 2025-11-07 17:57:11 +05:30
parent e962e02fbc
commit ec38e8f9e0
2 changed files with 4 additions and 4 deletions

View File

@ -46,7 +46,7 @@ const ExpenseFilterPanel = forwardRef(({ onApply, handleGroupBy, setFilterdata }
projectIds: defaultFilter.projectIds || [],
createdByIds: defaultFilter.createdByIds || [],
paidById: defaultFilter.paidById || [],
ExpenseTypeIds: defaultFilter.ExpenseTypeIds || [],
ExpenseCategoryIds: defaultFilter.ExpenseCategoryIds || [],
isTransactionDate: defaultFilter.isTransactionDate ?? true,
startDate: defaultFilter.startDate,
endDate: defaultFilter.endDate,
@ -214,9 +214,9 @@ const ExpenseFilterPanel = forwardRef(({ onApply, handleGroupBy, setFilterdata }
valueKey="id"
/>
<SelectMultiple
name="ExpenseTypeIds"
name="ExpenseCategoryIds"
label="Category :"
options={data.expensesType}
options={data.expenseCategory}
labelKey={(item) => item.name}
valueKey="id"
/>

View File

@ -132,7 +132,7 @@ const PaymentRequestFilterPanel = ({ onApply, handleGroupBy }) => {
<SelectMultiple
name="expenseCategoryIds"
label="Category :"
options={data?.expensesCategory}
options={data?.expenseCategory}
labelKey={(item) => item.name}
valueKey="id"
/>