@flowselections/floriday-verkoop-module 1.0.173 → 1.0.175

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (258) hide show
  1. package/dist-lib/components/verkoop/AnalyticsCards.d.ts +1 -1
  2. package/dist-lib/components/verkoop/AnalyticsCards.d.ts.map +1 -1
  3. package/dist-lib/components/verkoop/CartAssignmentWizard.d.ts +1 -1
  4. package/dist-lib/components/verkoop/CartAssignmentWizard.d.ts.map +1 -1
  5. package/dist-lib/components/verkoop/CartLayersDialog.d.ts +1 -1
  6. package/dist-lib/components/verkoop/CartLayersDialog.d.ts.map +1 -1
  7. package/dist-lib/components/verkoop/ConfirmDialog.d.ts +1 -1
  8. package/dist-lib/components/verkoop/ConfirmDialog.d.ts.map +1 -1
  9. package/dist-lib/components/verkoop/CreateOrderPage.d.ts +1 -1
  10. package/dist-lib/components/verkoop/CreateOrderPage.d.ts.map +1 -1
  11. package/dist-lib/components/verkoop/DiagnoseConnectionDialog.d.ts +1 -1
  12. package/dist-lib/components/verkoop/DiagnoseConnectionDialog.d.ts.map +1 -1
  13. package/dist-lib/components/verkoop/EditLocalOrderDialog.d.ts +1 -1
  14. package/dist-lib/components/verkoop/EditLocalOrderDialog.d.ts.map +1 -1
  15. package/dist-lib/components/verkoop/EngineActieButtons.d.ts +1 -1
  16. package/dist-lib/components/verkoop/EngineActieButtons.d.ts.map +1 -1
  17. package/dist-lib/components/verkoop/EngineBufferCard.d.ts +1 -1
  18. package/dist-lib/components/verkoop/EngineBufferCard.d.ts.map +1 -1
  19. package/dist-lib/components/verkoop/FloridayStageLine.d.ts +2 -2
  20. package/dist-lib/components/verkoop/FloridayStageLine.d.ts.map +1 -1
  21. package/dist-lib/components/verkoop/FloridaySyncSettings.d.ts +1 -1
  22. package/dist-lib/components/verkoop/FloridaySyncSettings.d.ts.map +1 -1
  23. package/dist-lib/components/verkoop/InvoiceSignoffSettings.d.ts +1 -1
  24. package/dist-lib/components/verkoop/InvoiceSignoffSettings.d.ts.map +1 -1
  25. package/dist-lib/components/verkoop/InvoiceTimingSettings.d.ts +1 -1
  26. package/dist-lib/components/verkoop/InvoiceTimingSettings.d.ts.map +1 -1
  27. package/dist-lib/components/verkoop/KarSlotMelding.d.ts +1 -1
  28. package/dist-lib/components/verkoop/KarSlotMelding.d.ts.map +1 -1
  29. package/dist-lib/components/verkoop/KarTekeningSection.d.ts +1 -1
  30. package/dist-lib/components/verkoop/KarTekeningSection.d.ts.map +1 -1
  31. package/dist-lib/components/verkoop/KlokAanvoerRow.d.ts +11 -0
  32. package/dist-lib/components/verkoop/KlokAanvoerRow.d.ts.map +1 -0
  33. package/dist-lib/components/verkoop/KlokAanvoerRow.js +31 -0
  34. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts +1 -1
  35. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts.map +1 -1
  36. package/dist-lib/components/verkoop/OrderCarrierPicker.d.ts +1 -1
  37. package/dist-lib/components/verkoop/OrderCarrierPicker.d.ts.map +1 -1
  38. package/dist-lib/components/verkoop/OrderControlStatusCard.d.ts +1 -1
  39. package/dist-lib/components/verkoop/OrderControlStatusCard.d.ts.map +1 -1
  40. package/dist-lib/components/verkoop/OrderInvoiceCard.d.ts +1 -1
  41. package/dist-lib/components/verkoop/OrderInvoiceCard.d.ts.map +1 -1
  42. package/dist-lib/components/verkoop/OrderKarindelingCard.d.ts +2 -2
  43. package/dist-lib/components/verkoop/OrderKarindelingCard.d.ts.map +1 -1
  44. package/dist-lib/components/verkoop/OrderLinePackingCard.d.ts +1 -1
  45. package/dist-lib/components/verkoop/OrderLinePackingCard.d.ts.map +1 -1
  46. package/dist-lib/components/verkoop/OrderPickupMomentPicker.d.ts +1 -1
  47. package/dist-lib/components/verkoop/OrderPickupMomentPicker.d.ts.map +1 -1
  48. package/dist-lib/components/verkoop/OrderShipmentsCard.d.ts +1 -1
  49. package/dist-lib/components/verkoop/OrderShipmentsCard.d.ts.map +1 -1
  50. package/dist-lib/components/verkoop/OrderTransportCard.d.ts +8 -7
  51. package/dist-lib/components/verkoop/OrderTransportCard.d.ts.map +1 -1
  52. package/dist-lib/components/verkoop/OrderTransportCard.js +1 -1
  53. package/dist-lib/components/verkoop/PickupLocationsSettings.d.ts +1 -1
  54. package/dist-lib/components/verkoop/PickupLocationsSettings.d.ts.map +1 -1
  55. package/dist-lib/components/verkoop/PlanCoverageBadge.d.ts +1 -1
  56. package/dist-lib/components/verkoop/PlanCoverageBadge.d.ts.map +1 -1
  57. package/dist-lib/components/verkoop/ProductDimensionsSettings.d.ts +1 -1
  58. package/dist-lib/components/verkoop/ProductDimensionsSettings.d.ts.map +1 -1
  59. package/dist-lib/components/verkoop/SafeSvg.d.ts +1 -1
  60. package/dist-lib/components/verkoop/SafeSvg.d.ts.map +1 -1
  61. package/dist-lib/components/verkoop/SalesOrderDetailPage.d.ts +1 -1
  62. package/dist-lib/components/verkoop/SalesOrderDetailPage.d.ts.map +1 -1
  63. package/dist-lib/components/verkoop/SalesOrderDetailPage.js +13 -13
  64. package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts +1 -1
  65. package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts.map +1 -1
  66. package/dist-lib/components/verkoop/SalesOrderDetailView.js +29 -12
  67. package/dist-lib/components/verkoop/SalesOrdersFilterPanel.d.ts +2 -2
  68. package/dist-lib/components/verkoop/SalesOrdersFilterPanel.d.ts.map +1 -1
  69. package/dist-lib/components/verkoop/SalesOrdersFilters.d.ts +1 -1
  70. package/dist-lib/components/verkoop/SalesOrdersFilters.d.ts.map +1 -1
  71. package/dist-lib/components/verkoop/SalesOrdersTable.d.ts +1 -1
  72. package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
  73. package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.d.ts +1 -1
  74. package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.d.ts.map +1 -1
  75. package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts +1 -1
  76. package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
  77. package/dist-lib/components/verkoop/WeekCalendar.d.ts +1 -1
  78. package/dist-lib/components/verkoop/WeekCalendar.d.ts.map +1 -1
  79. package/dist-lib/components/verkoop/correcties/CorrectieBesluitKnoppen.d.ts +1 -1
  80. package/dist-lib/components/verkoop/correcties/CorrectieBesluitKnoppen.d.ts.map +1 -1
  81. package/dist-lib/components/verkoop/correcties/CorrectieChip.d.ts +1 -1
  82. package/dist-lib/components/verkoop/correcties/CorrectieChip.d.ts.map +1 -1
  83. package/dist-lib/components/verkoop/correcties/CorrectiesBalk.d.ts +1 -1
  84. package/dist-lib/components/verkoop/correcties/CorrectiesBalk.d.ts.map +1 -1
  85. package/dist-lib/components/verkoop/correcties/CorrectiesPage.d.ts +1 -1
  86. package/dist-lib/components/verkoop/correcties/CorrectiesPage.d.ts.map +1 -1
  87. package/dist-lib/components/verkoop/correcties/OrderCorrectiesCard.d.ts +1 -1
  88. package/dist-lib/components/verkoop/correcties/OrderCorrectiesCard.d.ts.map +1 -1
  89. package/dist-lib/components/verkoop/correcties/OudeOrderCard.d.ts +1 -1
  90. package/dist-lib/components/verkoop/correcties/OudeOrderCard.d.ts.map +1 -1
  91. package/dist-lib/components/verkoop/klok/KlokNotice.d.ts +1 -1
  92. package/dist-lib/components/verkoop/klok/KlokNotice.d.ts.map +1 -1
  93. package/dist-lib/components/verkoop/klok/KlokOrderPage.d.ts +1 -1
  94. package/dist-lib/components/verkoop/klok/KlokOrderPage.d.ts.map +1 -1
  95. package/dist-lib/components/verkoop/klok/KlokOrderPage.js +51 -11
  96. package/dist-lib/components/verkoop/klok/KlokOrdersList.d.ts +3 -3
  97. package/dist-lib/components/verkoop/klok/KlokOrdersList.d.ts.map +1 -1
  98. package/dist-lib/components/verkoop/klok/KlokOrdersList.js +1 -1
  99. package/dist-lib/components/verkoop/klok/KlokPage.d.ts +1 -1
  100. package/dist-lib/components/verkoop/klok/KlokPage.d.ts.map +1 -1
  101. package/dist-lib/components/verkoop/klok/KlokPage.js +10 -1
  102. package/dist-lib/components/verkoop/klok/KlokStatusBadge.d.ts +1 -1
  103. package/dist-lib/components/verkoop/klok/KlokStatusBadge.d.ts.map +1 -1
  104. package/dist-lib/components/verkoop/klok/useKlok.d.ts +2 -2
  105. package/dist-lib/components/verkoop/klok/useKlok.d.ts.map +1 -1
  106. package/dist-lib/components/verkoop/regel/OrderLineExtrasCard.d.ts +1 -1
  107. package/dist-lib/components/verkoop/regel/OrderLineExtrasCard.d.ts.map +1 -1
  108. package/dist-lib/components/verkoop/regel/RegelGegevensVelden.d.ts +1 -1
  109. package/dist-lib/components/verkoop/regel/RegelGegevensVelden.d.ts.map +1 -1
  110. package/dist-lib/components/verkoop/regel/StickerKeuzeRegels.d.ts +1 -1
  111. package/dist-lib/components/verkoop/regel/StickerKeuzeRegels.d.ts.map +1 -1
  112. package/dist-lib/components/verkoop/tijdlijn/GewijzigdNaPrintCard.d.ts +1 -1
  113. package/dist-lib/components/verkoop/tijdlijn/GewijzigdNaPrintCard.d.ts.map +1 -1
  114. package/dist-lib/components/verkoop/tijdlijn/OrderTijdlijnCard.d.ts +1 -1
  115. package/dist-lib/components/verkoop/tijdlijn/OrderTijdlijnCard.d.ts.map +1 -1
  116. package/dist-lib/components/verkoop/tijdlijn/useOrderTijdlijn.d.ts +2 -2
  117. package/dist-lib/components/verkoop/tijdlijn/useOrderTijdlijn.d.ts.map +1 -1
  118. package/dist-lib/components/verkoop/v3/ArticlesHover.d.ts +1 -1
  119. package/dist-lib/components/verkoop/v3/ArticlesHover.d.ts.map +1 -1
  120. package/dist-lib/components/verkoop/v3/CustomerName.d.ts +1 -1
  121. package/dist-lib/components/verkoop/v3/CustomerName.d.ts.map +1 -1
  122. package/dist-lib/components/verkoop/v3/EmptyState.d.ts +1 -1
  123. package/dist-lib/components/verkoop/v3/EmptyState.d.ts.map +1 -1
  124. package/dist-lib/components/verkoop/v3/FilterChip.d.ts +1 -1
  125. package/dist-lib/components/verkoop/v3/FilterChip.d.ts.map +1 -1
  126. package/dist-lib/components/verkoop/v3/HoverTip.d.ts +1 -1
  127. package/dist-lib/components/verkoop/v3/HoverTip.d.ts.map +1 -1
  128. package/dist-lib/components/verkoop/v3/InfoCard.d.ts +3 -3
  129. package/dist-lib/components/verkoop/v3/InfoCard.d.ts.map +1 -1
  130. package/dist-lib/components/verkoop/v3/KpiTile.d.ts +1 -1
  131. package/dist-lib/components/verkoop/v3/KpiTile.d.ts.map +1 -1
  132. package/dist-lib/components/verkoop/v3/NavigationTooltip.d.ts +1 -1
  133. package/dist-lib/components/verkoop/v3/NavigationTooltip.d.ts.map +1 -1
  134. package/dist-lib/components/verkoop/v3/NoticeBar.d.ts +1 -1
  135. package/dist-lib/components/verkoop/v3/NoticeBar.d.ts.map +1 -1
  136. package/dist-lib/components/verkoop/v3/OrderProgress.d.ts +1 -1
  137. package/dist-lib/components/verkoop/v3/OrderProgress.d.ts.map +1 -1
  138. package/dist-lib/components/verkoop/v3/OrderProgress.js +6 -0
  139. package/dist-lib/components/verkoop/v3/OrderStepper.d.ts +1 -1
  140. package/dist-lib/components/verkoop/v3/OrderStepper.d.ts.map +1 -1
  141. package/dist-lib/components/verkoop/v3/OrderStepper.js +7 -3
  142. package/dist-lib/components/verkoop/v3/RowMenu.d.ts +1 -1
  143. package/dist-lib/components/verkoop/v3/RowMenu.d.ts.map +1 -1
  144. package/dist-lib/components/verkoop/v3/ShortcutHelp.d.ts +1 -1
  145. package/dist-lib/components/verkoop/v3/ShortcutHelp.d.ts.map +1 -1
  146. package/dist-lib/components/verkoop/v3/SourceIcon.d.ts +1 -1
  147. package/dist-lib/components/verkoop/v3/SourceIcon.d.ts.map +1 -1
  148. package/dist-lib/integrations/supabase/client.js +1 -1
  149. package/dist-lib/integrations/supabase/client.server.js +1 -1
  150. package/dist-lib/integrations/supabase/types.d.ts +1771 -21
  151. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  152. package/dist-lib/lib/create-order.functions.d.ts +1 -1
  153. package/dist-lib/lib/floriday-mirror.server.d.ts.map +1 -1
  154. package/dist-lib/lib/floriday-mirror.server.js +31 -0
  155. package/dist-lib/lib/klok-aanvoer.server.d.ts +18 -0
  156. package/dist-lib/lib/klok-aanvoer.server.d.ts.map +1 -0
  157. package/dist-lib/lib/klok-aanvoer.server.js +42 -0
  158. package/dist-lib/lib/klok-floriday.d.ts +93 -0
  159. package/dist-lib/lib/klok-floriday.d.ts.map +1 -0
  160. package/dist-lib/lib/klok-floriday.js +212 -0
  161. package/dist-lib/lib/klok-floriday.server.d.ts +17 -0
  162. package/dist-lib/lib/klok-floriday.server.d.ts.map +1 -0
  163. package/dist-lib/lib/klok-floriday.server.js +349 -0
  164. package/dist-lib/lib/klok-form.d.ts +6 -0
  165. package/dist-lib/lib/klok-form.d.ts.map +1 -1
  166. package/dist-lib/lib/klok-form.js +10 -0
  167. package/dist-lib/lib/klok-payload.d.ts +0 -1
  168. package/dist-lib/lib/klok-payload.d.ts.map +1 -1
  169. package/dist-lib/lib/klok-payload.js +2 -2
  170. package/dist-lib/lib/klok-sales.server.d.ts.map +1 -1
  171. package/dist-lib/lib/klok-sales.server.js +11 -17
  172. package/dist-lib/lib/klok.functions.d.ts +40 -1
  173. package/dist-lib/lib/klok.functions.d.ts.map +1 -1
  174. package/dist-lib/lib/klok.functions.js +111 -10
  175. package/dist-lib/lib/klok.server.d.ts +38 -0
  176. package/dist-lib/lib/klok.server.d.ts.map +1 -1
  177. package/dist-lib/lib/klok.server.js +82 -62
  178. package/dist-lib/lib/klokverkoop.d.ts +32 -0
  179. package/dist-lib/lib/klokverkoop.d.ts.map +1 -0
  180. package/dist-lib/lib/klokverkoop.js +86 -0
  181. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  182. package/dist-lib/lib/order-carrier.functions.js +9 -0
  183. package/dist-lib/lib/order-cart-count.server.d.ts +8 -0
  184. package/dist-lib/lib/order-cart-count.server.d.ts.map +1 -0
  185. package/dist-lib/lib/order-cart-count.server.js +69 -0
  186. package/dist-lib/lib/order-progress.d.ts +9 -0
  187. package/dist-lib/lib/order-progress.d.ts.map +1 -1
  188. package/dist-lib/lib/order-progress.js +27 -4
  189. package/dist-lib/lib/order-status.d.ts +7 -2
  190. package/dist-lib/lib/order-status.d.ts.map +1 -1
  191. package/dist-lib/lib/order-status.js +8 -2
  192. package/dist-lib/lib/order-transport.functions.d.ts +1 -0
  193. package/dist-lib/lib/order-transport.functions.d.ts.map +1 -1
  194. package/dist-lib/lib/order-transport.server.d.ts +1 -0
  195. package/dist-lib/lib/order-transport.server.d.ts.map +1 -1
  196. package/dist-lib/lib/order-transport.server.js +13 -0
  197. package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
  198. package/dist-lib/lib/salesorders-list.server.js +34 -9
  199. package/dist-lib/lib/salesorders-mapping.d.ts +6 -0
  200. package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
  201. package/dist-lib/lib/salesorders-mapping.js +1 -1
  202. package/dist-lib/lib/salesorders.functions.d.ts +0 -10
  203. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  204. package/dist-lib/lib/salesorders.functions.js +14 -20
  205. package/dist-lib/lib/tradeitems.functions.d.ts +1117 -12
  206. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  207. package/dist-lib/lib/useBufferCarts.d.ts +2 -2
  208. package/dist-lib/lib/useBufferCarts.d.ts.map +1 -1
  209. package/dist-lib/lib/useBufferEvents.d.ts +2 -2
  210. package/dist-lib/lib/useBufferEvents.d.ts.map +1 -1
  211. package/dist-lib/lib/useLocalSalesOrderDetailQuery.d.ts +2 -2
  212. package/dist-lib/lib/useLocalSalesOrderDetailQuery.d.ts.map +1 -1
  213. package/dist-lib/lib/usePickupMoment.d.ts +2 -2
  214. package/dist-lib/lib/usePickupMoment.d.ts.map +1 -1
  215. package/dist-lib/lib/useSalesOrderDetailQuery.d.ts +1 -1
  216. package/dist-lib/lib/useSalesOrderDetailQuery.d.ts.map +1 -1
  217. package/dist-lib/lib/useSalesOrdersQuery.d.ts +1 -1
  218. package/package.json +1 -1
  219. package/schema/verkoop.sql +837 -19
  220. package/dist-lib/components/floriday/FlorydaySyncHealthBanner.d.ts +0 -9
  221. package/dist-lib/components/floriday/FlorydaySyncHealthBanner.d.ts.map +0 -1
  222. package/dist-lib/components/floriday/FlorydaySyncHealthBanner.js +0 -26
  223. package/dist-lib/components/karindeling/AfmetingenTab.d.ts +0 -6
  224. package/dist-lib/components/karindeling/AfmetingenTab.d.ts.map +0 -1
  225. package/dist-lib/components/karindeling/AfmetingenTab.js +0 -128
  226. package/dist-lib/components/karindeling/KarindelingPage.d.ts +0 -2
  227. package/dist-lib/components/karindeling/KarindelingPage.d.ts.map +0 -1
  228. package/dist-lib/components/karindeling/KarindelingPage.js +0 -102
  229. package/dist-lib/components/ui/dropdown-menu.d.ts +0 -9
  230. package/dist-lib/components/ui/dropdown-menu.d.ts.map +0 -1
  231. package/dist-lib/components/ui/dropdown-menu.js +0 -14
  232. package/dist-lib/components/verkoop/AutoFulfillmentStatusCard.d.ts +0 -4
  233. package/dist-lib/components/verkoop/AutoFulfillmentStatusCard.d.ts.map +0 -1
  234. package/dist-lib/components/verkoop/AutoFulfillmentStatusCard.js +0 -95
  235. package/dist-lib/components/verkoop/CreateOrderDialog.d.ts +0 -5
  236. package/dist-lib/components/verkoop/CreateOrderDialog.d.ts.map +0 -1
  237. package/dist-lib/components/verkoop/CreateOrderDialog.js +0 -33
  238. package/dist-lib/lib/cron/mirror-floriday-orders.d.ts +0 -4
  239. package/dist-lib/lib/cron/mirror-floriday-orders.d.ts.map +0 -1
  240. package/dist-lib/lib/cron/mirror-floriday-orders.js +0 -23
  241. package/dist-lib/lib/cron/push-order-statuses.d.ts +0 -4
  242. package/dist-lib/lib/cron/push-order-statuses.d.ts.map +0 -1
  243. package/dist-lib/lib/cron/push-order-statuses.js +0 -23
  244. package/dist-lib/lib/floriday/floriday.server.d.ts +0 -14
  245. package/dist-lib/lib/floriday/floriday.server.d.ts.map +0 -1
  246. package/dist-lib/lib/floriday/floriday.server.js +0 -92
  247. package/dist-lib/lib/floriday/sales-orders.functions.d.ts +0 -4736
  248. package/dist-lib/lib/floriday/sales-orders.functions.d.ts.map +0 -1
  249. package/dist-lib/lib/floriday/sales-orders.functions.js +0 -193
  250. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +0 -77581
  251. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +0 -1
  252. package/dist-lib/lib/floriday-auto-fulfillment.functions.js +0 -65
  253. package/dist-lib/lib/floriday-auto-fulfillment.server.d.ts +0 -21
  254. package/dist-lib/lib/floriday-auto-fulfillment.server.d.ts.map +0 -1
  255. package/dist-lib/lib/floriday-auto-fulfillment.server.js +0 -352
  256. package/dist-lib/lib/floriday-status-sync.server.d.ts +0 -14
  257. package/dist-lib/lib/floriday-status-sync.server.d.ts.map +0 -1
  258. package/dist-lib/lib/floriday-status-sync.server.js +0 -130
@@ -8,14 +8,14 @@ import { useQuery, useQueryClient } from "@tanstack/react-query";
8
8
  import { useServerFn } from "@tanstack/react-start";
9
9
  import { Badge, Button, Skeleton } from "@flowselections/core";
10
10
  import { ArrowLeft, ChevronLeft, ChevronRight, ChevronDown, Pencil, Layers, ImageIcon, MapPin, Truck, Euro, Boxes, User, ReceiptText, AlertTriangle } from "lucide-react";
11
- import { SalesOrderDetailView } from "../../components/verkoop/SalesOrderDetailView.js";
11
+ import { SalesOrderDetailView } from "./SalesOrderDetailView.js";
12
12
  import { formatLoadUnits, mergeTypeNames } from "../../lib/load-carrier-labels.js";
13
- import { OrderKarindelingCard } from "../../components/verkoop/OrderKarindelingCard.js";
14
- import { EngineBufferCard } from "../../components/verkoop/EngineBufferCard.js";
15
- import { OrderCarrierPicker } from "../../components/verkoop/OrderCarrierPicker.js";
16
- import { OrderPickupMomentPicker } from "../../components/verkoop/OrderPickupMomentPicker.js";
17
- import { EditLocalOrderDialog } from "../../components/verkoop/EditLocalOrderDialog.js";
18
- import { OrderInvoiceCard } from "../../components/verkoop/OrderInvoiceCard.js";
13
+ import { OrderKarindelingCard } from "./OrderKarindelingCard.js";
14
+ import { EngineBufferCard } from "./EngineBufferCard.js";
15
+ import { OrderCarrierPicker } from "./OrderCarrierPicker.js";
16
+ import { OrderPickupMomentPicker } from "./OrderPickupMomentPicker.js";
17
+ import { EditLocalOrderDialog } from "./EditLocalOrderDialog.js";
18
+ import { OrderInvoiceCard } from "./OrderInvoiceCard.js";
19
19
  import { orderUuid } from "../../lib/order-price-lock.js";
20
20
  import { useBufferCarts } from "../../lib/useBufferCarts.js";
21
21
  import { ladingdragerSummary } from "../../lib/buffer-carts.js";
@@ -29,12 +29,12 @@ import { orderStageLabel, orderStageBadgeClass } from "../../lib/order-status.js
29
29
  import { useDetailProgressFallback } from "../../lib/useDetailProgressFallback.js";
30
30
  import { toProgressMember } from "../../lib/order-progress.js";
31
31
  import { listHref, markRestore, neighbours } from "../../lib/order-nav.js";
32
- import { SourceIcon, sourceLabel } from "../../components/verkoop/v3/SourceIcon.js";
33
- import { OrderStepper } from "../../components/verkoop/v3/OrderStepper.js";
34
- import { NavigationTooltip } from "../../components/verkoop/v3/NavigationTooltip.js";
35
- import { FactTile, InfoCard, InfoRow } from "../../components/verkoop/v3/InfoCard.js";
32
+ import { SourceIcon, sourceLabel } from "./v3/SourceIcon.js";
33
+ import { OrderStepper } from "./v3/OrderStepper.js";
34
+ import { NavigationTooltip } from "./v3/NavigationTooltip.js";
35
+ import { FactTile, InfoCard, InfoRow } from "./v3/InfoCard.js";
36
36
  import { KLANT_HAALT_ZELF_OP } from "../../lib/own-transport.js";
37
- import { FloridayCarrierNotices, PickupDeliveryLine, useOrderTransport } from "../../components/verkoop/OrderTransportCard.js";
37
+ import { FloridayCarrierNotices, PickupDeliveryLine, useOrderTransport } from "./OrderTransportCard.js";
38
38
  import { groepZonderGeannuleerd, kanLidAnnuleren } from "../../lib/order-cancel-view.js";
39
39
  import { geannuleerdMelding } from "../../lib/order-terugdraaien.js";
40
40
  import { cancelLocalOrder } from "../../lib/create-order.functions.js";
@@ -262,7 +262,7 @@ export function SalesOrderDetailPage() {
262
262
  const floridayMembers = membersFor(bufferOrders).filter((m) => m.invoiceRoute === "floriday" && !m.cancelled);
263
263
  const fDone = floridayMembers.reduce((s, m) => s + m.floridayDone, 0);
264
264
  const fTotal = floridayMembers.reduce((s, m) => s + m.floridayTotal, 0);
265
- return (_jsxs("main", { className: "mx-auto w-full max-w-[1200px] space-y-4 p-4 pb-24 sm:p-6", children: [_jsxs("div", { className: "flex flex-wrap items-center justify-between gap-2", children: [_jsx(NavigationTooltip, { label: "Terug naar verkooporders", shortcut: "Esc", children: _jsx(Button, { asChild: true, variant: "ghost", size: "sm", className: "-ml-2", children: backHref ? (_jsxs("a", { ref: backLink, href: backHref, onClick: () => markRestore(), "aria-keyshortcuts": "Escape", children: [_jsx(ArrowLeft, { className: "mr-2 h-4 w-4" }), " Terug naar verkooporders"] })) : (_jsxs(Link, { ref: backLink, to: "/floriday-verkoop/verkooporders", "aria-keyshortcuts": "Escape", children: [_jsx(ArrowLeft, { className: "mr-2 h-4 w-4" }), " Terug naar verkooporders"] })) }) }), nav && (nav.prev || nav.next) && (_jsxs("div", { className: "flex items-center gap-2", children: [nav.prev ? (_jsx(NavigationTooltip, { label: "Vorige order", shortcut: "\u2190", children: _jsx(Button, { asChild: true, variant: "outline", size: "sm", children: _jsxs(Link, { ref: previousLink, to: "/floriday-verkoop/verkooporders/$salesOrderId", params: { salesOrderId: nav.prev }, "aria-keyshortcuts": "ArrowLeft", children: [_jsx(ChevronLeft, { className: "mr-1 h-4 w-4" }), " Vorige"] }) }) })) : null, nav.next ? (_jsx(NavigationTooltip, { label: "Volgende order", shortcut: "\u2192", children: _jsx(Button, { asChild: true, variant: "outline", size: "sm", children: _jsxs(Link, { ref: nextLink, to: "/floriday-verkoop/verkooporders/$salesOrderId", params: { salesOrderId: nav.next }, "aria-keyshortcuts": "ArrowRight", children: ["Volgende ", _jsx(ChevronRight, { className: "ml-1 h-4 w-4" })] }) }) })) : null] }))] }), head && (_jsxs("header", { className: "flex flex-col gap-3 rounded-xl border border-border bg-card p-4 shadow-sm sm:flex-row sm:items-center sm:justify-between sm:p-5", children: [_jsxs("div", { className: "flex min-w-0 items-center gap-3", children: [_jsx("span", { className: "inline-flex h-14 w-14 shrink-0 items-center justify-center rounded-xl bg-primary/10", children: _jsx(SourceIcon, { sources: sources }) }), _jsxs("div", { className: "min-w-0 space-y-0.5", children: [_jsxs("div", { className: "flex flex-wrap items-center gap-2", children: [_jsx("h1", { className: "truncate text-xl font-bold tracking-tight text-foreground sm:text-2xl", children: isBuffer ? `Samengevoegde order · ${bufferOrders.length} orders` : head.orderNumber || "Order" }), !isBuffer && (_jsx("span", { className: `rounded-full px-2 py-0.5 text-xs font-medium ${orderStageBadgeClass(head.stage ?? "incoming")}`, children: orderStageLabel(head.stage ?? (head.status?.isCancelled ? "cancelled" : "incoming"), head.stageNote ?? null) }))] }), _jsx("p", { className: "text-sm text-muted-foreground", children: isBuffer
265
+ return (_jsxs("main", { className: "mx-auto w-full max-w-[1200px] space-y-4 p-4 pb-24 sm:p-6", children: [_jsxs("div", { className: "flex flex-wrap items-center justify-between gap-2", children: [_jsx(NavigationTooltip, { label: "Terug naar verkooporders", shortcut: "Esc", children: _jsx(Button, { asChild: true, variant: "ghost", size: "sm", className: "-ml-2", children: backHref ? (_jsxs("a", { ref: backLink, href: backHref, onClick: () => markRestore(), "aria-keyshortcuts": "Escape", children: [_jsx(ArrowLeft, { className: "mr-2 h-4 w-4" }), " Terug naar verkooporders"] })) : (_jsxs(Link, { ref: backLink, to: "/floriday-verkoop/verkooporders", "aria-keyshortcuts": "Escape", children: [_jsx(ArrowLeft, { className: "mr-2 h-4 w-4" }), " Terug naar verkooporders"] })) }) }), nav && (nav.prev || nav.next) && (_jsxs("div", { className: "flex items-center gap-2", children: [nav.prev ? (_jsx(NavigationTooltip, { label: "Vorige order", shortcut: "\u2190", children: _jsx(Button, { asChild: true, variant: "outline", size: "sm", children: _jsxs(Link, { ref: previousLink, to: "/floriday-verkoop/verkooporders/$salesOrderId", params: { salesOrderId: nav.prev }, "aria-keyshortcuts": "ArrowLeft", children: [_jsx(ChevronLeft, { className: "mr-1 h-4 w-4" }), " Vorige"] }) }) })) : null, nav.next ? (_jsx(NavigationTooltip, { label: "Volgende order", shortcut: "\u2192", children: _jsx(Button, { asChild: true, variant: "outline", size: "sm", children: _jsxs(Link, { ref: nextLink, to: "/floriday-verkoop/verkooporders/$salesOrderId", params: { salesOrderId: nav.next }, "aria-keyshortcuts": "ArrowRight", children: ["Volgende ", _jsx(ChevronRight, { className: "ml-1 h-4 w-4" })] }) }) })) : null] }))] }), head && (_jsxs("header", { className: "flex flex-col gap-3 rounded-xl border border-border bg-card p-4 shadow-sm sm:flex-row sm:items-center sm:justify-between sm:p-5", children: [_jsxs("div", { className: "flex min-w-0 items-center gap-3", children: [_jsx("span", { className: "inline-flex h-14 w-14 shrink-0 items-center justify-center rounded-xl bg-primary/10", children: _jsx(SourceIcon, { sources: sources }) }), _jsxs("div", { className: "min-w-0 space-y-0.5", children: [_jsxs("div", { className: "flex flex-wrap items-center gap-2", children: [_jsx("h1", { className: "truncate text-xl font-bold tracking-tight text-foreground sm:text-2xl", children: isBuffer ? `Samengevoegde order · ${bufferOrders.length} orders` : head.orderNumber || "Order" }), !isBuffer && (_jsx("span", { className: `rounded-full px-2 py-0.5 text-xs font-medium ${orderStageBadgeClass(head.stage ?? "incoming", { klokverkoop: head.klokverkoop === true })}`, children: orderStageLabel(head.stage ?? (head.status?.isCancelled ? "cancelled" : "incoming"), head.stageNote ?? null, { klokverkoop: head.klokverkoop === true, klokverkoopSoort: head.klokverkoopSoort ?? null }) }))] }), _jsx("p", { className: "text-sm text-muted-foreground", children: isBuffer
266
266
  ? head.customer.name
267
267
  : `${sourceLabel(sources[0])}-order` }), isBuffer && fTotal > 0 && (_jsxs("p", { className: "text-xs font-medium tabular-nums text-foreground", children: ["Afgemeld: ", fDone, " van ", fTotal] })), !isBuffer && isLocal && _jsx(PickupDeliveryLine, { order: head }), !isBuffer && fmtDT(head.orderedAt) && (_jsxs("p", { className: "text-xs text-muted-foreground", children: ["Ontvangen op ", fmtDT(head.orderedAt)] }))] })] }), rawLocalId && !isBuffer && (_jsxs(Button, { variant: "outline", size: "sm", onClick: () => setEditOpen(true), disabled: !primary, className: "w-full sm:w-auto", children: [_jsx(Pencil, { className: "mr-2 h-4 w-4" }), " Bestelling bewerken"] }))] })), singleInGroup && inGroup && primary && (_jsxs("div", { className: "flex flex-wrap items-center justify-between gap-2 rounded-xl border border-primary/30 bg-primary/5 px-4 py-3 text-sm", children: [_jsxs("span", { className: "inline-flex items-center gap-2 text-foreground", children: [_jsx(Layers, { className: "h-4 w-4 text-primary" }), " Onderdeel van een samengevoegde order met ", bufferOrders.length, " orders"] }), _jsx(Button, { asChild: true, variant: "outline", size: "sm", children: _jsx(Link, { to: "/floriday-verkoop/verkooporders/$salesOrderId", params: { salesOrderId }, children: "Naar samengevoegde weergave" }) })] })), primary && _jsx(OrderStepper, { members: membersFor(isBuffer ? bufferOrders : [primary]), features: features, invoiceLoad: invoiceLoad }), isLoading && !primary && _jsx(DetailSkeleton, {}), error && !primary && (() => {
268
268
  const f = friendlyLoadError(error);
@@ -9,5 +9,5 @@ export declare function SalesOrderDetailView(props: {
9
9
  features?: ProgressFeatures;
10
10
  /** Alleen weergave: aantal orders in de groep waarvoor vervoerder/ophaalmoment gelden. */
11
11
  groupSize?: number;
12
- }): import("react/jsx-runtime").JSX.Element;
12
+ }): import("react").JSX.Element;
13
13
  //# sourceMappingURL=SalesOrderDetailView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SalesOrderDetailView.d.ts","sourceRoot":"","sources":["../../../src/components/verkoop/SalesOrderDetailView.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAmC,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAGvH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAqKnE,wBAAgB,oBAAoB,CAAC,KAAK,EAAE;IAC1C,KAAK,EAAE,aAAa,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,+EAA+E;IAC/E,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;IAC3B,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,0FAA0F;IAC1F,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,2CAkBA"}
1
+ {"version":3,"file":"SalesOrderDetailView.d.ts","sourceRoot":"","sources":["../../../src/components/verkoop/SalesOrderDetailView.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAmC,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAGvH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAuKnE,wBAAgB,oBAAoB,CAAC,KAAK,EAAE;IAC1C,KAAK,EAAE,aAAa,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,+EAA+E;IAC/E,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;IAC3B,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,0FAA0F;IAC1F,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,+BAkBA"}
@@ -18,7 +18,6 @@ import { OrderAfleverbrievenCard } from "./OrderAfleverbrievenCard.js";
18
18
  import { OrderShipmentsCard } from "./OrderShipmentsCard.js";
19
19
  import { OrderInvoiceCard } from "./OrderInvoiceCard.js";
20
20
  import { orderUuid } from "../../lib/order-price-lock.js";
21
- import { OrderControlStatusCard } from "./OrderControlStatusCard.js";
22
21
  import { OrderTransportCard, ownPickupText, useOrderTransport } from "./OrderTransportCard.js";
23
22
  import { KLANT_HAALT_ZELF_OP } from "../../lib/own-transport.js";
24
23
  import { getFloridayStatusesForRows } from "../../lib/salesorders-list.functions.js";
@@ -29,6 +28,8 @@ import { OrderTijdlijnCard } from "./tijdlijn/OrderTijdlijnCard.js";
29
28
  import { OrderLineExtrasCard } from "./regel/OrderLineExtrasCard.js";
30
29
  import { listOrderItemPacking } from "../../lib/order-item-packing.functions.js";
31
30
  import { formatBelading } from "../../lib/belading-format.js";
31
+ import { klokverkoopAfgerekend, klokverkoopKop, klokverkoopSoort, veilingTekst } from "../../lib/klokverkoop.js";
32
+ import { KlokAanvoerRow } from "./KlokAanvoerRow.js";
32
33
  function AddressCard({ icon, lines, extra, }) {
33
34
  return (_jsxs("div", { className: "inline-flex max-w-xs items-start gap-3 rounded-md border border-border bg-card p-3", children: [_jsx("div", { className: "flex h-9 w-9 items-center justify-center rounded-md bg-primary/10 text-primary", children: icon }), _jsxs("div", { className: "text-sm", children: [lines.length > 0 ? lines.map((l, i) => _jsx("div", { children: l }, i)) : _jsx("div", { children: "\u2014" }), extra && _jsx("div", { className: "mt-1 text-xs text-muted-foreground", children: extra })] })] }));
34
35
  }
@@ -106,6 +107,7 @@ const SALES_INTERFACE_LABELS = {
106
107
  const PAYMENT_PROVIDER_LABELS = {
107
108
  RFH: "Royal FloraHolland",
108
109
  RFH_E_WALLET: "Royal FloraHolland (E-wallet)",
110
+ VRM: "Veiling Rhein-Maas",
109
111
  PLANTION: "Plantion",
110
112
  DIRECT: "Direct",
111
113
  };
@@ -152,6 +154,8 @@ function SalesOrderDetailViewInner({ floridayLoading, order, sellerFallback, hid
152
154
  const cRaw = c?.raw ?? {};
153
155
  // Floriday-order die nog niet als eigen order bestaat: niets opvragen dat een eigen order nodig heeft.
154
156
  const wordtVerwerkt = order.stageNote === "processing";
157
+ // Klokverkoop (orders.klokverkoop): geen indeling, picken, vervoer of afmelden — die blokken vervallen.
158
+ const klok = order.klokverkoop === true;
155
159
  const fetchAddresses = useServerFn(getOrderAddresses);
156
160
  const { data: resolvedAddresses } = useQuery({
157
161
  queryKey: ["order-addresses", order.id],
@@ -171,7 +175,7 @@ function SalesOrderDetailViewInner({ floridayLoading, order, sellerFallback, hid
171
175
  console.error("[orderpagina] regels laden:", packingQ.error);
172
176
  const regelItems = packingQ.data?.items ?? [];
173
177
  // Zelf ophalen (carrier_kind klant_haalt_op, via de Engine): geen afleveradres maar "Klant haalt zelf op".
174
- const transportQ = useOrderTransport(String(order.id), !order.isReservation && !wordtVerwerkt);
178
+ const transportQ = useOrderTransport(String(order.id), !order.isReservation && !wordtVerwerkt && !klok);
175
179
  const klantHaaltOp = transportQ.data?.ownKind === "klant_haalt_op";
176
180
  const instr = String(o.tradeInstrument ?? o.tradingType ?? o.tradeType ?? "").toUpperCase();
177
181
  const tradingType = TRADE_INSTRUMENT_LABELS[instr] ?? (instr ? instr.replace(/_/g, " ").toLowerCase() : "—");
@@ -303,9 +307,10 @@ function SalesOrderDetailViewInner({ floridayLoading, order, sellerFallback, hid
303
307
  pickStr(cRaw.rfhRelationId) ??
304
308
  pickStr(cRaw.rfhCompanyAccountId) ??
305
309
  "—";
306
- const customerPhone = pickStr(c.phone) ?? pickStr(c.phone_number) ?? pickStr(c.contact_person?.phone) ?? "—";
310
+ const customerPhone = pickStr(c.phone) ?? pickStr(c.contact_person?.phone) ?? "—";
307
311
  // Centrale weergavestatus (orders.status is leidend, zie order-status.ts).
308
- const bestellingLabel = orderStageLabel(order.stage ?? (order.status.isCancelled ? "cancelled" : "incoming"), order.stageNote ?? null);
312
+ const klokSoort = klok ? (order.klokverkoopSoort ?? klokverkoopSoort(o) ?? "klok") : null;
313
+ const bestellingLabel = orderStageLabel(order.stage ?? (order.status.isCancelled ? "cancelled" : "incoming"), order.stageNote ?? null, { klokverkoop: klok, klokverkoopSoort: klokSoort });
309
314
  const isFlorinOrder = !order.isLocal && ((order.floridayIds?.length ?? 0) > 0 || !!o.salesOrderId || !!fs);
310
315
  const member = props_member(order, members);
311
316
  const route = member?.invoiceRoute ?? order.invoiceRoute ?? (isFlorinOrder ? "floriday" : "erp");
@@ -330,9 +335,14 @@ function SalesOrderDetailViewInner({ floridayLoading, order, sellerFallback, hid
330
335
  const verkoopwijze = [tradingType !== "—" ? tradingType : null, financial !== "—" ? financial : null].filter(Boolean).join(" · ") || "—";
331
336
  const showIncoterm = !!fe && incoterm !== "niet opgegeven" && incoterm !== "—";
332
337
  const hasExternal = !!order.floridayExternalFulfilledAt || (order.floridayExternalFulfilledIds?.length ?? 0) > 0;
333
- return (_jsxs("div", { className: "space-y-4", children: [wordtVerwerkt ? (_jsx(Notice, { tone: "muted", title: "Wordt verwerkt", children: "Deze Floriday-order staat nog niet in het ERP. Hij wordt binnen een paar minuten overgenomen; daarna verschijnen karindeling en afhandeling hier vanzelf." })) : null, order.needsManualReview ? (_jsxs(Notice, { tone: "destructive", title: "Handmatige controle nodig", children: [order.needsManualReview.reason, order.needsManualReview.at ? ` (gezien op ${fmtNLDefault(order.needsManualReview.at)})` : ""] })) : null, isFlorinOrder && order.mixedDeliveryDates ? (_jsx(Notice, { tone: "muted", title: "Bestellingen met verschillende leverdatums", children: "Deze order bestaat uit Floriday-bestellingen met verschillende leverdatums. De vroegste leverdatum is aangehouden." })) : null, isFlorinOrder && (order.unlinkedProducts?.length ?? 0) > 0 ? (_jsxs(Notice, { tone: "destructive", title: "Artikel uit Floriday nog niet gekoppeld aan een eigen product", children: [_jsx("ul", { className: "mt-1 space-y-0.5", children: order.unlinkedProducts.map((u, i) => (_jsx("li", { children: u.name }, i))) }), _jsx("div", { className: "mt-1 text-xs", children: "Koppel het artikel aan een eigen product; bij de volgende update wordt het overgenomen." })] })) : null, order.floridayMissingLineKeyNotice && (_jsx(Notice, { tone: "destructive", title: "Let op", children: order.floridayMissingLineKeyNotice })), _jsxs("div", { className: "grid grid-cols-1 gap-3 sm:grid-cols-2 xl:grid-cols-4", children: [_jsx(FactTile, { icon: _jsx(CalendarDays, {}), label: "Leverdatum", value: order.deliveryAt ? formatDelivery(order.deliveryAt, deliveryHasTimeFor(order), { year: true, wallClock: deliveryIsWallClockFor(order) }).date : "—", sub: _jsx(DeliveryTileSub, { order: order }) }), _jsx(FactTile, { icon: _jsx(User, {}), label: "Klant", value: customerName || "—", sub: [customerLegalName, order.customer.city].filter(Boolean).join(" · ") || undefined }), klantHaaltOp
334
- ? _jsx(FactTile, { icon: _jsx(MapPin, {}), label: "Leveradres", value: KLANT_HAALT_ZELF_OP })
335
- : _jsx(FactTile, { icon: _jsx(MapPin, {}), label: "Leveradres", value: deliveryLines[0] ?? "—", sub: deliveryLines.slice(1).join(", ") || undefined }), (() => {
338
+ const klokProvider = order.paymentProvider ?? (payKey || null);
339
+ const klokAfgerekend = klok && klokverkoopAfgerekend(order.floridayRawStatus ?? (typeof o.status === "string" ? o.status : null));
340
+ const klokSalesIds = Array.from(new Set([...(order.floridayIds ?? []), ...(o?.salesOrderId ? [String(o.salesOrderId)] : [])]));
341
+ return (_jsxs("div", { className: "space-y-4", children: [wordtVerwerkt ? (_jsx(Notice, { tone: "muted", title: "Wordt verwerkt", children: "Deze Floriday-order staat nog niet in het ERP. Hij wordt binnen een paar minuten overgenomen; daarna verschijnen karindeling en afhandeling hier vanzelf." })) : null, order.needsManualReview ? (_jsxs(Notice, { tone: "destructive", title: "Handmatige controle nodig", children: [order.needsManualReview.reason, order.needsManualReview.at ? ` (gezien op ${fmtNLDefault(order.needsManualReview.at)})` : ""] })) : null, isFlorinOrder && order.mixedDeliveryDates ? (_jsx(Notice, { tone: "muted", title: "Bestellingen met verschillende leverdatums", children: "Deze order bestaat uit Floriday-bestellingen met verschillende leverdatums. De vroegste leverdatum is aangehouden." })) : null, isFlorinOrder && (order.unlinkedProducts?.length ?? 0) > 0 ? (_jsxs(Notice, { tone: "destructive", title: "Artikel uit Floriday nog niet gekoppeld aan een eigen product", children: [_jsx("ul", { className: "mt-1 space-y-0.5", children: order.unlinkedProducts.map((u, i) => (_jsx("li", { children: u.name }, i))) }), _jsx("div", { className: "mt-1 text-xs", children: "Koppel het artikel aan een eigen product; bij de volgende update wordt het overgenomen." })] })) : null, order.floridayMissingLineKeyNotice && (_jsx(Notice, { tone: "destructive", title: "Let op", children: order.floridayMissingLineKeyNotice })), _jsxs("div", { className: "grid grid-cols-1 gap-3 sm:grid-cols-2 xl:grid-cols-4", children: [_jsx(FactTile, { icon: _jsx(CalendarDays, {}), label: "Leverdatum", value: order.deliveryAt ? formatDelivery(order.deliveryAt, deliveryHasTimeFor(order), { year: true, wallClock: deliveryIsWallClockFor(order) }).date : "—", sub: klok ? _jsx(KlokTileSub, { order: order }) : _jsx(DeliveryTileSub, { order: order }) }), _jsx(FactTile, { icon: _jsx(User, {}), label: "Klant", value: customerName || "—", sub: [customerLegalName, order.customer.city].filter(Boolean).join(" · ") || undefined }), klok
342
+ ? _jsx(FactTile, { icon: _jsx(MapPin, {}), label: "Veillocatie", value: deliveryLines[0] ?? "—", sub: deliveryLines.slice(1).join(", ") || undefined })
343
+ : klantHaaltOp
344
+ ? _jsx(FactTile, { icon: _jsx(MapPin, {}), label: "Leveradres", value: KLANT_HAALT_ZELF_OP })
345
+ : _jsx(FactTile, { icon: _jsx(MapPin, {}), label: "Leveradres", value: deliveryLines[0] ?? "—", sub: deliveryLines.slice(1).join(", ") || undefined }), klok ? (_jsx(FactTile, { icon: _jsx(ReceiptText, {}), label: "Afrekening", value: klokverkoopKop(klokSoort), sub: veilingTekst(klokProvider) })) : (() => {
336
346
  const noCarrier = !order.cartTypeName || /geen ladingdrager/i.test(order.cartTypeName);
337
347
  const fust = order.fustCount > 0 ? `${formatLoadUnits(order.fustCount, order.mixedPacking ? null : order.crateTypeName)} fust` : "";
338
348
  return (_jsx(FactTile, { icon: _jsx(Boxes, {}), label: "Karren / fusten", value: noCarrier ? (fust || "Geen ladingdrager") : formatLoadUnits(order.karCount, order.cartTypeName), sub: [noCarrier ? (fust ? "Geen ladingdrager" : "") : fust, order.karShared ? "kar gedeeld met andere orders" : ""].filter(Boolean).join(" · ") || undefined }));
@@ -340,18 +350,18 @@ function SalesOrderDetailViewInner({ floridayLoading, order, sellerFallback, hid
340
350
  const bel = formatBelading({ perFust: it.plantsPerCrate, fustenPerLaag: it.cratesPerLayer, lagenPerKar: it.layersPerCart });
341
351
  const fusten = it.plantsPerCrate && it.plantsPerCrate > 0 ? Math.ceil(it.quantity / it.plantsPerCrate) : null;
342
352
  const prijs = it.unitPrice != null && it.unitPrice > 0 ? it.unitPrice : null;
343
- return (_jsxs("tr", { className: "border-b border-border", children: [_jsx("td", { className: "px-4 py-3 sm:px-5", children: _jsxs("div", { className: "min-w-0", children: [_jsx("div", { className: "truncate font-medium text-foreground", children: it.productName }), _jsx("div", { className: "text-xs text-muted-foreground", children: bel ? `Belading ${bel}` : "Belading onbekend" })] }) }), _jsx("td", { className: "px-2 py-3 font-semibold tabular-nums", children: it.quantity > 0 ? it.quantity.toLocaleString("nl-NL") : "—" }), _jsx("td", { className: "px-2 py-3 tabular-nums", children: fusten != null ? fusten.toLocaleString("nl-NL") : "—" }), _jsx("td", { className: "px-2 py-3 tabular-nums", children: prijs != null ? eurFlex.format(prijs) : "—" }), _jsx("td", { className: "px-4 py-3 font-semibold tabular-nums sm:px-5", children: prijs != null ? eurFlex.format(prijs * it.quantity) : "—" })] }, it.id));
344
- }) : (_jsxs("tr", { className: "border-b border-border", children: [_jsx("td", { className: "px-4 py-3 sm:px-5", children: _jsxs("div", { className: "flex min-w-0 items-center gap-3", children: [_jsx("div", { className: "flex h-12 w-12 shrink-0 items-center justify-center overflow-hidden rounded-lg bg-muted", children: order.imageUrl ? _jsx("img", { src: order.imageUrl, alt: "", className: "h-full w-full object-cover" }) : _jsx(ImageIcon, { className: "h-5 w-5 text-muted-foreground" }) }), _jsxs("div", { className: "min-w-0", children: [_jsx("div", { className: "truncate font-medium text-foreground", children: order.productName }), _jsx("div", { className: "text-xs text-muted-foreground", children: order.mixedPacking
353
+ return (_jsxs("tr", { className: "border-b border-border", children: [_jsx("td", { className: "px-4 py-3 sm:px-5", children: _jsxs("div", { className: "min-w-0", children: [_jsx("div", { className: "truncate font-medium text-foreground", children: it.productName }), !klok && _jsx("div", { className: "text-xs text-muted-foreground", children: bel ? `Belading ${bel}` : "Belading onbekend" })] }) }), _jsx("td", { className: "px-2 py-3 font-semibold tabular-nums", children: it.quantity > 0 ? it.quantity.toLocaleString("nl-NL") : "—" }), _jsx("td", { className: "px-2 py-3 tabular-nums", children: fusten != null ? fusten.toLocaleString("nl-NL") : "—" }), _jsx("td", { className: "px-2 py-3 tabular-nums", children: prijs != null ? eurFlex.format(prijs) : "—" }), _jsx("td", { className: "px-4 py-3 font-semibold tabular-nums sm:px-5", children: prijs != null ? eurFlex.format(prijs * it.quantity) : "—" })] }, it.id));
354
+ }) : (_jsxs("tr", { className: "border-b border-border", children: [_jsx("td", { className: "px-4 py-3 sm:px-5", children: _jsxs("div", { className: "flex min-w-0 items-center gap-3", children: [_jsx("div", { className: "flex h-12 w-12 shrink-0 items-center justify-center overflow-hidden rounded-lg bg-muted", children: order.imageUrl ? _jsx("img", { src: order.imageUrl, alt: "", className: "h-full w-full object-cover" }) : _jsx(ImageIcon, { className: "h-5 w-5 text-muted-foreground" }) }), _jsxs("div", { className: "min-w-0", children: [_jsx("div", { className: "truncate font-medium text-foreground", children: order.productName }), _jsx("div", { className: "text-xs text-muted-foreground" + (klok ? " hidden" : ""), children: order.mixedPacking
345
355
  ? (order.articleCount ?? 0) > 1 ? `Gemengd (${order.articleCount} artikelen)` : "Gemengd"
346
- : `Belading ${belading}` })] })] }) }), _jsx("td", { className: "px-2 py-3 font-semibold tabular-nums", children: numberOfPieces > 0 ? numberOfPieces.toLocaleString("nl-NL") : "—" }), _jsx("td", { className: "px-2 py-3 tabular-nums", children: formatLoadUnits(order.fustCount, order.mixedPacking ? null : order.crateTypeName) }), _jsxs("td", { className: "px-2 py-3 tabular-nums", children: [oldProductPrice !== null && _jsx("span", { className: "mr-1 text-destructive line-through", children: eurFlex.format(oldProductPrice) }), eurFlex.format(productUnit)] }), _jsx("td", { className: "px-4 py-3 font-semibold tabular-nums sm:px-5", children: eurFlex.format(totalAmount) })] })) })] }) }), _jsxs("div", { className: "mt-3 space-y-1.5 text-sm", children: [_jsxs("div", { className: "flex justify-between gap-3", children: [_jsx("span", { className: "text-muted-foreground", children: "Transportkosten per stuk" }), _jsx("span", { className: "tabular-nums", children: eurFlex.format(transportPerPiece) })] }), _jsxs("div", { className: "flex justify-between gap-3", children: [_jsx("span", { className: "text-muted-foreground", children: "Inkoopprijs per stuk" }), _jsx("span", { className: "tabular-nums", children: hasPurchase ? eurFlex.format(purchaseUnit) : "—" })] }), hasCorrection && (_jsxs("div", { className: "flex items-center justify-between gap-3", children: [_jsx("span", { className: "text-muted-foreground", children: "Prijscorrectie" }), _jsxs("span", { className: "inline-flex items-center gap-1.5", children: [_jsx(CheckCircle2, { className: "h-4 w-4 text-primary" }), " Verwerkt"] })] })), _jsxs("div", { className: "flex items-baseline justify-between gap-3 border-t border-border pt-2 text-base font-semibold", children: [_jsx("span", { children: "Totaal" }), _jsxs("span", { className: "text-right tabular-nums", children: [totalBreakdown && _jsxs("span", { className: "mr-2 block text-xs font-normal text-muted-foreground sm:inline", children: ["(", totalBreakdown, ")"] }), eurFlex.format(totalAmount)] })] }), priceProblem && (_jsxs("div", { className: "rounded-lg border border-destructive/40 bg-destructive-soft px-3 py-2 text-xs text-destructive", children: ["Prijs ontbreekt: ", linesWithoutPrice || "een of meer", " regel(s) zonder prijs. Vul de prijs in voordat de order wordt bevestigd."] }))] })] }), _jsx(InfoCard, { icon: _jsx(MapPin, {}), title: "Aflever- en ophaalgegevens", children: _jsxs("div", { className: "grid grid-cols-1 gap-3 py-1 sm:grid-cols-2", children: [klantHaaltOp ? (_jsxs("div", { className: "flex min-w-0 items-start gap-3 rounded-xl border border-border p-4", children: [_jsx("span", { className: "mt-0.5 shrink-0 text-primary [&_svg]:h-5 [&_svg]:w-5", "aria-hidden": true, children: _jsx(MapPin, {}) }), _jsxs("div", { className: "min-w-0 flex-1", children: [_jsx("div", { className: "mb-1 text-sm font-semibold text-foreground", children: "Afleveradres" }), _jsx("span", { className: "text-foreground", children: KLANT_HAALT_ZELF_OP })] })] })) : (_jsx(AddressBox, { title: "Afleveradres", icon: _jsx(MapPin, {}), lines: deliveryLines })), _jsx(AddressBox, { title: "Ophaaladres", icon: _jsx(Truck, {}), lines: pickupLines })] }) }), !wordtVerwerkt && _jsx(GewijzigdNaPrintCard, { orderRowId: invoiceOrderId, floriday: !order.isLocal }), _jsx(OrderCorrectiesCard, { salesOrderIds: Array.from(new Set([...(order.floridayIds ?? []), ...(o?.salesOrderId ? [String(o.salesOrderId)] : [])])), floridayOrder: o, orderRowId: invoiceOrderId }), _jsx(OudeOrderCard, { orderRowId: invoiceOrderId }), _jsx(OrderShipmentsCard, { order: order }), !wordtVerwerkt && _jsx(OrderLinePackingCard, { orderId: String(order.id) }), !wordtVerwerkt && (_jsx(OrderLineExtrasCard, { orderId: String(order.id), pickProgress: member?.pickProgress ?? null, pickKnown: features?.pickProgress === true })), !hideKarindeling && !wordtVerwerkt && _jsx(OrderKarindelingCard, { order: order, pickProgress: member?.pickProgress ?? null })] }), _jsxs("div", { className: "min-w-0 space-y-4", children: [_jsxs(InfoCard, { icon: _jsx(ClipboardList, {}), title: "Orderinformatie", children: [_jsx(InfoRow, { label: "Ordernummer", children: order.orderNumber || "—" }), _jsx(InfoRow, { label: "Status", children: _jsx("span", { className: `rounded-full px-2 py-0.5 text-xs font-medium ${orderStageBadgeClass(order.stage ?? "incoming")}`, children: bestellingLabel }) }), _jsx(InfoRow, { label: "Besteld op", children: fmtDateTime(order.orderedAt) }), _jsx(InfoRow, { label: "Klantreferentie", children: klantReferentie }), isFlorinOrder && _jsx(InfoRow, { label: "Verkoopkanaal", children: verkoopkanaal }), isFlorinOrder && _jsx(InfoRow, { label: "Verkoopwijze", children: verkoopwijze }), isFlorinOrder && _jsx(InfoRow, { label: "Floriday-referentie", children: floridayRef }), _jsx(InfoRow, { label: "Verkoper", children: sellerName ? (_jsxs("span", { className: "inline-flex items-center gap-2", children: [_jsx("span", { className: "inline-flex h-6 w-6 items-center justify-center rounded-full bg-muted text-[10px] font-semibold text-muted-foreground", children: initials(sellerName) }), sellerName] })) : "—" }), hasExternal && (_jsx(InfoRow, { label: "Afhandeling", children: order.floridayExternalFulfilledAt
356
+ : `Belading ${belading}` })] })] }) }), _jsx("td", { className: "px-2 py-3 font-semibold tabular-nums", children: numberOfPieces > 0 ? numberOfPieces.toLocaleString("nl-NL") : "—" }), _jsx("td", { className: "px-2 py-3 tabular-nums", children: formatLoadUnits(order.fustCount, order.mixedPacking ? null : order.crateTypeName) }), _jsxs("td", { className: "px-2 py-3 tabular-nums", children: [oldProductPrice !== null && _jsx("span", { className: "mr-1 text-destructive line-through", children: eurFlex.format(oldProductPrice) }), eurFlex.format(productUnit)] }), _jsx("td", { className: "px-4 py-3 font-semibold tabular-nums sm:px-5", children: eurFlex.format(totalAmount) })] })) })] }) }), _jsxs("div", { className: "mt-3 space-y-1.5 text-sm", children: [_jsxs("div", { className: "flex justify-between gap-3", children: [_jsx("span", { className: "text-muted-foreground", children: "Transportkosten per stuk" }), _jsx("span", { className: "tabular-nums", children: eurFlex.format(transportPerPiece) })] }), _jsxs("div", { className: "flex justify-between gap-3", children: [_jsx("span", { className: "text-muted-foreground", children: "Inkoopprijs per stuk" }), _jsx("span", { className: "tabular-nums", children: hasPurchase ? eurFlex.format(purchaseUnit) : "—" })] }), hasCorrection && (_jsxs("div", { className: "flex items-center justify-between gap-3", children: [_jsx("span", { className: "text-muted-foreground", children: "Prijscorrectie" }), _jsxs("span", { className: "inline-flex items-center gap-1.5", children: [_jsx(CheckCircle2, { className: "h-4 w-4 text-primary" }), " Verwerkt"] })] })), _jsxs("div", { className: "flex items-baseline justify-between gap-3 border-t border-border pt-2 text-base font-semibold", children: [_jsx("span", { children: "Totaal" }), _jsxs("span", { className: "text-right tabular-nums", children: [totalBreakdown && _jsxs("span", { className: "mr-2 block text-xs font-normal text-muted-foreground sm:inline", children: ["(", totalBreakdown, ")"] }), eurFlex.format(totalAmount)] })] }), priceProblem && (_jsxs("div", { className: "rounded-lg border border-destructive/40 bg-destructive-soft px-3 py-2 text-xs text-destructive", children: ["Prijs ontbreekt: ", linesWithoutPrice || "een of meer", " regel(s) zonder prijs. Vul de prijs in voordat de order wordt bevestigd."] }))] })] }), klok ? (_jsx(InfoCard, { icon: _jsx(MapPin, {}), title: "Veillocatie", children: _jsx("div", { className: "grid grid-cols-1 gap-3 py-1 sm:grid-cols-2", children: _jsx(AddressBox, { title: "Veillocatie", icon: _jsx(MapPin, {}), lines: deliveryLines }) }) })) : (_jsx(InfoCard, { icon: _jsx(MapPin, {}), title: "Aflever- en ophaalgegevens", children: _jsxs("div", { className: "grid grid-cols-1 gap-3 py-1 sm:grid-cols-2", children: [klantHaaltOp ? (_jsxs("div", { className: "flex min-w-0 items-start gap-3 rounded-xl border border-border p-4", children: [_jsx("span", { className: "mt-0.5 shrink-0 text-primary [&_svg]:h-5 [&_svg]:w-5", "aria-hidden": true, children: _jsx(MapPin, {}) }), _jsxs("div", { className: "min-w-0 flex-1", children: [_jsx("div", { className: "mb-1 text-sm font-semibold text-foreground", children: "Afleveradres" }), _jsx("span", { className: "text-foreground", children: KLANT_HAALT_ZELF_OP })] })] })) : (_jsx(AddressBox, { title: "Afleveradres", icon: _jsx(MapPin, {}), lines: deliveryLines })), _jsx(AddressBox, { title: "Ophaaladres", icon: _jsx(Truck, {}), lines: pickupLines })] }) })), !wordtVerwerkt && !klok && _jsx(GewijzigdNaPrintCard, { orderRowId: invoiceOrderId, floriday: !order.isLocal }), _jsx(OrderCorrectiesCard, { salesOrderIds: Array.from(new Set([...(order.floridayIds ?? []), ...(o?.salesOrderId ? [String(o.salesOrderId)] : [])])), floridayOrder: o, orderRowId: invoiceOrderId }), _jsx(OudeOrderCard, { orderRowId: invoiceOrderId }), !klok && _jsx(OrderShipmentsCard, { order: order }), !wordtVerwerkt && !klok && _jsx(OrderLinePackingCard, { orderId: String(order.id) }), !wordtVerwerkt && !klok && (_jsx(OrderLineExtrasCard, { orderId: String(order.id), pickProgress: member?.pickProgress ?? null, pickKnown: features?.pickProgress === true })), !hideKarindeling && !wordtVerwerkt && !klok && _jsx(OrderKarindelingCard, { order: order, pickProgress: member?.pickProgress ?? null })] }), _jsxs("div", { className: "min-w-0 space-y-4", children: [_jsxs(InfoCard, { icon: _jsx(ClipboardList, {}), title: "Orderinformatie", children: [_jsx(InfoRow, { label: "Ordernummer", children: order.orderNumber || "—" }), _jsx(InfoRow, { label: "Status", children: _jsx("span", { className: `rounded-full px-2 py-0.5 text-xs font-medium ${orderStageBadgeClass(order.stage ?? "incoming", { klokverkoop: klok })}`, children: bestellingLabel }) }), _jsx(InfoRow, { label: "Besteld op", children: fmtDateTime(order.orderedAt) }), _jsx(InfoRow, { label: "Klantreferentie", children: klantReferentie }), isFlorinOrder && _jsx(InfoRow, { label: "Verkoopkanaal", children: verkoopkanaal }), isFlorinOrder && _jsx(InfoRow, { label: "Verkoopwijze", children: verkoopwijze }), isFlorinOrder && _jsx(InfoRow, { label: "Floriday-referentie", children: floridayRef }), klok && (_jsx(KlokAanvoerRow, { batchReference: pickStr(o.batchReference), supplyLineId: pickStr(o.supplyLineId), salesOrderIds: klokSalesIds })), _jsx(InfoRow, { label: "Verkoper", children: sellerName ? (_jsxs("span", { className: "inline-flex items-center gap-2", children: [_jsx("span", { className: "inline-flex h-6 w-6 items-center justify-center rounded-full bg-muted text-[10px] font-semibold text-muted-foreground", children: initials(sellerName) }), sellerName] })) : "—" }), hasExternal && (_jsx(InfoRow, { label: "Afhandeling", children: order.floridayExternalFulfilledAt
347
357
  ? `Afgehandeld in Floriday · ${formatMoment(order.floridayExternalFulfilledAt)}`
348
- : `${order.floridayExternalFulfilledIds.length} bestelling(en) afgehandeld in Floriday; de rest loopt door` }))] }), _jsx(OrderTijdlijnCard, { orderRowId: invoiceOrderId, floriday: !order.isLocal }), _jsx(OrderTransportCard, { order: order, groupSize: groupSize, extra: showIncoterm ? _jsx(InfoRow, { label: "Leveringsvoorwaarde", children: incoterm }) : undefined }), _jsx(InfoCard, { icon: _jsx(ReceiptText, {}), title: route === "floriday" ? "Factuur via Floriday" : "Factuur", attention: route === "erp" && priceProblem, children: route === "floriday" ? (_jsxs(_Fragment, { children: [_jsx(InfoRow, { label: "Stand", children: invoiceStandText(member, features) }), _jsx(InfoRow, { label: "Gefactureerd door", children: "Royal FloraHolland, via Floriday" }), member && (_jsxs(InfoRow, { label: "Afgemeld", children: [member.floridayDone, " van ", member.floridayTotal] })), member && member.stage === "shipped" && member.floridayDone < member.floridayTotal && (_jsx("div", { className: "mt-2 text-xs text-warning-soft-foreground", children: "De factuur volgt pas na afmelden bij Floriday." })), (() => {
358
+ : `${order.floridayExternalFulfilledIds.length} bestelling(en) afgehandeld in Floriday; de rest loopt door` }))] }), !klok && _jsx(OrderTijdlijnCard, { orderRowId: invoiceOrderId, floriday: !order.isLocal }), !klok && (_jsx(OrderTransportCard, { order: order, groupSize: groupSize, extra: showIncoterm ? _jsx(InfoRow, { label: "Leveringsvoorwaarde", children: incoterm }) : undefined })), _jsx(InfoCard, { icon: _jsx(ReceiptText, {}), title: route === "floriday" ? "Factuur via Floriday" : "Factuur", attention: route === "erp" && priceProblem, children: klok ? (_jsxs(_Fragment, { children: [_jsx(InfoRow, { label: "Stand", children: klokAfgerekend ? "Afgerekend" : "Nog niet afgerekend" }), _jsxs(InfoRow, { label: "Afgerekend door", children: [(PAYMENT_PROVIDER_LABELS[String(klokProvider ?? "").toUpperCase()] ?? (klokProvider || "De veiling")), ", ", veilingTekst(klokProvider)] }), _jsx("div", { className: "mt-2 text-xs text-muted-foreground", children: "De veiling rekent een klokverkoop zelf af bij de koop." })] })) : route === "floriday" ? (_jsxs(_Fragment, { children: [_jsx(InfoRow, { label: "Stand", children: invoiceStandText(member, features) }), _jsx(InfoRow, { label: "Gefactureerd door", children: "Royal FloraHolland, via Floriday" }), member && (_jsxs(InfoRow, { label: "Afgemeld", children: [member.floridayDone, " van ", member.floridayTotal] })), member && member.stage === "shipped" && member.floridayDone < member.floridayTotal && (_jsx("div", { className: "mt-2 text-xs text-warning-soft-foreground", children: "De factuur volgt pas na afmelden bij Floriday." })), (() => {
349
359
  const line = floridayInvoiceState(order.floridayRawStatus, member?.floridayDone ?? 0, member?.floridayTotal ?? 0, {
350
360
  full: !!order.floridayExternalFulfilledAt,
351
361
  count: order.floridayExternalFulfilledIds?.length ?? 0,
352
362
  });
353
363
  return line ? _jsx(InfoRow, { label: "Floriday", children: line }) : null;
354
- })()] })) : (_jsxs(_Fragment, { children: [_jsxs(InfoRow, { label: "Stand", children: [invoiceStandText(member, features), !member?.erpInvoice && order.invoiceState ? (_jsxs("span", { className: "block text-xs text-muted-foreground", children: [order.invoiceState, order.invoiceNote ? ` · ${order.invoiceNote}` : ""] })) : null] }), order.missingPrice && order.stage !== "cancelled" && !member?.erpInvoice && (_jsx("div", { className: "mt-2 rounded-md bg-warning-soft px-3 py-2 text-xs text-warning-soft-foreground", children: "Prijs ontbreekt: vul de prijs in voordat er gefactureerd kan worden." })), member?.erpInvoice && (_jsxs(_Fragment, { children: [_jsx(InfoRow, { label: "Factuurnummer", children: member.erpInvoice.number ?? "—" }), _jsx(InfoRow, { label: "Status", children: member.erpInvoice.status ?? "—" }), _jsx(InfoRow, { label: "Verstuurd", children: member.erpInvoice.sentAt ? fmtDateTime(member.erpInvoice.sentAt) : "—" })] })), invoiceOrderId && _jsx(OrderInvoiceCard, { orderId: invoiceOrderId })] })) }), o?.salesOrderId ? (_jsxs(_Fragment, { children: [_jsx(OrderControlStatusCard, { floridayId: String(o.salesOrderId), isControlled: order.status.isControlled, controlledAt: order.status.controlledAt }), _jsx(OrderAfleverbrievenCard, { salesOrderId: String(o.salesOrderId), orderNumber: order.orderNumber ?? undefined })] })) : null, _jsxs(InfoCard, { icon: _jsx(User, {}), title: "Klant", children: [_jsxs(InfoRow, { label: "Naam", children: [_jsx("span", { className: "font-medium", children: customerName }), customerLegalName && _jsx("div", { className: "text-xs text-muted-foreground", children: customerLegalName })] }), _jsx(InfoRow, { label: "Telefoon", children: customerPhone }), _jsxs("details", { className: "group pt-2 text-sm", children: [_jsx("summary", { className: "cursor-pointer text-xs font-medium text-muted-foreground hover:text-foreground", children: "Meer klantgegevens" }), _jsx(InfoRow, { label: "GLN", children: customerGln }), _jsx(InfoRow, { label: "Administratienummer", children: customerAdmin }), deliveryGln && _jsx(InfoRow, { label: "GLN afleveradres", children: deliveryGln })] })] })] })] })] }));
364
+ })()] })) : (_jsxs(_Fragment, { children: [_jsxs(InfoRow, { label: "Stand", children: [invoiceStandText(member, features), !member?.erpInvoice && order.invoiceState ? (_jsxs("span", { className: "block text-xs text-muted-foreground", children: [order.invoiceState, order.invoiceNote ? ` · ${order.invoiceNote}` : ""] })) : null] }), order.missingPrice && order.stage !== "cancelled" && !member?.erpInvoice && (_jsx("div", { className: "mt-2 rounded-md bg-warning-soft px-3 py-2 text-xs text-warning-soft-foreground", children: "Prijs ontbreekt: vul de prijs in voordat er gefactureerd kan worden." })), member?.erpInvoice && (_jsxs(_Fragment, { children: [_jsx(InfoRow, { label: "Factuurnummer", children: member.erpInvoice.number ?? "—" }), _jsx(InfoRow, { label: "Status", children: member.erpInvoice.status ?? "—" }), _jsx(InfoRow, { label: "Verstuurd", children: member.erpInvoice.sentAt ? fmtDateTime(member.erpInvoice.sentAt) : "—" })] })), invoiceOrderId && _jsx(OrderInvoiceCard, { orderId: invoiceOrderId })] })) }), o?.salesOrderId && !klok ? (_jsx(OrderAfleverbrievenCard, { salesOrderId: String(o.salesOrderId), orderNumber: order.orderNumber ?? undefined })) : null, _jsxs(InfoCard, { icon: _jsx(User, {}), title: "Klant", children: [_jsxs(InfoRow, { label: "Naam", children: [_jsx("span", { className: "font-medium", children: customerName }), customerLegalName && _jsx("div", { className: "text-xs text-muted-foreground", children: customerLegalName })] }), _jsx(InfoRow, { label: "Telefoon", children: customerPhone }), _jsxs("details", { className: "group pt-2 text-sm", children: [_jsx("summary", { className: "cursor-pointer text-xs font-medium text-muted-foreground hover:text-foreground", children: "Meer klantgegevens" }), _jsx(InfoRow, { label: "GLN", children: customerGln }), _jsx(InfoRow, { label: "Administratienummer", children: customerAdmin }), deliveryGln && _jsx(InfoRow, { label: "GLN afleveradres", children: deliveryGln })] })] })] })] })] }));
355
365
  }
356
366
  /** Zelfde stand als het factuuricoon in de lijst (memberInvoice). */
357
367
  function invoiceStandText(member, features) {
@@ -377,6 +387,13 @@ function Notice({ tone, title, children }) {
377
387
  return (_jsxs("div", { role: tone === "destructive" ? "alert" : undefined, className: "flex items-start gap-3 rounded-xl border px-4 py-3 text-sm " +
378
388
  (tone === "destructive" ? "border-destructive/40 bg-destructive-soft" : "border-border bg-muted/40"), children: [_jsx(AlertTriangle, { className: "mt-0.5 h-4 w-4 shrink-0 " + (tone === "destructive" ? "text-destructive" : "text-muted-foreground") }), _jsxs("div", { className: "min-w-0", children: [_jsx("div", { className: "font-semibold text-foreground", children: title }), _jsx("div", { className: "text-muted-foreground", children: children })] })] }));
379
389
  }
390
+ /** Tegel Leverdatum bij een klokverkoop: alleen de levertijd, geen ophaalmoment. */
391
+ function KlokTileSub({ order }) {
392
+ const t = order.deliveryAt ? formatDelivery(order.deliveryAt, deliveryHasTimeFor(order), { wallClock: deliveryIsWallClockFor(order) }).time : "";
393
+ if (!t)
394
+ return null;
395
+ return _jsxs("span", { className: "inline-flex items-center gap-1", children: [_jsx(Clock, { className: "h-3.5 w-3.5" }), t] });
396
+ }
380
397
  /** Tweede regel(s) van de tegel Leverdatum: levertijd en ophaalmoment.
381
398
  * Het ophaalmoment komt uit dezelfde query als de kaart Vervoer. */
382
399
  function DeliveryTileSub({ order }) {
@@ -6,7 +6,7 @@ export declare function SalesOrdersFilterPanel({ open, onOpenChange, value, onCh
6
6
  onOpenChange: (open: boolean) => void;
7
7
  value: Filters;
8
8
  onChange: (next: Filters) => void;
9
- }): import("react/jsx-runtime").JSX.Element;
9
+ }): import("react").JSX.Element;
10
10
  /**
11
11
  * Het filterpaneel zelf (rechts inschuivend, Esc sluit, "Wis alle filters",
12
12
  * "Toepassen"). Verkooporders en Klok gebruiken hetzelfde paneel; alleen de
@@ -18,5 +18,5 @@ export declare function FilterPanelShell({ open, onOpenChange, activeCount, onCl
18
18
  activeCount: number;
19
19
  onClearAll: () => void;
20
20
  children: ReactNode;
21
- }): import("react/jsx-runtime").JSX.Element;
21
+ }): import("react").JSX.Element;
22
22
  //# sourceMappingURL=SalesOrdersFilterPanel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SalesOrdersFilterPanel.d.ts","sourceRoot":"","sources":["../../../src/components/verkoop/SalesOrdersFilterPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAalD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEpD,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,CAYrD;AAED,wBAAgB,sBAAsB,CAAC,EACrC,IAAI,EACJ,YAAY,EACZ,KAAK,EACL,QAAQ,GACT,EAAE;IACD,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACnC,2CA6KA;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,IAAI,EACJ,YAAY,EACZ,WAAW,EACX,UAAU,EACV,QAAQ,GACT,EAAE;IACD,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,QAAQ,EAAE,SAAS,CAAC;CACrB,2CAmEA"}
1
+ {"version":3,"file":"SalesOrdersFilterPanel.d.ts","sourceRoot":"","sources":["../../../src/components/verkoop/SalesOrdersFilterPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAalD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEpD,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,CAYrD;AAED,wBAAgB,sBAAsB,CAAC,EACrC,IAAI,EACJ,YAAY,EACZ,KAAK,EACL,QAAQ,GACT,EAAE;IACD,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACnC,+BA6KA;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,IAAI,EACJ,YAAY,EACZ,WAAW,EACX,UAAU,EACV,QAAQ,GACT,EAAE;IACD,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,QAAQ,EAAE,SAAS,CAAC;CACrB,+BAmEA"}
@@ -36,5 +36,5 @@ export declare function SalesOrdersFilters({ value, onChange, part, busy, alle,
36
36
  };
37
37
  /** Eigen tekst in het zoekveld (bv. op de pagina Klok). */
38
38
  searchPlaceholder?: string;
39
- }): import("react/jsx-runtime").JSX.Element;
39
+ }): import("react").JSX.Element;
40
40
  //# sourceMappingURL=SalesOrdersFilters.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SalesOrdersFilters.d.ts","sourceRoot":"","sources":["../../../src/components/verkoop/SalesOrdersFilters.tsx"],"names":[],"mappings":"AA8BA,MAAM,WAAW,OAAO;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IACnC,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;CACnE;AA6BD,wBAAgB,kBAAkB,CAAC,EACjC,KAAK,EACL,QAAQ,EACR,IAAa,EACb,IAAY,EACZ,IAAI,EACJ,iBAAiB,GAClB,EAAE;IACD,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAClC,yEAAyE;IACzE,IAAI,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACpC,6DAA6D;IAC7D,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,sFAAsF;IACtF,IAAI,CAAC,EAAE;QAAE,MAAM,EAAE,OAAO,CAAC;QAAC,QAAQ,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAA;KAAE,CAAC;IAChE,2DAA2D;IAC3D,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,2CA4UA"}
1
+ {"version":3,"file":"SalesOrdersFilters.d.ts","sourceRoot":"","sources":["../../../src/components/verkoop/SalesOrdersFilters.tsx"],"names":[],"mappings":"AA8BA,MAAM,WAAW,OAAO;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IACnC,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;CACnE;AA6BD,wBAAgB,kBAAkB,CAAC,EACjC,KAAK,EACL,QAAQ,EACR,IAAa,EACb,IAAY,EACZ,IAAI,EACJ,iBAAiB,GAClB,EAAE;IACD,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAClC,yEAAyE;IACzE,IAAI,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACpC,6DAA6D;IAC7D,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,sFAAsF;IACtF,IAAI,CAAC,EAAE;QAAE,MAAM,EAAE,OAAO,CAAC;QAAC,QAAQ,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAA;KAAE,CAAC;IAChE,2DAA2D;IAC3D,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,+BA4UA"}
@@ -32,5 +32,5 @@ export declare function SalesOrdersTable({ orders, loading, onSelectOrder, onDel
32
32
  focusedId?: string | null;
33
33
  /** Rijhoogte in px (60 comfortabel, 48 compact). */
34
34
  rowHeight?: number;
35
- }): import("react/jsx-runtime").JSX.Element;
35
+ }): import("react").JSX.Element;
36
36
  //# sourceMappingURL=SalesOrdersTable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SalesOrdersTable.d.ts","sourceRoot":"","sources":["../../../src/components/verkoop/SalesOrdersTable.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA8C,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAWnF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAGL,KAAK,gBAAgB,EAEtB,MAAM,0BAA0B,CAAC;AAwBlC,6EAA6E;AAC7E,wBAAgB,eAAe,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM,CAG1D;AAuZD,wBAAgB,gBAAgB,CAAC,EAC/B,MAAM,EACN,OAAO,EACP,aAAa,EACb,aAAa,EACb,WAAW,EACX,cAAc,EACd,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,QAA2B,EAC3B,SAAmC,EACnC,cAAc,EACd,YAAgB,EAChB,OAAO,EACP,KAAa,EACb,YAAY,EACZ,OAAO,EACP,SAAS,EACT,SAAS,EACT,SAAc,GACf,EAAE;IACD,MAAM,EAAE,aAAa,EAAE,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC/C,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC/C,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC7C,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAChD,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC5C,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,uFAAuF;IACvF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,8FAA8F;IAC9F,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,6EAA6E;IAC7E,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,+CAA+C;IAC/C,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,+DAA+D;IAC/D,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,gDAAgD;IAChD,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,sCAAsC;IACtC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,2CAmJA"}
1
+ {"version":3,"file":"SalesOrdersTable.d.ts","sourceRoot":"","sources":["../../../src/components/verkoop/SalesOrdersTable.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA8C,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAWnF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAGL,KAAK,gBAAgB,EAEtB,MAAM,0BAA0B,CAAC;AAwBlC,6EAA6E;AAC7E,wBAAgB,eAAe,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM,CAG1D;AAuZD,wBAAgB,gBAAgB,CAAC,EAC/B,MAAM,EACN,OAAO,EACP,aAAa,EACb,aAAa,EACb,WAAW,EACX,cAAc,EACd,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,QAA2B,EAC3B,SAAmC,EACnC,cAAc,EACd,YAAgB,EAChB,OAAO,EACP,KAAa,EACb,YAAY,EACZ,OAAO,EACP,SAAS,EACT,SAAS,EACT,SAAc,GACf,EAAE;IACD,MAAM,EAAE,aAAa,EAAE,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC/C,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC/C,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC7C,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAChD,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC5C,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,uFAAuF;IACvF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,8FAA8F;IAC9F,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,6EAA6E;IAC7E,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,+CAA+C;IAC/C,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,+DAA+D;IAC/D,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,gDAAgD;IAChD,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,sCAAsC;IACtC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,+BAmJA"}
@@ -2,5 +2,5 @@
2
2
  * Toont voorraadafboekingen die zijn overgeslagen (product niet gekoppeld) of
3
3
  * geblokkeerd (statusovergang zonder bewijs van vertrek).
4
4
  */
5
- export declare function StockConsumptionAlertsBanner(): import("react/jsx-runtime").JSX.Element | null;
5
+ export declare function StockConsumptionAlertsBanner(): import("react").JSX.Element | null;
6
6
  //# sourceMappingURL=StockConsumptionAlertsBanner.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StockConsumptionAlertsBanner.d.ts","sourceRoot":"","sources":["../../../src/components/verkoop/StockConsumptionAlertsBanner.tsx"],"names":[],"mappings":"AAQA;;;GAGG;AACH,wBAAgB,4BAA4B,mDA6C3C"}
1
+ {"version":3,"file":"StockConsumptionAlertsBanner.d.ts","sourceRoot":"","sources":["../../../src/components/verkoop/StockConsumptionAlertsBanner.tsx"],"names":[],"mappings":"AAQA;;;GAGG;AACH,wBAAgB,4BAA4B,uCA6C3C"}
@@ -1,2 +1,2 @@
1
- export declare function VerkoopOrdersPage(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function VerkoopOrdersPage(): import("react").JSX.Element;
2
2
  //# sourceMappingURL=VerkoopOrdersPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VerkoopOrdersPage.d.ts","sourceRoot":"","sources":["../../../src/components/verkoop/VerkoopOrdersPage.tsx"],"names":[],"mappings":"AAsRA,wBAAgB,iBAAiB,4CA4jChC"}
1
+ {"version":3,"file":"VerkoopOrdersPage.d.ts","sourceRoot":"","sources":["../../../src/components/verkoop/VerkoopOrdersPage.tsx"],"names":[],"mappings":"AAsRA,wBAAgB,iBAAiB,gCA4jChC"}
@@ -2,5 +2,5 @@ export declare function WeekCalendar({ week, year, onSelect, }: {
2
2
  week: number;
3
3
  year: number;
4
4
  onSelect: (week: number, year: number) => void;
5
- }): import("react/jsx-runtime").JSX.Element;
5
+ }): import("react").JSX.Element;
6
6
  //# sourceMappingURL=WeekCalendar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WeekCalendar.d.ts","sourceRoot":"","sources":["../../../src/components/verkoop/WeekCalendar.tsx"],"names":[],"mappings":"AAiDA,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,IAAI,EACJ,QAAQ,GACT,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAChD,2CAqJA"}
1
+ {"version":3,"file":"WeekCalendar.d.ts","sourceRoot":"","sources":["../../../src/components/verkoop/WeekCalendar.tsx"],"names":[],"mappings":"AAiDA,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,IAAI,EACJ,QAAQ,GACT,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAChD,+BAqJA"}
@@ -6,5 +6,5 @@ export declare function CorrectieBesluitKnoppen({ id, orderRowId, onDone }: {
6
6
  id: string;
7
7
  orderRowId?: string | null;
8
8
  onDone?: () => void;
9
- }): import("react/jsx-runtime").JSX.Element;
9
+ }): import("react").JSX.Element;
10
10
  //# sourceMappingURL=CorrectieBesluitKnoppen.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CorrectieBesluitKnoppen.d.ts","sourceRoot":"","sources":["../../../../src/components/verkoop/correcties/CorrectieBesluitKnoppen.tsx"],"names":[],"mappings":"AAOA;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,EAAE,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,2CA+ClI"}
1
+ {"version":3,"file":"CorrectieBesluitKnoppen.d.ts","sourceRoot":"","sources":["../../../../src/components/verkoop/correcties/CorrectieBesluitKnoppen.tsx"],"names":[],"mappings":"AAOA;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,EAAE,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,+BA+ClI"}
@@ -6,5 +6,5 @@ export declare function CorrectieChip({ row }: {
6
6
  order?: any;
7
7
  };
8
8
  };
9
- }): import("react/jsx-runtime").JSX.Element | null;
9
+ }): import("react").JSX.Element | null;
10
10
  //# sourceMappingURL=CorrectieChip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CorrectieChip.d.ts","sourceRoot":"","sources":["../../../../src/components/verkoop/correcties/CorrectieChip.tsx"],"names":[],"mappings":"AAGA,8EAA8E;AAC9E,wBAAgB,aAAa,CAAC,EAAE,GAAG,EAAE,EAAE;IAAE,GAAG,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;QAAC,GAAG,CAAC,EAAE;YAAE,KAAK,CAAC,EAAE,GAAG,CAAA;SAAE,CAAA;KAAE,CAAA;CAAE,kDAUhG"}
1
+ {"version":3,"file":"CorrectieChip.d.ts","sourceRoot":"","sources":["../../../../src/components/verkoop/correcties/CorrectieChip.tsx"],"names":[],"mappings":"AAGA,8EAA8E;AAC9E,wBAAgB,aAAa,CAAC,EAAE,GAAG,EAAE,EAAE;IAAE,GAAG,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;QAAC,GAAG,CAAC,EAAE;YAAE,KAAK,CAAC,EAAE,GAAG,CAAA;SAAE,CAAA;KAAE,CAAA;CAAE,sCAUhG"}
@@ -1,3 +1,3 @@
1
1
  /** Balk bovenaan Verkoop: open correctieverzoeken met de eerste deadline. */
2
- export declare function CorrectiesBalk(): import("react/jsx-runtime").JSX.Element | null;
2
+ export declare function CorrectiesBalk(): import("react").JSX.Element | null;
3
3
  //# sourceMappingURL=CorrectiesBalk.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CorrectiesBalk.d.ts","sourceRoot":"","sources":["../../../../src/components/verkoop/correcties/CorrectiesBalk.tsx"],"names":[],"mappings":"AAKA,6EAA6E;AAC7E,wBAAgB,cAAc,mDAmB7B"}
1
+ {"version":3,"file":"CorrectiesBalk.d.ts","sourceRoot":"","sources":["../../../../src/components/verkoop/correcties/CorrectiesBalk.tsx"],"names":[],"mappings":"AAKA,6EAA6E;AAC7E,wBAAgB,cAAc,uCAmB7B"}
@@ -1,3 +1,3 @@
1
1
  /** Lijst "Correctieverzoeken" van kopers (per 25, zoeken en status op de server). */
2
- export declare function CorrectiesPage(): import("react/jsx-runtime").JSX.Element;
2
+ export declare function CorrectiesPage(): import("react").JSX.Element;
3
3
  //# sourceMappingURL=CorrectiesPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CorrectiesPage.d.ts","sourceRoot":"","sources":["../../../../src/components/verkoop/correcties/CorrectiesPage.tsx"],"names":[],"mappings":"AAiBA,qFAAqF;AACrF,wBAAgB,cAAc,4CAsD7B"}
1
+ {"version":3,"file":"CorrectiesPage.d.ts","sourceRoot":"","sources":["../../../../src/components/verkoop/correcties/CorrectiesPage.tsx"],"names":[],"mappings":"AAiBA,qFAAqF;AACrF,wBAAgB,cAAc,gCAsD7B"}
@@ -3,5 +3,5 @@ export declare function OrderCorrectiesCard({ salesOrderIds, floridayOrder, orde
3
3
  salesOrderIds: string[];
4
4
  floridayOrder: any;
5
5
  orderRowId: string | null;
6
- }): import("react/jsx-runtime").JSX.Element | null;
6
+ }): import("react").JSX.Element | null;
7
7
  //# sourceMappingURL=OrderCorrectiesCard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"OrderCorrectiesCard.d.ts","sourceRoot":"","sources":["../../../../src/components/verkoop/correcties/OrderCorrectiesCard.tsx"],"names":[],"mappings":"AAMA,qFAAqF;AACrF,wBAAgB,mBAAmB,CAAC,EAAE,aAAa,EAAE,aAAa,EAAE,UAAU,EAAE,EAAE;IAAE,aAAa,EAAE,MAAM,EAAE,CAAC;IAAC,aAAa,EAAE,GAAG,CAAC;IAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,kDAmC3J"}
1
+ {"version":3,"file":"OrderCorrectiesCard.d.ts","sourceRoot":"","sources":["../../../../src/components/verkoop/correcties/OrderCorrectiesCard.tsx"],"names":[],"mappings":"AAMA,qFAAqF;AACrF,wBAAgB,mBAAmB,CAAC,EAAE,aAAa,EAAE,aAAa,EAAE,UAAU,EAAE,EAAE;IAAE,aAAa,EAAE,MAAM,EAAE,CAAC;IAAC,aAAa,EAAE,GAAG,CAAC;IAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,sCAmC3J"}
@@ -1,5 +1,5 @@
1
1
  /** "Oude order, niet ingedeeld": zichtbare status met reden en knop "Toch indelen". */
2
2
  export declare function OudeOrderCard({ orderRowId }: {
3
3
  orderRowId: string | null;
4
- }): import("react/jsx-runtime").JSX.Element | null;
4
+ }): import("react").JSX.Element | null;
5
5
  //# sourceMappingURL=OudeOrderCard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"OudeOrderCard.d.ts","sourceRoot":"","sources":["../../../../src/components/verkoop/correcties/OudeOrderCard.tsx"],"names":[],"mappings":"AAQA,uFAAuF;AACvF,wBAAgB,aAAa,CAAC,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,kDAoC1E"}
1
+ {"version":3,"file":"OudeOrderCard.d.ts","sourceRoot":"","sources":["../../../../src/components/verkoop/correcties/OudeOrderCard.tsx"],"names":[],"mappings":"AAQA,uFAAuF;AACvF,wBAAgB,aAAa,CAAC,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,sCAoC1E"}
@@ -1,3 +1,3 @@
1
1
  /** Subtiele melding (info) direct onder de kop, alleen op klokplekken. */
2
- export declare function KlokNotice(): import("react/jsx-runtime").JSX.Element | null;
2
+ export declare function KlokNotice(): import("react").JSX.Element | null;
3
3
  //# sourceMappingURL=KlokNotice.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"KlokNotice.d.ts","sourceRoot":"","sources":["../../../../src/components/verkoop/klok/KlokNotice.tsx"],"names":[],"mappings":"AAIA,0EAA0E;AAC1E,wBAAgB,UAAU,mDAezB"}
1
+ {"version":3,"file":"KlokNotice.d.ts","sourceRoot":"","sources":["../../../../src/components/verkoop/klok/KlokNotice.tsx"],"names":[],"mappings":"AAIA,0EAA0E;AAC1E,wBAAgB,UAAU,uCAezB"}
@@ -1,2 +1,2 @@
1
- export declare function KlokOrderPage(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function KlokOrderPage(): import("react").JSX.Element;
2
2
  //# sourceMappingURL=KlokOrderPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"KlokOrderPage.d.ts","sourceRoot":"","sources":["../../../../src/components/verkoop/klok/KlokOrderPage.tsx"],"names":[],"mappings":"AAgFA,wBAAgB,aAAa,4CA8vB5B"}
1
+ {"version":3,"file":"KlokOrderPage.d.ts","sourceRoot":"","sources":["../../../../src/components/verkoop/klok/KlokOrderPage.tsx"],"names":[],"mappings":"AA8EA,wBAAgB,aAAa,gCAmzB5B"}