add bank account details to the transaction - eg. HSBC **** 5631 - so you only see last 4 numbers
Let me look at the payment data structure and the transaction details section.
Let me read the rest of the payments data and the transaction details section.
Now let me find the transaction details section where bank ref / details are shown.
I'll add a bankAccount field to each payment, then display it in the Bank Transaction panel. Let me add the field to all payments first.
Now let me display the bank account in the Bank Transaction panel, after the Reference row.
I added a bankAccount field to each payment record (masked format showing only the bank name and last 4 digits, e.g. "HSBC **** 5631") and rendered it as a new "Bank Account" row in the Bank Transaction panel, just below the Reference. The row only displays when a bank account is present, so it degrades gracefully for any payment without that data.
Can you change disputes to cases and have a tabbed menu here under cases for disputes and credit approvals?
Let me find where "Disputes" appears as a navigation/section item.
Let me look at the sidebar navigation and the disputes page to understand the current structure.
Let me look at the disputes page to understand its structure.
Let me look at the credit approval data structure in tasks-data.
Let me read the credit approval tasks to understand their data structure.
Let me check the Task type definition for the fields available.
Now I have enough context. Let me make the changes. First, rename "Disputes" to "Cases" in the sidebar.
Now let me update the disputes page. First the imports to bring in the Task type:
Now add the tab state and credit approval data near the top of the component:
Now let me add the credit approvals computation after the disputes data line:
Now update the header to say "Cases" and make the search/create button tab-aware:
Now let me read the current body section to wrap it in tab conditionals:
I'll wrap the disputes content in a conditional. Let me edit the opening of the body:
Now let me close the disputes conditional and add the credit approvals table. Let me read the end of the table section:
Now let me close the disputes conditional and add the credit approvals table:
I renamed "Disputes" to "Cases" in the sidebar and added a tabbed menu to the Cases page with "Disputes" and "Credit approvals" tabs. The Disputes tab keeps the existing table and "Create dispute" action, while the new Credit approvals tab lists all credit-approval tasks (like the Meridian and Ironclad requests) with priority, customer, requested amount, assignee, and status — each row links through to the task detail page. Both tabs share the search box and filter controls, with the filters adapting to each tab's available fields.
Change to a case icon.