In Filter panel for Expense and Payment Request at filter expense Category value is not showing.
This commit is contained in:
parent
e962e02fbc
commit
ec38e8f9e0
@ -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"
|
||||
/>
|
||||
|
||||
@ -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"
|
||||
/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user