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

View File

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