@bjsdistribution/dms-client-return 0.0.82 → 0.0.84

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 (316) hide show
  1. package/dist/components/order-daily-overview/common/interface.d.ts +0 -80
  2. package/dist/components/order-view/hooks/AddResources.d.ts +2 -0
  3. package/dist/components/order-view/notes/logs/helper.d.ts +1 -2
  4. package/dist/components/order-view/notification/ReminderTemplate.d.ts +1 -1
  5. package/dist/components/order-view/notification/Tabs.d.ts +1 -1
  6. package/dist/components/order-view/order-actions/actions/add-resources/DocFileUpload.d.ts +3 -0
  7. package/dist/components/order-view/order-actions/actions/clear-booking-status/ClearBookingStatus.d.ts +3 -0
  8. package/dist/components/order-view/order-actions/actions/create-task-reminder/TaskModal.d.ts +4 -0
  9. package/dist/components/order-view/order-actions/actions/remove-from-route/RemoveFromRoute.d.ts +3 -0
  10. package/dist/components/order-view/order-actions/store.d.ts +15 -0
  11. package/dist/components/order-view/order-resources/columns/actions/index.d.ts +12 -2
  12. package/dist/components/order-view/order-resources/columns/index.d.ts +1 -0
  13. package/dist/components/order-view/order-resources/helper.d.ts +2 -2
  14. package/dist/components/order-view/store.d.ts +1 -1
  15. package/dist/components/order-view/types.d.ts +2 -1
  16. package/dist/components/store.d.ts +3 -1
  17. package/dist/dms-client-return.cjs.development.js +2874 -2078
  18. package/dist/dms-client-return.cjs.development.js.map +1 -1
  19. package/dist/dms-client-return.cjs.production.min.js +1 -1
  20. package/dist/dms-client-return.cjs.production.min.js.map +1 -1
  21. package/dist/dms-client-return.esm.js +2894 -2098
  22. package/dist/dms-client-return.esm.js.map +1 -1
  23. package/package.json +2 -2
  24. package/src/components/order-daily-overview/common/interface.ts +0 -85
  25. package/src/components/order-daily-overview/filters/Filters.tsx +0 -56
  26. package/src/components/order-daily-overview/header/input/dropdown/index.tsx +0 -1
  27. package/src/components/order-daily-overview/header/route-header/RouterHeader.tsx +1 -35
  28. package/src/components/order-daily-overview/header/table-filter/TableFilter.tsx +3 -4
  29. package/src/components/order-daily-overview/header-filters/HeaderFilter.tsx +0 -65
  30. package/src/components/order-daily-overview/return-after-table/table-filters/TableFilters.tsx +1 -106
  31. package/src/components/order-daily-overview/return-order-table/return-orders-filters/returnstyles.ts +1 -1
  32. package/src/components/order-daily-overview/store/store.ts +0 -13
  33. package/src/components/order-view/details-filters/left-side-filters/ActionsMenu.tsx +0 -2
  34. package/src/components/order-view/details-filters/left-side-filters/actions/Actions.tsx +0 -13
  35. package/src/components/order-view/fakedata.ts +14 -5
  36. package/src/components/order-view/hooks/AddResources.tsx +54 -0
  37. package/src/components/order-view/index.tsx +26 -1
  38. package/src/components/order-view/notes/order-dropdown/NewReturnDropdown.tsx +17 -4
  39. package/src/components/order-view/notification/FlagTemplate.tsx +1 -1
  40. package/src/components/order-view/notification/ReminderTemplate.tsx +10 -11
  41. package/src/components/order-view/notification/Tabs.tsx +24 -6
  42. package/src/components/order-view/notification/index.tsx +47 -13
  43. package/src/components/order-view/order-actions/actions/add-resources/CategoryDropdown.tsx +24 -9
  44. package/src/components/order-view/order-actions/actions/add-resources/DocFileUpload.tsx +141 -49
  45. package/src/components/order-view/order-actions/actions/add-resources/DocumentTypeDropdown.tsx +28 -5
  46. package/src/components/order-view/order-actions/actions/add-resources/Visibility.tsx +31 -14
  47. package/src/components/order-view/order-actions/actions/add-resources/index.tsx +99 -11
  48. package/src/components/order-view/order-actions/actions/cancel-order/index.tsx +0 -4
  49. package/src/components/order-view/order-actions/actions/clear-booking-status/ClearBookingStatus.tsx +113 -0
  50. package/src/components/order-view/order-actions/actions/create-task-reminder/CreateReminderModal.tsx +3 -0
  51. package/src/components/order-view/order-actions/actions/create-task-reminder/CreateTaskModal.tsx +3 -3
  52. package/src/components/order-view/order-actions/actions/create-task-reminder/TaskModal.tsx +149 -0
  53. package/src/components/order-view/order-actions/actions/remove-from-route/RemoveFromRoute.tsx +91 -0
  54. package/src/components/order-view/order-actions/hooks/useCreateReminder.ts +0 -5
  55. package/src/components/order-view/order-actions/index.tsx +10 -9
  56. package/src/components/order-view/order-actions/store.ts +7 -2
  57. package/src/components/order-view/order-details/expanded-content/orders-section/Carrier.tsx +29 -10
  58. package/src/components/order-view/order-details/expanded-content/orders-section/index.tsx +0 -3
  59. package/src/components/order-view/order-resources/collapsed-content/index.tsx +2 -2
  60. package/src/components/order-view/order-resources/columns/Date.tsx +2 -1
  61. package/src/components/order-view/order-resources/columns/actions/index.tsx +133 -5
  62. package/src/components/order-view/order-resources/columns/index.tsx +1 -0
  63. package/src/components/order-view/order-resources/expanded-content/index.tsx +11 -11
  64. package/src/components/order-view/order-resources/helper.ts +7 -1
  65. package/src/components/order-view/return-client-products/product-table/ReturnProductTable.tsx +16 -4
  66. package/src/components/order-view/store.ts +5 -10
  67. package/src/components/order-view/system-event-logs/columns/index.tsx +0 -1
  68. package/src/components/order-view/types.ts +6 -3
  69. package/src/components/order-view/utils.ts +17 -1
  70. package/src/components/store.ts +13 -1
  71. package/dist/assets/PostCodeIcon.d.ts +0 -3
  72. package/dist/assets/icons/ArrivalIcon.d.ts +0 -3
  73. package/dist/assets/icons/ArrowIcon.d.ts +0 -3
  74. package/dist/assets/icons/AssemblyIcons.d.ts +0 -3
  75. package/dist/assets/icons/BarCode.d.ts +0 -3
  76. package/dist/assets/icons/BoxIcon.d.ts +0 -3
  77. package/dist/assets/icons/BoxTickIcon.d.ts +0 -3
  78. package/dist/assets/icons/CallIcon.d.ts +0 -3
  79. package/dist/assets/icons/CarIcon.d.ts +0 -3
  80. package/dist/assets/icons/CardsIcon.d.ts +0 -3
  81. package/dist/assets/icons/CbmIcon.d.ts +0 -3
  82. package/dist/assets/icons/ClockIcon.d.ts +0 -3
  83. package/dist/assets/icons/Complete.d.ts +0 -3
  84. package/dist/assets/icons/CompleteIcon.d.ts +0 -3
  85. package/dist/assets/icons/CompletedIcon.d.ts +0 -3
  86. package/dist/assets/icons/DeleteIcon.d.ts +0 -3
  87. package/dist/assets/icons/DownArrowIcon.d.ts +0 -3
  88. package/dist/assets/icons/DownloadIcon.d.ts +0 -3
  89. package/dist/assets/icons/DriverIcon.d.ts +0 -3
  90. package/dist/assets/icons/DropDownLarge.d.ts +0 -3
  91. package/dist/assets/icons/EditIcon.d.ts +0 -3
  92. package/dist/assets/icons/ExportIcon.d.ts +0 -3
  93. package/dist/assets/icons/EyeIcon.d.ts +0 -3
  94. package/dist/assets/icons/FailedIcon.d.ts +0 -3
  95. package/dist/assets/icons/HeavyItemIcon.d.ts +0 -3
  96. package/dist/assets/icons/InComplete.d.ts +0 -3
  97. package/dist/assets/icons/LargeItemIcon.d.ts +0 -3
  98. package/dist/assets/icons/LateIcon.d.ts +0 -3
  99. package/dist/assets/icons/LineIcon.d.ts +0 -3
  100. package/dist/assets/icons/LockIcon.d.ts +0 -3
  101. package/dist/assets/icons/MapIcon.d.ts +0 -3
  102. package/dist/assets/icons/OctaIcon.d.ts +0 -3
  103. package/dist/assets/icons/OntimeTrackingIcons.d.ts +0 -3
  104. package/dist/assets/icons/PaperIcon.d.ts +0 -3
  105. package/dist/assets/icons/PendingIcon.d.ts +0 -3
  106. package/dist/assets/icons/PersonIcon.d.ts +0 -3
  107. package/dist/assets/icons/PointIcon.d.ts +0 -3
  108. package/dist/assets/icons/PrintIcon.d.ts +0 -3
  109. package/dist/assets/icons/PrivateIcon.d.ts +0 -3
  110. package/dist/assets/icons/RecipientIcon.d.ts +0 -3
  111. package/dist/assets/icons/ReminderIcon.d.ts +0 -3
  112. package/dist/assets/icons/RightArrowIcon.d.ts +0 -3
  113. package/dist/assets/icons/RoundCheckbox.d.ts +0 -3
  114. package/dist/assets/icons/StartIcon.d.ts +0 -3
  115. package/dist/assets/icons/TableIcon.d.ts +0 -3
  116. package/dist/assets/icons/TextIcon.d.ts +0 -3
  117. package/dist/assets/icons/ThreeIcon.d.ts +0 -3
  118. package/dist/assets/icons/TickIon.d.ts +0 -3
  119. package/dist/assets/icons/TomtomIcon.d.ts +0 -3
  120. package/dist/assets/icons/TotalOrderIcon.d.ts +0 -3
  121. package/dist/assets/icons/TrackIcon.d.ts +0 -3
  122. package/dist/assets/icons/TruckIcon.d.ts +0 -3
  123. package/dist/assets/icons/UnlockIcon.d.ts +0 -3
  124. package/dist/assets/icons/UserIcon.d.ts +0 -3
  125. package/dist/assets/icons/VehicleIcon.d.ts +0 -3
  126. package/dist/assets/icons/WeightIcon.d.ts +0 -3
  127. package/dist/assets/icons/ZigZagIcon.d.ts +0 -3
  128. package/dist/components/order-daily-overview/common/PrintDropDown.d.ts +0 -8
  129. package/dist/components/order-daily-overview/common/css/TableStyle.d.ts +0 -21
  130. package/dist/components/order-daily-overview/common/css/mediaQuery.d.ts +0 -4
  131. package/dist/components/order-daily-overview/store/filterStore.d.ts +0 -16
  132. package/dist/components/order-daily-overview/store/initialValues.d.ts +0 -16
  133. package/dist/components/order-daily-overview/table/table-data/Fakedata.d.ts +0 -144
  134. package/dist/components/order-view/ProductData.d.ts +0 -14
  135. package/dist/components/order-view/details-filters/left-side-filters/dropdowns/DropDownItem.d.ts +0 -8
  136. package/dist/components/order-view/details-filters/left-side-filters/dropdowns/DropDownMenu.d.ts +0 -10
  137. package/dist/components/order-view/details-filters/left-side-filters/dropdowns/DropdownStyles.d.ts +0 -3
  138. package/dist/components/order-view/general-information/LockOrder.d.ts +0 -4
  139. package/dist/components/order-view/general-information/dropdowns/BjsMenu.d.ts +0 -3
  140. package/dist/components/order-view/general-information/dropdowns/CreateTask.d.ts +0 -3
  141. package/dist/components/order-view/general-information/dropdowns/SendEmail.d.ts +0 -3
  142. package/dist/components/order-view/general-information/dropdowns/SendSms.d.ts +0 -3
  143. package/dist/components/order-view/general-information/dropdowns/Tasks.d.ts +0 -3
  144. package/dist/components/order-view/general-information/dropdowns/Videos.d.ts +0 -3
  145. package/dist/components/order-view/general-information/dropdowns/ViewEpod.d.ts +0 -3
  146. package/dist/components/order-view/general-information/dropdowns/helper.d.ts +0 -1
  147. package/dist/components/order-view/general-information/dropdowns/index.d.ts +0 -3
  148. package/dist/components/order-view/modalsPopup/AddProduct.d.ts +0 -3
  149. package/dist/components/order-view/modalsPopup/BulkUpdateProduct.d.ts +0 -3
  150. package/dist/components/order-view/modalsPopup/DeleteProduct.d.ts +0 -3
  151. package/dist/components/order-view/modalsPopup/ProductAction.d.ts +0 -3
  152. package/dist/components/order-view/modalsPopup/RepackModal.d.ts +0 -3
  153. package/dist/components/order-view/modalsPopup/UnReceiveProduct.d.ts +0 -3
  154. package/dist/components/order-view/modalsPopup/UpdateProducts.d.ts +0 -3
  155. package/dist/components/order-view/modalsPopup/qclogs/AddDefect.d.ts +0 -3
  156. package/dist/components/order-view/modalsPopup/qclogs/DefetcDetails.d.ts +0 -3
  157. package/dist/components/order-view/modalsPopup/qclogs/OtherDamage.d.ts +0 -3
  158. package/dist/components/order-view/modalsPopup/qclogs/RepackDetails.d.ts +0 -3
  159. package/dist/components/order-view/modalsPopup/qclogs/RepackProduct.d.ts +0 -3
  160. package/dist/components/order-view/modalsPopup/qclogs/index.d.ts +0 -3
  161. package/dist/components/order-view/modalsPopup/qclogs/logsTable.d.ts +0 -3
  162. package/dist/components/order-view/notes/logs/columns/Details.d.ts +0 -3
  163. package/dist/components/order-view/notes/logs/columns/index.d.ts +0 -2
  164. package/dist/components/order-view/notification/OrderTemplate.d.ts +0 -3
  165. package/dist/components/order-view/order-actions/actions/cancel-order/CancelOrderTable.d.ts +0 -3
  166. package/dist/components/order-view/order-actions/actions/cancel-order/CancelationNote.d.ts +0 -3
  167. package/dist/components/order-view/order-actions/actions/cancel-order/CancelationReason.d.ts +0 -3
  168. package/dist/components/order-view/order-actions/actions/charge-log/DeleteLogModal.d.ts +0 -3
  169. package/dist/components/order-view/order-actions/actions/charge-log/index.d.ts +0 -3
  170. package/dist/components/order-view/order-actions/actions/escalation/Dropdowns.d.ts +0 -3
  171. package/dist/components/order-view/order-actions/actions/escalation/EscalationModal.d.ts +0 -3
  172. package/dist/components/order-view/order-actions/actions/escalation/NewEscalation.d.ts +0 -3
  173. package/dist/components/order-view/order-actions/actions/escalation/Notes.d.ts +0 -3
  174. package/dist/components/order-view/order-actions/actions/escalation/index.d.ts +0 -3
  175. package/dist/components/order-view/order-actions/actions/escalation/upgrade/index.d.ts +0 -3
  176. package/dist/components/order-view/order-actions/actions/restore-products/RestoreProducts.d.ts +0 -3
  177. package/dist/components/order-view/order-actions/actions/update-product-type/UpdateProductType.d.ts +0 -7
  178. package/dist/components/order-view/order-actions/actions/update-product-type/UpdateProductTypeStyle.d.ts +0 -9
  179. package/dist/components/order-view/order-actions/hooks/useFetchSingleReminder.d.ts +0 -2
  180. package/dist/components/order-view/order-actions/hooks/useUpdateReminder.d.ts +0 -3
  181. package/dist/components/order-view/order-details/expanded-content/orders-section/ValueField.d.ts +0 -3
  182. package/dist/components/order-view/order-resources/columns/Id.d.ts +0 -3
  183. package/dist/components/order-view/products-info/expanded-content/productList.d.ts +0 -0
  184. package/dist/components/order-view/products-info/expanded-content/products/Badge.d.ts +0 -6
  185. package/dist/components/order-view/products-info/expanded-content/products/index.d.ts +0 -7
  186. package/dist/components/order-view/products-info/types.d.ts +0 -1
  187. package/dist/components/order-view/products-info/utils.d.ts +0 -2
  188. package/dist/components/order-view/return-client-products/product-table-footer/ProductDetailsFooter.d.ts +0 -3
  189. package/dist/components/order-view/toolbox-resources/collapsed-content/index.d.ts +0 -3
  190. package/dist/components/order-view/toolbox-resources/expanded-content/index.d.ts +0 -3
  191. package/dist/components/order-view/view-reminder/AssigneeDropdown.d.ts +0 -3
  192. package/dist/components/order-view/view-reminder/ViewReminder.d.ts +0 -3
  193. package/dist/components/order-view/view-reminder/reminder-styles.d.ts +0 -25
  194. package/src/assets/PostCodeIcon.tsx +0 -32
  195. package/src/assets/icons/ArrivalIcon.tsx +0 -11
  196. package/src/assets/icons/ArrowIcon.tsx +0 -11
  197. package/src/assets/icons/AssemblyIcons.tsx +0 -11
  198. package/src/assets/icons/BarCode.tsx +0 -11
  199. package/src/assets/icons/BoxIcon.tsx +0 -19
  200. package/src/assets/icons/BoxTickIcon.tsx +0 -19
  201. package/src/assets/icons/CallIcon.tsx +0 -9
  202. package/src/assets/icons/CarIcon.tsx +0 -10
  203. package/src/assets/icons/CardsIcon.tsx +0 -12
  204. package/src/assets/icons/CbmIcon.tsx +0 -11
  205. package/src/assets/icons/ClockIcon.tsx +0 -10
  206. package/src/assets/icons/Complete.tsx +0 -15
  207. package/src/assets/icons/CompleteIcon.tsx +0 -34
  208. package/src/assets/icons/CompletedIcon.tsx +0 -11
  209. package/src/assets/icons/DeleteIcon.tsx +0 -20
  210. package/src/assets/icons/DownArrowIcon.tsx +0 -18
  211. package/src/assets/icons/DownloadIcon.tsx +0 -26
  212. package/src/assets/icons/DriverIcon.tsx +0 -28
  213. package/src/assets/icons/DropDownLarge.tsx +0 -25
  214. package/src/assets/icons/EditIcon.tsx +0 -34
  215. package/src/assets/icons/ExportIcon.tsx +0 -14
  216. package/src/assets/icons/EyeIcon.tsx +0 -10
  217. package/src/assets/icons/FailedIcon.tsx +0 -44
  218. package/src/assets/icons/HeavyItemIcon.tsx +0 -36
  219. package/src/assets/icons/InComplete.tsx +0 -15
  220. package/src/assets/icons/LargeItemIcon.tsx +0 -60
  221. package/src/assets/icons/LateIcon.tsx +0 -12
  222. package/src/assets/icons/LineIcon.tsx +0 -10
  223. package/src/assets/icons/LockIcon.tsx +0 -35
  224. package/src/assets/icons/MapIcon.tsx +0 -11
  225. package/src/assets/icons/OctaIcon.tsx +0 -10
  226. package/src/assets/icons/OntimeTrackingIcons.tsx +0 -19
  227. package/src/assets/icons/PaperIcon.tsx +0 -10
  228. package/src/assets/icons/PendingIcon.tsx +0 -32
  229. package/src/assets/icons/PersonIcon.tsx +0 -27
  230. package/src/assets/icons/PointIcon.tsx +0 -10
  231. package/src/assets/icons/PrintIcon.tsx +0 -10
  232. package/src/assets/icons/PrivateIcon.tsx +0 -29
  233. package/src/assets/icons/RecipientIcon.tsx +0 -10
  234. package/src/assets/icons/ReminderIcon.tsx +0 -35
  235. package/src/assets/icons/RightArrowIcon.tsx +0 -15
  236. package/src/assets/icons/RoundCheckbox.tsx +0 -11
  237. package/src/assets/icons/StartIcon.tsx +0 -10
  238. package/src/assets/icons/TableIcon.tsx +0 -12
  239. package/src/assets/icons/TextIcon.tsx +0 -10
  240. package/src/assets/icons/ThreeIcon.tsx +0 -19
  241. package/src/assets/icons/TickIon.tsx +0 -10
  242. package/src/assets/icons/TomtomIcon.tsx +0 -23
  243. package/src/assets/icons/TotalOrderIcon.tsx +0 -12
  244. package/src/assets/icons/TrackIcon.tsx +0 -12
  245. package/src/assets/icons/TruckIcon.tsx +0 -20
  246. package/src/assets/icons/UnlockIcon.tsx +0 -35
  247. package/src/assets/icons/UserIcon.tsx +0 -10
  248. package/src/assets/icons/VehicleIcon.tsx +0 -11
  249. package/src/assets/icons/WeightIcon.tsx +0 -11
  250. package/src/assets/icons/ZigZagIcon.tsx +0 -10
  251. package/src/components/order-daily-overview/common/PrintDropDown.tsx +0 -100
  252. package/src/components/order-daily-overview/common/css/TableStyle.tsx +0 -202
  253. package/src/components/order-daily-overview/common/css/mediaQuery.ts +0 -13
  254. package/src/components/order-daily-overview/store/filterStore.ts +0 -100
  255. package/src/components/order-daily-overview/store/initialValues.ts +0 -16
  256. package/src/components/order-daily-overview/table/table-data/Fakedata.tsx +0 -432
  257. package/src/components/order-view/ProductData.tsx +0 -81
  258. package/src/components/order-view/details-filters/left-side-filters/dropdowns/DropDownItem.tsx +0 -33
  259. package/src/components/order-view/details-filters/left-side-filters/dropdowns/DropDownMenu.tsx +0 -42
  260. package/src/components/order-view/details-filters/left-side-filters/dropdowns/DropdownStyles.tsx +0 -25
  261. package/src/components/order-view/general-information/LockOrder.tsx +0 -113
  262. package/src/components/order-view/general-information/dropdowns/BjsMenu.tsx +0 -66
  263. package/src/components/order-view/general-information/dropdowns/CreateTask.tsx +0 -34
  264. package/src/components/order-view/general-information/dropdowns/SendEmail.tsx +0 -14
  265. package/src/components/order-view/general-information/dropdowns/SendSms.tsx +0 -14
  266. package/src/components/order-view/general-information/dropdowns/Tasks.tsx +0 -8
  267. package/src/components/order-view/general-information/dropdowns/Videos.tsx +0 -8
  268. package/src/components/order-view/general-information/dropdowns/ViewEpod.tsx +0 -8
  269. package/src/components/order-view/general-information/dropdowns/helper.tsx +0 -17
  270. package/src/components/order-view/general-information/dropdowns/index.tsx +0 -46
  271. package/src/components/order-view/modalsPopup/AddProduct.tsx +0 -234
  272. package/src/components/order-view/modalsPopup/BulkUpdateProduct.tsx +0 -145
  273. package/src/components/order-view/modalsPopup/DeleteProduct.tsx +0 -117
  274. package/src/components/order-view/modalsPopup/ProductAction.tsx +0 -79
  275. package/src/components/order-view/modalsPopup/RepackModal.tsx +0 -42
  276. package/src/components/order-view/modalsPopup/UnReceiveProduct.tsx +0 -72
  277. package/src/components/order-view/modalsPopup/UpdateProducts.tsx +0 -145
  278. package/src/components/order-view/modalsPopup/qclogs/AddDefect.tsx +0 -135
  279. package/src/components/order-view/modalsPopup/qclogs/DefetcDetails.tsx +0 -97
  280. package/src/components/order-view/modalsPopup/qclogs/OtherDamage.tsx +0 -125
  281. package/src/components/order-view/modalsPopup/qclogs/RepackDetails.tsx +0 -118
  282. package/src/components/order-view/modalsPopup/qclogs/RepackProduct.tsx +0 -63
  283. package/src/components/order-view/modalsPopup/qclogs/index.tsx +0 -62
  284. package/src/components/order-view/modalsPopup/qclogs/logsTable.tsx +0 -74
  285. package/src/components/order-view/notes/logs/columns/Details.tsx +0 -56
  286. package/src/components/order-view/notes/logs/columns/index.tsx +0 -2
  287. package/src/components/order-view/notification/OrderTemplate.tsx +0 -108
  288. package/src/components/order-view/order-actions/actions/cancel-order/CancelOrderTable.tsx +0 -95
  289. package/src/components/order-view/order-actions/actions/cancel-order/CancelationNote.tsx +0 -28
  290. package/src/components/order-view/order-actions/actions/cancel-order/CancelationReason.tsx +0 -18
  291. package/src/components/order-view/order-actions/actions/charge-log/DeleteLogModal.tsx +0 -39
  292. package/src/components/order-view/order-actions/actions/charge-log/index.tsx +0 -171
  293. package/src/components/order-view/order-actions/actions/escalation/Dropdowns.tsx +0 -95
  294. package/src/components/order-view/order-actions/actions/escalation/EscalationModal.tsx +0 -28
  295. package/src/components/order-view/order-actions/actions/escalation/NewEscalation.tsx +0 -139
  296. package/src/components/order-view/order-actions/actions/escalation/Notes.tsx +0 -36
  297. package/src/components/order-view/order-actions/actions/escalation/index.tsx +0 -31
  298. package/src/components/order-view/order-actions/actions/escalation/upgrade/index.tsx +0 -198
  299. package/src/components/order-view/order-actions/actions/restore-products/RestoreProducts.tsx +0 -139
  300. package/src/components/order-view/order-actions/actions/update-product-type/UpdateProductType.tsx +0 -365
  301. package/src/components/order-view/order-actions/actions/update-product-type/UpdateProductTypeStyle.tsx +0 -251
  302. package/src/components/order-view/order-actions/hooks/useFetchSingleReminder.ts +0 -60
  303. package/src/components/order-view/order-actions/hooks/useUpdateReminder.ts +0 -54
  304. package/src/components/order-view/order-details/expanded-content/orders-section/ValueField.tsx +0 -36
  305. package/src/components/order-view/order-resources/columns/Id.tsx +0 -17
  306. package/src/components/order-view/products-info/expanded-content/productList.tsx +0 -28
  307. package/src/components/order-view/products-info/expanded-content/products/Badge.tsx +0 -34
  308. package/src/components/order-view/products-info/expanded-content/products/index.tsx +0 -305
  309. package/src/components/order-view/products-info/types.ts +0 -1
  310. package/src/components/order-view/products-info/utils.ts +0 -14
  311. package/src/components/order-view/return-client-products/product-table-footer/ProductDetailsFooter.tsx +0 -37
  312. package/src/components/order-view/toolbox-resources/collapsed-content/index.tsx +0 -16
  313. package/src/components/order-view/toolbox-resources/expanded-content/index.tsx +0 -84
  314. package/src/components/order-view/view-reminder/AssigneeDropdown.tsx +0 -34
  315. package/src/components/order-view/view-reminder/ViewReminder.tsx +0 -315
  316. package/src/components/order-view/view-reminder/reminder-styles.tsx +0 -173
@@ -1,16 +0,0 @@
1
- export const routeInfoInitialValue = {
2
- id: 0,
3
- depot_id: 0,
4
- tomtom_id: 0,
5
- route_name: '',
6
- action_date: '',
7
- assets: '',
8
- fuel_card_id: 0,
9
- total_weight: 0,
10
- total_cube: 0,
11
- contains_collection: false,
12
- contains_heavy_item: false,
13
- route_detail: [],
14
- route_crew_info: [],
15
- route_breaks: [],
16
- };
@@ -1,432 +0,0 @@
1
- export const data = [
2
- {
3
- date: '2024-05-28T10:00:00',
4
- customer_id: 1,
5
- customer_name: '[TEST] HSL',
6
- account_number: 'THSL001',
7
- debrief_ids: [1, 14],
8
- debrief_status: 2,
9
- has_sub_account: false,
10
- sub_accounts: [],
11
- total_orders: 2,
12
- total_items: 16,
13
- total_amount: 402.6,
14
- vat_rate: 20.0,
15
- vat_rate_amount: 80.52,
16
- notes: 'API Request',
17
- fuel_surcharge: 2.0,
18
- fuel_surcharge_amount: 8.05,
19
- discount: null,
20
- discount_amount: 0.0,
21
- name: 'Ace Casual Limited',
22
- grand_total: {
23
- customer_id: 1,
24
- customer_name: '[TEST] HSL',
25
- account_number: 'THSL001',
26
- total_amount: 402.6,
27
- discount: null,
28
- discount_amount: 0.0,
29
- fuel_surcharge: 2.0,
30
- fuel_surcharge_amount: 8.05,
31
- vat_rate: 20.0,
32
- vat_rate_amount: 80.52,
33
- notes: 'API Request',
34
- total_orders: 2,
35
- total_items: 16,
36
- total_products: 4,
37
- grand_total: 491.17,
38
- },
39
- },
40
- {
41
- date: '2024-05-28T10:00:00',
42
- customer_id: 2,
43
- customer_name: '[TEST] Hyder Int (DD)',
44
- account_number: null,
45
- debrief_ids: [13],
46
- debrief_status: 2,
47
- has_sub_account: false,
48
- sub_accounts: [],
49
- total_orders: 1,
50
- total_items: 1,
51
- total_amount: 112.6,
52
- vat_rate: 0.0,
53
- vat_rate_amount: 0.0,
54
- notes: 'API Request',
55
- fuel_surcharge: 0.0,
56
- fuel_surcharge_amount: 0.0,
57
- discount: 0.0,
58
- name: 'Appliance House Ltd',
59
-
60
- discount_amount: 0.0,
61
- grand_total: {
62
- customer_id: 2,
63
- customer_name: '[TEST] Hyder Int (DD)',
64
- account_number: null,
65
- total_amount: 112.6,
66
- discount: 0.0,
67
- discount_amount: 0.0,
68
- fuel_surcharge: 0.0,
69
- fuel_surcharge_amount: 0.0,
70
- vat_rate: 0.0,
71
- vat_rate_amount: 0.0,
72
- notes: 'API Request',
73
- total_orders: 1,
74
- total_items: 1,
75
- total_products: 2,
76
- grand_total: 112.6,
77
- },
78
- },
79
- {
80
- date: '2024-05-28T10:00:00',
81
- customer_id: 3,
82
- customer_name: '[TEST] Paul Davis Freight',
83
- account_number: 'TPDF001',
84
- debrief_ids: [2, 4, 15, 68, 64, 36, 80, 84],
85
- debrief_status: 2,
86
- has_sub_account: true,
87
- sub_accounts: [
88
- {
89
- customer_id: 4,
90
- customer_name: '[TEST] Designer Sofas',
91
- account_number: 'TDS/010',
92
- parent_id: 3,
93
- discount: null,
94
- discount_amount: 0.0,
95
- fuel_surcharge: 3.0,
96
- fuel_surcharge_amount: 0.0,
97
- vat_rate: 15.0,
98
- vat_rate_amount: 0.0,
99
- notes: 'API Request',
100
- total_amount: 137.6,
101
- total_orders: 2,
102
- total_products: 2,
103
- total_items: 2,
104
- },
105
- {
106
- customer_id: 238,
107
- customer_name: '[TEST] RicherSounds 1-Man',
108
- account_number: 'TRSA001',
109
- parent_id: 3,
110
- discount: null,
111
- discount_amount: 0.0,
112
- fuel_surcharge: 3.0,
113
- fuel_surcharge_amount: 0.0,
114
- vat_rate: 15.0,
115
- vat_rate_amount: 0.0,
116
- notes: 'API Request',
117
- total_amount: 0.0,
118
- total_orders: 0,
119
- total_products: 0,
120
- total_items: 0,
121
- },
122
- {
123
- customer_id: 419,
124
- customer_name: '[TEST] Wayfair Anton Rohr',
125
- account_number: null,
126
- parent_id: 3,
127
- discount: null,
128
- discount_amount: 0.0,
129
- fuel_surcharge: 3.0,
130
- fuel_surcharge_amount: 0.0,
131
- vat_rate: 15.0,
132
- vat_rate_amount: 0.0,
133
- notes: 'API Request',
134
- total_amount: 0.0,
135
- total_orders: 0,
136
- total_products: 0,
137
- total_items: 0,
138
- },
139
- ],
140
- total_orders: 6,
141
- total_items: 4,
142
- total_amount: 582.94,
143
- vat_rate: 15.0,
144
- vat_rate_amount: 87.44,
145
- notes: 'API Request',
146
- fuel_surcharge: 3.0,
147
- fuel_surcharge_amount: 17.49,
148
- discount: null,
149
- discount_amount: 0.0,
150
- name: 'Ace Casual Limited',
151
- grand_total: {
152
- customer_id: 3,
153
- customer_name: '[TEST] Paul Davis Freight',
154
- account_number: 'TPDF001',
155
- total_amount: 720.54,
156
- discount: null,
157
- discount_amount: 0.0,
158
- fuel_surcharge: 3.0,
159
- fuel_surcharge_amount: 21.62,
160
- vat_rate: 15.0,
161
- vat_rate_amount: 108.08,
162
- notes: 'API Request',
163
- total_orders: 8,
164
- total_items: 6,
165
- total_products: 10,
166
- grand_total: 850.24,
167
- },
168
- },
169
- {
170
- date: '2024-05-28T10:00:00',
171
- customer_id: 6,
172
- customer_name: '[TEST] PINE SOLUTIONS',
173
- account_number: 'TPIN006',
174
- debrief_ids: [5, 6, 12],
175
- debrief_status: 2,
176
- has_sub_account: true,
177
- total_orders: 2,
178
- total_items: 4,
179
- total_amount: 223.5,
180
- vat_rate: 0.0,
181
- vat_rate_amount: 0.0,
182
- notes: 'API Request',
183
- fuel_surcharge: 0.0,
184
- fuel_surcharge_amount: 0.0,
185
- discount: 0.0,
186
- discount_amount: 0.0,
187
- name: 'Ecolution international Group Ltd TA Esebike UK',
188
- grand_total: {
189
- customer_id: 6,
190
- customer_name: '[TEST] PINE SOLUTIONS',
191
- account_number: 'TPIN006',
192
- total_amount: 336.1,
193
- discount: 0.0,
194
- discount_amount: 0.0,
195
- fuel_surcharge: 0.0,
196
- fuel_surcharge_amount: 0.0,
197
- vat_rate: 0.0,
198
- vat_rate_amount: 0.0,
199
- notes: 'API Request',
200
- total_orders: 3,
201
- total_items: 5,
202
- total_products: 6,
203
- grand_total: 336.1,
204
- },
205
- },
206
- {
207
- date: '2024-05-28T10:00:00',
208
- customer_id: 6,
209
- customer_name: '[TEST] PINE SOLUTIONS',
210
- account_number: 'TPIN006',
211
- debrief_ids: [5, 6, 12],
212
- debrief_status: 2,
213
- has_sub_account: true,
214
- total_orders: 2,
215
- total_items: 4,
216
- total_amount: 223.5,
217
- vat_rate: 0.0,
218
- vat_rate_amount: 0.0,
219
- notes: 'API Request',
220
- fuel_surcharge: 0.0,
221
- fuel_surcharge_amount: 0.0,
222
- discount: 0.0,
223
- discount_amount: 0.0,
224
- name: 'Ecolution international Group Ltd TA Esebike UK',
225
- grand_total: {
226
- customer_id: 6,
227
- customer_name: '[TEST] PINE SOLUTIONS',
228
- account_number: 'TPIN006',
229
- total_amount: 336.1,
230
- discount: 0.0,
231
- discount_amount: 0.0,
232
- fuel_surcharge: 0.0,
233
- fuel_surcharge_amount: 0.0,
234
- vat_rate: 0.0,
235
- vat_rate_amount: 0.0,
236
- notes: 'API Request',
237
- total_orders: 3,
238
- total_items: 5,
239
- total_products: 6,
240
- grand_total: 336.1,
241
- },
242
- },
243
- {
244
- date: '2024-05-28T10:00:00',
245
- customer_id: 6,
246
- customer_name: '[TEST] PINE SOLUTIONS',
247
- account_number: 'TPIN006',
248
- debrief_ids: [5, 6, 12],
249
- debrief_status: 2,
250
- has_sub_account: true,
251
- total_orders: 2,
252
- total_items: 4,
253
- total_amount: 223.5,
254
- vat_rate: 0.0,
255
- vat_rate_amount: 0.0,
256
- notes: 'API Request',
257
- fuel_surcharge: 0.0,
258
- fuel_surcharge_amount: 0.0,
259
- discount: 0.0,
260
- discount_amount: 0.0,
261
- name: 'Ecolution international Group Ltd TA Esebike UK',
262
- grand_total: {
263
- customer_id: 6,
264
- customer_name: '[TEST] PINE SOLUTIONS',
265
- account_number: 'TPIN006',
266
- total_amount: 336.1,
267
- discount: 0.0,
268
- discount_amount: 0.0,
269
- fuel_surcharge: 0.0,
270
- fuel_surcharge_amount: 0.0,
271
- vat_rate: 0.0,
272
- vat_rate_amount: 0.0,
273
- notes: 'API Request',
274
- total_orders: 3,
275
- total_items: 5,
276
- total_products: 6,
277
- grand_total: 336.1,
278
- },
279
- },
280
- {
281
- date: '2024-05-28T10:00:00',
282
- customer_id: 1,
283
- customer_name: '[TEST] HSL',
284
- account_number: 'THSL001',
285
- debrief_ids: [1, 14],
286
- debrief_status: 2,
287
- has_sub_account: false,
288
- sub_accounts: [],
289
- total_orders: 2,
290
- total_items: 16,
291
- total_amount: 402.6,
292
- vat_rate: 20.0,
293
- vat_rate_amount: 80.52,
294
- notes: 'API Request',
295
- fuel_surcharge: 2.0,
296
- fuel_surcharge_amount: 8.05,
297
- discount: null,
298
- discount_amount: 0.0,
299
- name: 'Ace Casual Limited',
300
- grand_total: {
301
- customer_id: 1,
302
- customer_name: '[TEST] HSL',
303
- account_number: 'THSL001',
304
- total_amount: 402.6,
305
- discount: null,
306
- discount_amount: 0.0,
307
- fuel_surcharge: 2.0,
308
- fuel_surcharge_amount: 8.05,
309
- vat_rate: 20.0,
310
- vat_rate_amount: 80.52,
311
- notes: 'API Request',
312
- total_orders: 2,
313
- total_items: 16,
314
- total_products: 4,
315
- grand_total: 491.17,
316
- },
317
- },
318
- {
319
- date: '2024-05-28T10:00:00',
320
- customer_id: 1,
321
- customer_name: '[TEST] HSL',
322
- account_number: 'THSL001',
323
- debrief_ids: [1, 14],
324
- debrief_status: 2,
325
- has_sub_account: false,
326
- sub_accounts: [],
327
- total_orders: 2,
328
- total_items: 16,
329
- total_amount: 402.6,
330
- vat_rate: 20.0,
331
- vat_rate_amount: 80.52,
332
- notes: 'API Request',
333
- fuel_surcharge: 2.0,
334
- fuel_surcharge_amount: 8.05,
335
- discount: null,
336
- discount_amount: 0.0,
337
- name: 'Ace Casual Limited',
338
- grand_total: {
339
- customer_id: 1,
340
- customer_name: '[TEST] HSL',
341
- account_number: 'THSL001',
342
- total_amount: 402.6,
343
- discount: null,
344
- discount_amount: 0.0,
345
- fuel_surcharge: 2.0,
346
- fuel_surcharge_amount: 8.05,
347
- vat_rate: 20.0,
348
- vat_rate_amount: 80.52,
349
- notes: 'API Request',
350
- total_orders: 2,
351
- total_items: 16,
352
- total_products: 4,
353
- grand_total: 491.17,
354
- },
355
- },
356
- {
357
- date: '2024-05-28T10:00:00',
358
- customer_id: 1,
359
- customer_name: '[TEST] HSL',
360
- account_number: 'THSL001',
361
- debrief_ids: [1, 14],
362
- debrief_status: 2,
363
- has_sub_account: false,
364
- sub_accounts: [],
365
- total_orders: 2,
366
- total_items: 16,
367
- total_amount: 402.6,
368
- vat_rate: 20.0,
369
- vat_rate_amount: 80.52,
370
- notes: 'API Request',
371
- fuel_surcharge: 2.0,
372
- fuel_surcharge_amount: 8.05,
373
- discount: null,
374
- discount_amount: 0.0,
375
- name: 'Ace Casual Limited',
376
- grand_total: {
377
- customer_id: 1,
378
- customer_name: '[TEST] HSL',
379
- account_number: 'THSL001',
380
- total_amount: 402.6,
381
- discount: null,
382
- discount_amount: 0.0,
383
- fuel_surcharge: 2.0,
384
- fuel_surcharge_amount: 8.05,
385
- vat_rate: 20.0,
386
- vat_rate_amount: 80.52,
387
- notes: 'API Request',
388
- total_orders: 2,
389
- total_items: 16,
390
- total_products: 4,
391
- grand_total: 491.17,
392
- },
393
- },
394
- {
395
- date: '2024-05-28T10:00:00',
396
- customer_id: 1,
397
- customer_name: '[TEST] HSL',
398
- account_number: 'THSL001',
399
- debrief_ids: [1, 14],
400
- debrief_status: 2,
401
- has_sub_account: false,
402
- sub_accounts: [],
403
- total_orders: 2,
404
- total_items: 16,
405
- total_amount: 402.6,
406
- vat_rate: 20.0,
407
- vat_rate_amount: 80.52,
408
- notes: 'API Request',
409
- fuel_surcharge: 2.0,
410
- fuel_surcharge_amount: 8.05,
411
- discount: null,
412
- discount_amount: 0.0,
413
- name: 'Ace Casual Limited',
414
- grand_total: {
415
- customer_id: 1,
416
- customer_name: '[TEST] HSL',
417
- account_number: 'THSL001',
418
- total_amount: 402.6,
419
- discount: null,
420
- discount_amount: 0.0,
421
- fuel_surcharge: 2.0,
422
- fuel_surcharge_amount: 8.05,
423
- vat_rate: 20.0,
424
- vat_rate_amount: 80.52,
425
- notes: 'API Request',
426
- total_orders: 2,
427
- total_items: 16,
428
- total_products: 4,
429
- grand_total: 491.17,
430
- },
431
- },
432
- ];
@@ -1,81 +0,0 @@
1
- import React from 'react';
2
- import {
3
- CustomCheckBox,
4
- TableSkelton,
5
- } from './order-actions/actions/update-product-type/UpdateProductTypeStyle';
6
- import styled from 'styled-components';
7
-
8
- interface ProductDataProps {
9
- products: { id: number; name: string; parts: string; selected: boolean }[];
10
- handleCheckboxChange: (productId: number, isChecked: boolean) => void;
11
- handleRestore: () => void; // New prop to handle restore action
12
- showNoRecords: any;
13
- }
14
-
15
- const ProductData: React.FC<ProductDataProps> = ({
16
- products,
17
- handleCheckboxChange,
18
- }) => {
19
- const handleInputChange = (productId: number, isChecked: boolean) => {
20
- handleCheckboxChange(productId, isChecked);
21
- };
22
-
23
- return (
24
- <Table>
25
- {products.length > 0 ? (
26
- <table>
27
- <thead>
28
- <tr>
29
- <th>Select</th>
30
- <th>ID</th>
31
- <th>Name</th>
32
- <th>Parts</th>
33
- </tr>
34
- </thead>
35
- <tbody>
36
- {products.map(product => (
37
- <tr key={product.id}>
38
- <td>
39
- <CustomCheckBox>
40
- <label className="container">
41
- <input
42
- type="checkbox"
43
- checked={product.selected}
44
- onChange={e =>
45
- handleInputChange(product.id, e.target.checked)
46
- }
47
- />
48
- <span className="checkmark"></span>
49
- </label>
50
- </CustomCheckBox>
51
- </td>
52
- <td>{product.id}</td>
53
- <td>{product.name}</td>
54
- <td>{product.parts}</td>
55
- </tr>
56
- ))}
57
- </tbody>
58
- </table>
59
- ) : (
60
- <NoProductsMessage>NO PRODUCTS TO RESTORE</NoProductsMessage>
61
- )}
62
- </Table>
63
- );
64
- };
65
-
66
- const Table = styled(TableSkelton)`
67
- overflow: scroll;
68
- scrollbar-width: none;
69
- height: 35vh;
70
- width: 50vw;
71
- padding: 5px;
72
- `;
73
-
74
- const NoProductsMessage = styled.div`
75
- text-align: center;
76
- font-size: 18px;
77
- padding: 20px;
78
- color: #888;
79
- `;
80
-
81
- export default ProductData;
@@ -1,33 +0,0 @@
1
- import React from 'react';
2
- import styled from 'styled-components';
3
-
4
- interface DropDownItemProps {
5
- label: string;
6
- icon: React.ReactNode;
7
- onClick?: () => void;
8
- }
9
-
10
- const DropDownItem: React.FC<DropDownItemProps> = ({
11
- label,
12
- icon,
13
- onClick,
14
- }) => {
15
- return (
16
- <Flex onClick={onClick}>
17
- <label>{label}</label>
18
- {icon}
19
- </Flex>
20
- );
21
- };
22
- const Flex = styled.div`
23
- align-items: center;
24
- display: flex;
25
- position: relative;
26
- label {
27
- color: #3a3630;
28
- font-size: 14px;
29
- line-height: 18px;
30
- cursor: pointer;
31
- }
32
- `;
33
- export default DropDownItem;
@@ -1,42 +0,0 @@
1
- import React from 'react';
2
- import styled from 'styled-components';
3
- import DropDownItem from './DropDownItem';
4
-
5
- interface DropDownMenuProps {
6
- options: { label: string; value: string }[];
7
- onSelect: (value: string) => void;
8
- }
9
-
10
- const DropDownMenu: React.FC<DropDownMenuProps> = ({ options, onSelect }) => {
11
- return (
12
- <DropDownContent>
13
- {options.map(option => (
14
- <DropDownItem
15
- key={option.value}
16
- label={option.label}
17
- icon={''}
18
- onClick={() => onSelect(option.value)}
19
- />
20
- ))}
21
- </DropDownContent>
22
- );
23
- };
24
-
25
- export default DropDownMenu;
26
-
27
- const DropDownContent = styled.div`
28
- display: flex;
29
- width: 173px;
30
- position: absolute;
31
- flex-direction: column;
32
- align-items: flex-start;
33
- gap: 7px;
34
- padding-left: 28px;
35
- top: 46px;
36
- background-color: white;
37
- border: 1px solid #ddd;
38
- box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
39
- z-index: 1;
40
- border-radius: 10px;
41
- padding: 8px 8px 10px 16px;
42
- `;
@@ -1,25 +0,0 @@
1
- import styled from 'styled-components';
2
-
3
- export const DropDownContainer = styled.div`
4
- display: flex;
5
- align-items: center;
6
- justify-content: center;
7
- gap: 20px;
8
- border-right: 1px solid #d0d5dd;
9
- padding: 4px;
10
- @media screen and (max-width: 1220px) {
11
- font-size: 12px;
12
- }
13
- `;
14
- export const DropDownContent = styled.div`
15
- display: flex;
16
- flex-direction: column;
17
- position: absolute;
18
- top: 100%;
19
- left: 0;
20
- background-color: white;
21
- border: 1px solid #ddd;
22
- box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
23
- z-index: 1;
24
- width: 100%;
25
- `;