mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-09-30 10:23:11 +00:00
chore(workorders): remove ticket keys from column comments
This commit is contained in:
parent
4649fd00da
commit
62825d2c70
3 changed files with 4 additions and 4 deletions
|
|
@ -11,7 +11,7 @@ export const WO_TABLE_COLS = [
|
|||
{ key: "vendor", label: "VENDOR", w: 184 },
|
||||
{ key: "appt", label: "APPT TIME", w: 128 },
|
||||
{ key: "status", label: "STATUS", w: 148 },
|
||||
// SH-359: Completed Date gates the Completion Document, so it sits between Status and Comp Doc.
|
||||
// Completed Date gates the Completion Document, so it sits between Status and Comp Doc.
|
||||
{ key: "completed", label: "COMPLETED DATE", w: 130 },
|
||||
{ key: "doc", label: "COMP DOC", w: 84 },
|
||||
{ key: "uplift", label: "UPLIFT", w: 108 },
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ vi.mock("@/app/(protected)/workorders/_components/list/table/cells/uplift-cell",
|
|||
UpliftCell: () => <span>cell:uplift</span>,
|
||||
}));
|
||||
|
||||
/** SH-359: documented left-to-right data column order for the Work Orders board. */
|
||||
/** Documented left-to-right data column order for the Work Orders board. */
|
||||
const DOCUMENTED_ORDER = [
|
||||
"SITE",
|
||||
"WO",
|
||||
|
|
@ -46,7 +46,7 @@ const DOCUMENTED_ORDER = [
|
|||
"UPLIFT",
|
||||
];
|
||||
|
||||
describe("Work Orders board column order (SH-359)", () => {
|
||||
describe("Work Orders board column order", () => {
|
||||
it("renders the documented header order with grip/flag before Site and actions after Uplift", () => {
|
||||
renderWithProviders(
|
||||
<table>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import { expandScalarBoardOps } from "@/domain/work-orders/mappers/expand-scalar
|
|||
import { mapWorkOrderTableRow } from "@/domain/work-orders/mappers/work-order-table-row-mapper";
|
||||
|
||||
describe("COMPLETED DATE board column wiring", () => {
|
||||
it("includes COMPLETED DATE column between STATUS and COMP DOC (SH-359)", () => {
|
||||
it("includes COMPLETED DATE column between STATUS and COMP DOC", () => {
|
||||
const keys = WO_TABLE_COLS.map((col) => col.key);
|
||||
expect(keys).toContain("completed");
|
||||
expect(keys.indexOf("completed")).toBe(keys.indexOf("status") + 1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue