Merge branch 'feature/columns-slideover' into feature/filter-slideover

This commit is contained in:
Adam Moussa 2026-09-25 17:43:27 -04:00
commit 016d376efb
No known key found for this signature in database
2 changed files with 6 additions and 5 deletions

View file

@ -16,6 +16,7 @@ test.describe("Invoice Processing filters (AP-43)", () => {
await page.getByTestId("vendor-filter").fill("Harbor");
await expect(page.getByTestId("filter-toggle").locator(".MuiBadge-badge")).toHaveText("2");
await expect(grid.locator(".MuiDataGrid-row")).toHaveCount(1);
await expect(page.getByTestId("tab-pending").locator("span").last()).toHaveText("1");
await expect(page.getByTestId("attention-banner")).toContainText(
"1 invoices require approval. Show invoices ready to approve.",
);

View file

@ -181,7 +181,7 @@ export function DashboardGrids() {
label={
<InvoiceTabLabel
title="For My Attention"
count={attentionRows.length}
count={filteredAttention.length}
active={tab === "attention"}
/>
}
@ -192,7 +192,7 @@ export function DashboardGrids() {
label={
<InvoiceTabLabel
title="New Invoices"
count={invoices.length}
count={filteredAll.length}
active={tab === "all"}
/>
}
@ -203,7 +203,7 @@ export function DashboardGrids() {
label={
<InvoiceTabLabel
title="Approved Invoices"
count={approvedRows.length}
count={filteredApproved.length}
active={tab === "approved"}
/>
}
@ -214,7 +214,7 @@ export function DashboardGrids() {
label={
<InvoiceTabLabel
title="Rejected Invoices"
count={rejectedRows.length}
count={filteredRejected.length}
active={tab === "rejected"}
/>
}
@ -225,7 +225,7 @@ export function DashboardGrids() {
label={
<InvoiceTabLabel
title="Late Invoices"
count={lateRows.length}
count={filteredLate.length}
active={tab === "late"}
urgency
/>