update transaction history: export data table filter fixing bug

This commit is contained in:
wayanrivan
2025-07-08 09:24:14 +07:00
parent a6fe83b88b
commit acc21e1330
2 changed files with 3 additions and 1 deletions

View File

@ -94,6 +94,8 @@ const ListToolbar = () => {
formattedFilter['Transactions.kind'] = typeValue;
}
formattedFilter['Transactions.status'] = status;
const filterParam = encodeURIComponent(JSON.stringify(formattedFilter));
const response = await fetch(

View File

@ -314,7 +314,7 @@ const TransactionProvider = ({ children }: { children: React.ReactNode }) => {
let startdate: string | undefined;
let enddate: string | undefined;
let transactioncode = '';
// let transactioncode = '';
let type = '';
let status = '';
let searchType = '';