FPSMS-frontend
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 

112 řádky
3.1 KiB

  1. import type { PoWorkbenchListRow } from "@/components/PoWorkbench/types";
  2. /** Local dev / Storybook PO list samples (production shell uses `/po/list`). */
  3. export const PO_WORKBENCH_LIST_MOCK_ROWS: readonly PoWorkbenchListRow[] = [
  4. {
  5. id: "1",
  6. poNumber: "PO20250401000001",
  7. supplierName: "Acme Components Ltd.",
  8. orderDate: "2025-04-01",
  9. estimatedArrivalDate: "2025-04-18",
  10. escalated: true,
  11. status: "receiving",
  12. },
  13. {
  14. id: "2",
  15. poNumber: "PO20250401000002",
  16. supplierName: "Northwind Trading Co.",
  17. orderDate: "2025-04-01",
  18. estimatedArrivalDate: "2025-04-22",
  19. escalated: false,
  20. status: "pending",
  21. },
  22. {
  23. id: "3",
  24. poNumber: "PO20250401000003",
  25. supplierName: "Contoso Materials HK Branch",
  26. orderDate: "2025-04-02",
  27. estimatedArrivalDate: "2025-04-25",
  28. escalated: true,
  29. status: "completed",
  30. },
  31. {
  32. id: "4",
  33. poNumber: "PO20241201000004",
  34. supplierName: "Fabrikam Industries International",
  35. orderDate: "2024-12-01",
  36. estimatedArrivalDate: "2025-01-15",
  37. escalated: true,
  38. status: "completed",
  39. },
  40. {
  41. id: "5",
  42. poNumber: "PO20250402000005",
  43. supplierName: "Wide World Importers (Asia) Ltd.",
  44. orderDate: "2025-04-02",
  45. estimatedArrivalDate: "2025-04-20",
  46. escalated: false,
  47. status: "pending",
  48. },
  49. {
  50. id: "6",
  51. poNumber: "PO20250402000006",
  52. supplierName: "Adventure Works Manufacturing",
  53. orderDate: "2025-04-02",
  54. estimatedArrivalDate: "2025-04-28",
  55. escalated: true,
  56. status: "receiving",
  57. },
  58. {
  59. id: "7",
  60. poNumber: "PO20250403000007",
  61. supplierName: "Tailspin Toys Logistics Limited",
  62. orderDate: "2025-04-03",
  63. estimatedArrivalDate: "2025-05-02",
  64. escalated: false,
  65. status: "completed",
  66. },
  67. {
  68. id: "8",
  69. poNumber: "PO20250403000008",
  70. supplierName:
  71. "Very Very Long Supplier Name (Hong Kong) Co., Ltd. — International Procurement & Strategic Sourcing Division",
  72. orderDate: "2025-04-03",
  73. estimatedArrivalDate: "2025-05-06",
  74. escalated: true,
  75. status: "pending",
  76. },
  77. {
  78. id: "9",
  79. poNumber: "PO20250404000009",
  80. supplierName:
  81. "Mega Industrial Parts & Components Trading (Asia Pacific) — Shenzhen / Dongguan / Guangzhou Regional Office",
  82. orderDate: "2025-04-04",
  83. estimatedArrivalDate: "2025-04-30",
  84. escalated: false,
  85. status: "receiving",
  86. },
  87. {
  88. id: "10",
  89. poNumber: "PO20250405000010",
  90. supplierName:
  91. "Example Supplier With An Extremely Long Legal Entity Name That Should Force Wrapping Across Multiple Lines (Invoice Dept.)",
  92. orderDate: "2025-04-05",
  93. estimatedArrivalDate: "2025-05-12",
  94. escalated: true,
  95. status: "completed",
  96. },
  97. {
  98. id: "11",
  99. poNumber: "PO20250406000011",
  100. supplierName:
  101. "Global Manufacturing & Logistics Services Limited (c/o Warehouse 3, Block B, 1234 Some Very Long Industrial Estate Road, Kwai Chung, NT)",
  102. orderDate: "2025-04-06",
  103. estimatedArrivalDate: "2025-05-15",
  104. escalated: false,
  105. status: "receiving",
  106. },
  107. ] as const;
  108. /** @deprecated Use {@link PO_WORKBENCH_LIST_MOCK_ROWS}. */
  109. export const MOCK_WORKBENCH_SEARCH_RESULTS = PO_WORKBENCH_LIST_MOCK_ROWS;