mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-06 19:22:06 +00:00
fix(work-orders): dedupe completedDate after merging PR #45
Keep a single fixture property and board op rule so the integrated head typechecks (TS1117).
This commit is contained in:
parent
eadb0bda8b
commit
fd2b34a1cc
2 changed files with 0 additions and 2 deletions
|
|
@ -23,7 +23,6 @@ const SCALAR_BOARD_OP_RULES: ScalarBoardOpRule[] = [
|
||||||
{ key: "status", field: "lifecycleStatus", toValue: (value) => value as string },
|
{ key: "status", field: "lifecycleStatus", toValue: (value) => value as string },
|
||||||
{ key: "dispatcherId", field: "assignTo", toValue: (value) => value as string },
|
{ key: "dispatcherId", field: "assignTo", toValue: (value) => value as string },
|
||||||
{ key: "dueDate", field: "dueDate", toValue: (value) => value as string },
|
{ key: "dueDate", field: "dueDate", toValue: (value) => value as string },
|
||||||
{ key: "completedDate", field: "completedDate", toValue: (value) => value as string },
|
|
||||||
{ key: "vendorId", field: "vendorId", toValue: (value) => String(value) },
|
{ key: "vendorId", field: "vendorId", toValue: (value) => String(value) },
|
||||||
{ key: "apptTime", field: "apptTime", toValue: (value) => value as string },
|
{ key: "apptTime", field: "apptTime", toValue: (value) => value as string },
|
||||||
{ key: "docStatus", field: "docStatus", toValue: (value) => mapDocStatusToApi(value as string) },
|
{ key: "docStatus", field: "docStatus", toValue: (value) => mapDocStatusToApi(value as string) },
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,6 @@ const unscheduledRow: WorkOrderTableRow = {
|
||||||
dispatcherId: "u1",
|
dispatcherId: "u1",
|
||||||
dispatcherName: "Test Dispatcher",
|
dispatcherName: "Test Dispatcher",
|
||||||
scheduledOn: "",
|
scheduledOn: "",
|
||||||
completedDate: "",
|
|
||||||
targetWeek: "",
|
targetWeek: "",
|
||||||
dayGroup: "",
|
dayGroup: "",
|
||||||
dayLabel: "",
|
dayLabel: "",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue