mirror of
https://github.com/Sea-Haven-Industries/seahaven-ap.git
synced 2026-09-30 16:13:19 +00:00
Merge branch 'feature/columns-slideover' into feature/filter-slideover
This commit is contained in:
commit
016d376efb
2 changed files with 6 additions and 5 deletions
|
|
@ -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.",
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue