@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.
- package/dist/components/order-daily-overview/common/interface.d.ts +0 -80
- package/dist/components/order-view/hooks/AddResources.d.ts +2 -0
- package/dist/components/order-view/notes/logs/helper.d.ts +1 -2
- package/dist/components/order-view/notification/ReminderTemplate.d.ts +1 -1
- package/dist/components/order-view/notification/Tabs.d.ts +1 -1
- package/dist/components/order-view/order-actions/actions/add-resources/DocFileUpload.d.ts +3 -0
- package/dist/components/order-view/order-actions/actions/clear-booking-status/ClearBookingStatus.d.ts +3 -0
- package/dist/components/order-view/order-actions/actions/create-task-reminder/TaskModal.d.ts +4 -0
- package/dist/components/order-view/order-actions/actions/remove-from-route/RemoveFromRoute.d.ts +3 -0
- package/dist/components/order-view/order-actions/store.d.ts +15 -0
- package/dist/components/order-view/order-resources/columns/actions/index.d.ts +12 -2
- package/dist/components/order-view/order-resources/columns/index.d.ts +1 -0
- package/dist/components/order-view/order-resources/helper.d.ts +2 -2
- package/dist/components/order-view/store.d.ts +1 -1
- package/dist/components/order-view/types.d.ts +2 -1
- package/dist/components/store.d.ts +3 -1
- package/dist/dms-client-return.cjs.development.js +2874 -2078
- package/dist/dms-client-return.cjs.development.js.map +1 -1
- package/dist/dms-client-return.cjs.production.min.js +1 -1
- package/dist/dms-client-return.cjs.production.min.js.map +1 -1
- package/dist/dms-client-return.esm.js +2894 -2098
- package/dist/dms-client-return.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/components/order-daily-overview/common/interface.ts +0 -85
- package/src/components/order-daily-overview/filters/Filters.tsx +0 -56
- package/src/components/order-daily-overview/header/input/dropdown/index.tsx +0 -1
- package/src/components/order-daily-overview/header/route-header/RouterHeader.tsx +1 -35
- package/src/components/order-daily-overview/header/table-filter/TableFilter.tsx +3 -4
- package/src/components/order-daily-overview/header-filters/HeaderFilter.tsx +0 -65
- package/src/components/order-daily-overview/return-after-table/table-filters/TableFilters.tsx +1 -106
- package/src/components/order-daily-overview/return-order-table/return-orders-filters/returnstyles.ts +1 -1
- package/src/components/order-daily-overview/store/store.ts +0 -13
- package/src/components/order-view/details-filters/left-side-filters/ActionsMenu.tsx +0 -2
- package/src/components/order-view/details-filters/left-side-filters/actions/Actions.tsx +0 -13
- package/src/components/order-view/fakedata.ts +14 -5
- package/src/components/order-view/hooks/AddResources.tsx +54 -0
- package/src/components/order-view/index.tsx +26 -1
- package/src/components/order-view/notes/order-dropdown/NewReturnDropdown.tsx +17 -4
- package/src/components/order-view/notification/FlagTemplate.tsx +1 -1
- package/src/components/order-view/notification/ReminderTemplate.tsx +10 -11
- package/src/components/order-view/notification/Tabs.tsx +24 -6
- package/src/components/order-view/notification/index.tsx +47 -13
- package/src/components/order-view/order-actions/actions/add-resources/CategoryDropdown.tsx +24 -9
- package/src/components/order-view/order-actions/actions/add-resources/DocFileUpload.tsx +141 -49
- package/src/components/order-view/order-actions/actions/add-resources/DocumentTypeDropdown.tsx +28 -5
- package/src/components/order-view/order-actions/actions/add-resources/Visibility.tsx +31 -14
- package/src/components/order-view/order-actions/actions/add-resources/index.tsx +99 -11
- package/src/components/order-view/order-actions/actions/cancel-order/index.tsx +0 -4
- package/src/components/order-view/order-actions/actions/clear-booking-status/ClearBookingStatus.tsx +113 -0
- package/src/components/order-view/order-actions/actions/create-task-reminder/CreateReminderModal.tsx +3 -0
- package/src/components/order-view/order-actions/actions/create-task-reminder/CreateTaskModal.tsx +3 -3
- package/src/components/order-view/order-actions/actions/create-task-reminder/TaskModal.tsx +149 -0
- package/src/components/order-view/order-actions/actions/remove-from-route/RemoveFromRoute.tsx +91 -0
- package/src/components/order-view/order-actions/hooks/useCreateReminder.ts +0 -5
- package/src/components/order-view/order-actions/index.tsx +10 -9
- package/src/components/order-view/order-actions/store.ts +7 -2
- package/src/components/order-view/order-details/expanded-content/orders-section/Carrier.tsx +29 -10
- package/src/components/order-view/order-details/expanded-content/orders-section/index.tsx +0 -3
- package/src/components/order-view/order-resources/collapsed-content/index.tsx +2 -2
- package/src/components/order-view/order-resources/columns/Date.tsx +2 -1
- package/src/components/order-view/order-resources/columns/actions/index.tsx +133 -5
- package/src/components/order-view/order-resources/columns/index.tsx +1 -0
- package/src/components/order-view/order-resources/expanded-content/index.tsx +11 -11
- package/src/components/order-view/order-resources/helper.ts +7 -1
- package/src/components/order-view/return-client-products/product-table/ReturnProductTable.tsx +16 -4
- package/src/components/order-view/store.ts +5 -10
- package/src/components/order-view/system-event-logs/columns/index.tsx +0 -1
- package/src/components/order-view/types.ts +6 -3
- package/src/components/order-view/utils.ts +17 -1
- package/src/components/store.ts +13 -1
- package/dist/assets/PostCodeIcon.d.ts +0 -3
- package/dist/assets/icons/ArrivalIcon.d.ts +0 -3
- package/dist/assets/icons/ArrowIcon.d.ts +0 -3
- package/dist/assets/icons/AssemblyIcons.d.ts +0 -3
- package/dist/assets/icons/BarCode.d.ts +0 -3
- package/dist/assets/icons/BoxIcon.d.ts +0 -3
- package/dist/assets/icons/BoxTickIcon.d.ts +0 -3
- package/dist/assets/icons/CallIcon.d.ts +0 -3
- package/dist/assets/icons/CarIcon.d.ts +0 -3
- package/dist/assets/icons/CardsIcon.d.ts +0 -3
- package/dist/assets/icons/CbmIcon.d.ts +0 -3
- package/dist/assets/icons/ClockIcon.d.ts +0 -3
- package/dist/assets/icons/Complete.d.ts +0 -3
- package/dist/assets/icons/CompleteIcon.d.ts +0 -3
- package/dist/assets/icons/CompletedIcon.d.ts +0 -3
- package/dist/assets/icons/DeleteIcon.d.ts +0 -3
- package/dist/assets/icons/DownArrowIcon.d.ts +0 -3
- package/dist/assets/icons/DownloadIcon.d.ts +0 -3
- package/dist/assets/icons/DriverIcon.d.ts +0 -3
- package/dist/assets/icons/DropDownLarge.d.ts +0 -3
- package/dist/assets/icons/EditIcon.d.ts +0 -3
- package/dist/assets/icons/ExportIcon.d.ts +0 -3
- package/dist/assets/icons/EyeIcon.d.ts +0 -3
- package/dist/assets/icons/FailedIcon.d.ts +0 -3
- package/dist/assets/icons/HeavyItemIcon.d.ts +0 -3
- package/dist/assets/icons/InComplete.d.ts +0 -3
- package/dist/assets/icons/LargeItemIcon.d.ts +0 -3
- package/dist/assets/icons/LateIcon.d.ts +0 -3
- package/dist/assets/icons/LineIcon.d.ts +0 -3
- package/dist/assets/icons/LockIcon.d.ts +0 -3
- package/dist/assets/icons/MapIcon.d.ts +0 -3
- package/dist/assets/icons/OctaIcon.d.ts +0 -3
- package/dist/assets/icons/OntimeTrackingIcons.d.ts +0 -3
- package/dist/assets/icons/PaperIcon.d.ts +0 -3
- package/dist/assets/icons/PendingIcon.d.ts +0 -3
- package/dist/assets/icons/PersonIcon.d.ts +0 -3
- package/dist/assets/icons/PointIcon.d.ts +0 -3
- package/dist/assets/icons/PrintIcon.d.ts +0 -3
- package/dist/assets/icons/PrivateIcon.d.ts +0 -3
- package/dist/assets/icons/RecipientIcon.d.ts +0 -3
- package/dist/assets/icons/ReminderIcon.d.ts +0 -3
- package/dist/assets/icons/RightArrowIcon.d.ts +0 -3
- package/dist/assets/icons/RoundCheckbox.d.ts +0 -3
- package/dist/assets/icons/StartIcon.d.ts +0 -3
- package/dist/assets/icons/TableIcon.d.ts +0 -3
- package/dist/assets/icons/TextIcon.d.ts +0 -3
- package/dist/assets/icons/ThreeIcon.d.ts +0 -3
- package/dist/assets/icons/TickIon.d.ts +0 -3
- package/dist/assets/icons/TomtomIcon.d.ts +0 -3
- package/dist/assets/icons/TotalOrderIcon.d.ts +0 -3
- package/dist/assets/icons/TrackIcon.d.ts +0 -3
- package/dist/assets/icons/TruckIcon.d.ts +0 -3
- package/dist/assets/icons/UnlockIcon.d.ts +0 -3
- package/dist/assets/icons/UserIcon.d.ts +0 -3
- package/dist/assets/icons/VehicleIcon.d.ts +0 -3
- package/dist/assets/icons/WeightIcon.d.ts +0 -3
- package/dist/assets/icons/ZigZagIcon.d.ts +0 -3
- package/dist/components/order-daily-overview/common/PrintDropDown.d.ts +0 -8
- package/dist/components/order-daily-overview/common/css/TableStyle.d.ts +0 -21
- package/dist/components/order-daily-overview/common/css/mediaQuery.d.ts +0 -4
- package/dist/components/order-daily-overview/store/filterStore.d.ts +0 -16
- package/dist/components/order-daily-overview/store/initialValues.d.ts +0 -16
- package/dist/components/order-daily-overview/table/table-data/Fakedata.d.ts +0 -144
- package/dist/components/order-view/ProductData.d.ts +0 -14
- package/dist/components/order-view/details-filters/left-side-filters/dropdowns/DropDownItem.d.ts +0 -8
- package/dist/components/order-view/details-filters/left-side-filters/dropdowns/DropDownMenu.d.ts +0 -10
- package/dist/components/order-view/details-filters/left-side-filters/dropdowns/DropdownStyles.d.ts +0 -3
- package/dist/components/order-view/general-information/LockOrder.d.ts +0 -4
- package/dist/components/order-view/general-information/dropdowns/BjsMenu.d.ts +0 -3
- package/dist/components/order-view/general-information/dropdowns/CreateTask.d.ts +0 -3
- package/dist/components/order-view/general-information/dropdowns/SendEmail.d.ts +0 -3
- package/dist/components/order-view/general-information/dropdowns/SendSms.d.ts +0 -3
- package/dist/components/order-view/general-information/dropdowns/Tasks.d.ts +0 -3
- package/dist/components/order-view/general-information/dropdowns/Videos.d.ts +0 -3
- package/dist/components/order-view/general-information/dropdowns/ViewEpod.d.ts +0 -3
- package/dist/components/order-view/general-information/dropdowns/helper.d.ts +0 -1
- package/dist/components/order-view/general-information/dropdowns/index.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/AddProduct.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/BulkUpdateProduct.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/DeleteProduct.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/ProductAction.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/RepackModal.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/UnReceiveProduct.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/UpdateProducts.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/qclogs/AddDefect.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/qclogs/DefetcDetails.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/qclogs/OtherDamage.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/qclogs/RepackDetails.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/qclogs/RepackProduct.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/qclogs/index.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/qclogs/logsTable.d.ts +0 -3
- package/dist/components/order-view/notes/logs/columns/Details.d.ts +0 -3
- package/dist/components/order-view/notes/logs/columns/index.d.ts +0 -2
- package/dist/components/order-view/notification/OrderTemplate.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/cancel-order/CancelOrderTable.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/cancel-order/CancelationNote.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/cancel-order/CancelationReason.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/charge-log/DeleteLogModal.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/charge-log/index.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/escalation/Dropdowns.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/escalation/EscalationModal.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/escalation/NewEscalation.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/escalation/Notes.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/escalation/index.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/escalation/upgrade/index.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/restore-products/RestoreProducts.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/update-product-type/UpdateProductType.d.ts +0 -7
- package/dist/components/order-view/order-actions/actions/update-product-type/UpdateProductTypeStyle.d.ts +0 -9
- package/dist/components/order-view/order-actions/hooks/useFetchSingleReminder.d.ts +0 -2
- package/dist/components/order-view/order-actions/hooks/useUpdateReminder.d.ts +0 -3
- package/dist/components/order-view/order-details/expanded-content/orders-section/ValueField.d.ts +0 -3
- package/dist/components/order-view/order-resources/columns/Id.d.ts +0 -3
- package/dist/components/order-view/products-info/expanded-content/productList.d.ts +0 -0
- package/dist/components/order-view/products-info/expanded-content/products/Badge.d.ts +0 -6
- package/dist/components/order-view/products-info/expanded-content/products/index.d.ts +0 -7
- package/dist/components/order-view/products-info/types.d.ts +0 -1
- package/dist/components/order-view/products-info/utils.d.ts +0 -2
- package/dist/components/order-view/return-client-products/product-table-footer/ProductDetailsFooter.d.ts +0 -3
- package/dist/components/order-view/toolbox-resources/collapsed-content/index.d.ts +0 -3
- package/dist/components/order-view/toolbox-resources/expanded-content/index.d.ts +0 -3
- package/dist/components/order-view/view-reminder/AssigneeDropdown.d.ts +0 -3
- package/dist/components/order-view/view-reminder/ViewReminder.d.ts +0 -3
- package/dist/components/order-view/view-reminder/reminder-styles.d.ts +0 -25
- package/src/assets/PostCodeIcon.tsx +0 -32
- package/src/assets/icons/ArrivalIcon.tsx +0 -11
- package/src/assets/icons/ArrowIcon.tsx +0 -11
- package/src/assets/icons/AssemblyIcons.tsx +0 -11
- package/src/assets/icons/BarCode.tsx +0 -11
- package/src/assets/icons/BoxIcon.tsx +0 -19
- package/src/assets/icons/BoxTickIcon.tsx +0 -19
- package/src/assets/icons/CallIcon.tsx +0 -9
- package/src/assets/icons/CarIcon.tsx +0 -10
- package/src/assets/icons/CardsIcon.tsx +0 -12
- package/src/assets/icons/CbmIcon.tsx +0 -11
- package/src/assets/icons/ClockIcon.tsx +0 -10
- package/src/assets/icons/Complete.tsx +0 -15
- package/src/assets/icons/CompleteIcon.tsx +0 -34
- package/src/assets/icons/CompletedIcon.tsx +0 -11
- package/src/assets/icons/DeleteIcon.tsx +0 -20
- package/src/assets/icons/DownArrowIcon.tsx +0 -18
- package/src/assets/icons/DownloadIcon.tsx +0 -26
- package/src/assets/icons/DriverIcon.tsx +0 -28
- package/src/assets/icons/DropDownLarge.tsx +0 -25
- package/src/assets/icons/EditIcon.tsx +0 -34
- package/src/assets/icons/ExportIcon.tsx +0 -14
- package/src/assets/icons/EyeIcon.tsx +0 -10
- package/src/assets/icons/FailedIcon.tsx +0 -44
- package/src/assets/icons/HeavyItemIcon.tsx +0 -36
- package/src/assets/icons/InComplete.tsx +0 -15
- package/src/assets/icons/LargeItemIcon.tsx +0 -60
- package/src/assets/icons/LateIcon.tsx +0 -12
- package/src/assets/icons/LineIcon.tsx +0 -10
- package/src/assets/icons/LockIcon.tsx +0 -35
- package/src/assets/icons/MapIcon.tsx +0 -11
- package/src/assets/icons/OctaIcon.tsx +0 -10
- package/src/assets/icons/OntimeTrackingIcons.tsx +0 -19
- package/src/assets/icons/PaperIcon.tsx +0 -10
- package/src/assets/icons/PendingIcon.tsx +0 -32
- package/src/assets/icons/PersonIcon.tsx +0 -27
- package/src/assets/icons/PointIcon.tsx +0 -10
- package/src/assets/icons/PrintIcon.tsx +0 -10
- package/src/assets/icons/PrivateIcon.tsx +0 -29
- package/src/assets/icons/RecipientIcon.tsx +0 -10
- package/src/assets/icons/ReminderIcon.tsx +0 -35
- package/src/assets/icons/RightArrowIcon.tsx +0 -15
- package/src/assets/icons/RoundCheckbox.tsx +0 -11
- package/src/assets/icons/StartIcon.tsx +0 -10
- package/src/assets/icons/TableIcon.tsx +0 -12
- package/src/assets/icons/TextIcon.tsx +0 -10
- package/src/assets/icons/ThreeIcon.tsx +0 -19
- package/src/assets/icons/TickIon.tsx +0 -10
- package/src/assets/icons/TomtomIcon.tsx +0 -23
- package/src/assets/icons/TotalOrderIcon.tsx +0 -12
- package/src/assets/icons/TrackIcon.tsx +0 -12
- package/src/assets/icons/TruckIcon.tsx +0 -20
- package/src/assets/icons/UnlockIcon.tsx +0 -35
- package/src/assets/icons/UserIcon.tsx +0 -10
- package/src/assets/icons/VehicleIcon.tsx +0 -11
- package/src/assets/icons/WeightIcon.tsx +0 -11
- package/src/assets/icons/ZigZagIcon.tsx +0 -10
- package/src/components/order-daily-overview/common/PrintDropDown.tsx +0 -100
- package/src/components/order-daily-overview/common/css/TableStyle.tsx +0 -202
- package/src/components/order-daily-overview/common/css/mediaQuery.ts +0 -13
- package/src/components/order-daily-overview/store/filterStore.ts +0 -100
- package/src/components/order-daily-overview/store/initialValues.ts +0 -16
- package/src/components/order-daily-overview/table/table-data/Fakedata.tsx +0 -432
- package/src/components/order-view/ProductData.tsx +0 -81
- package/src/components/order-view/details-filters/left-side-filters/dropdowns/DropDownItem.tsx +0 -33
- package/src/components/order-view/details-filters/left-side-filters/dropdowns/DropDownMenu.tsx +0 -42
- package/src/components/order-view/details-filters/left-side-filters/dropdowns/DropdownStyles.tsx +0 -25
- package/src/components/order-view/general-information/LockOrder.tsx +0 -113
- package/src/components/order-view/general-information/dropdowns/BjsMenu.tsx +0 -66
- package/src/components/order-view/general-information/dropdowns/CreateTask.tsx +0 -34
- package/src/components/order-view/general-information/dropdowns/SendEmail.tsx +0 -14
- package/src/components/order-view/general-information/dropdowns/SendSms.tsx +0 -14
- package/src/components/order-view/general-information/dropdowns/Tasks.tsx +0 -8
- package/src/components/order-view/general-information/dropdowns/Videos.tsx +0 -8
- package/src/components/order-view/general-information/dropdowns/ViewEpod.tsx +0 -8
- package/src/components/order-view/general-information/dropdowns/helper.tsx +0 -17
- package/src/components/order-view/general-information/dropdowns/index.tsx +0 -46
- package/src/components/order-view/modalsPopup/AddProduct.tsx +0 -234
- package/src/components/order-view/modalsPopup/BulkUpdateProduct.tsx +0 -145
- package/src/components/order-view/modalsPopup/DeleteProduct.tsx +0 -117
- package/src/components/order-view/modalsPopup/ProductAction.tsx +0 -79
- package/src/components/order-view/modalsPopup/RepackModal.tsx +0 -42
- package/src/components/order-view/modalsPopup/UnReceiveProduct.tsx +0 -72
- package/src/components/order-view/modalsPopup/UpdateProducts.tsx +0 -145
- package/src/components/order-view/modalsPopup/qclogs/AddDefect.tsx +0 -135
- package/src/components/order-view/modalsPopup/qclogs/DefetcDetails.tsx +0 -97
- package/src/components/order-view/modalsPopup/qclogs/OtherDamage.tsx +0 -125
- package/src/components/order-view/modalsPopup/qclogs/RepackDetails.tsx +0 -118
- package/src/components/order-view/modalsPopup/qclogs/RepackProduct.tsx +0 -63
- package/src/components/order-view/modalsPopup/qclogs/index.tsx +0 -62
- package/src/components/order-view/modalsPopup/qclogs/logsTable.tsx +0 -74
- package/src/components/order-view/notes/logs/columns/Details.tsx +0 -56
- package/src/components/order-view/notes/logs/columns/index.tsx +0 -2
- package/src/components/order-view/notification/OrderTemplate.tsx +0 -108
- package/src/components/order-view/order-actions/actions/cancel-order/CancelOrderTable.tsx +0 -95
- package/src/components/order-view/order-actions/actions/cancel-order/CancelationNote.tsx +0 -28
- package/src/components/order-view/order-actions/actions/cancel-order/CancelationReason.tsx +0 -18
- package/src/components/order-view/order-actions/actions/charge-log/DeleteLogModal.tsx +0 -39
- package/src/components/order-view/order-actions/actions/charge-log/index.tsx +0 -171
- package/src/components/order-view/order-actions/actions/escalation/Dropdowns.tsx +0 -95
- package/src/components/order-view/order-actions/actions/escalation/EscalationModal.tsx +0 -28
- package/src/components/order-view/order-actions/actions/escalation/NewEscalation.tsx +0 -139
- package/src/components/order-view/order-actions/actions/escalation/Notes.tsx +0 -36
- package/src/components/order-view/order-actions/actions/escalation/index.tsx +0 -31
- package/src/components/order-view/order-actions/actions/escalation/upgrade/index.tsx +0 -198
- package/src/components/order-view/order-actions/actions/restore-products/RestoreProducts.tsx +0 -139
- package/src/components/order-view/order-actions/actions/update-product-type/UpdateProductType.tsx +0 -365
- package/src/components/order-view/order-actions/actions/update-product-type/UpdateProductTypeStyle.tsx +0 -251
- package/src/components/order-view/order-actions/hooks/useFetchSingleReminder.ts +0 -60
- package/src/components/order-view/order-actions/hooks/useUpdateReminder.ts +0 -54
- package/src/components/order-view/order-details/expanded-content/orders-section/ValueField.tsx +0 -36
- package/src/components/order-view/order-resources/columns/Id.tsx +0 -17
- package/src/components/order-view/products-info/expanded-content/productList.tsx +0 -28
- package/src/components/order-view/products-info/expanded-content/products/Badge.tsx +0 -34
- package/src/components/order-view/products-info/expanded-content/products/index.tsx +0 -305
- package/src/components/order-view/products-info/types.ts +0 -1
- package/src/components/order-view/products-info/utils.ts +0 -14
- package/src/components/order-view/return-client-products/product-table-footer/ProductDetailsFooter.tsx +0 -37
- package/src/components/order-view/toolbox-resources/collapsed-content/index.tsx +0 -16
- package/src/components/order-view/toolbox-resources/expanded-content/index.tsx +0 -84
- package/src/components/order-view/view-reminder/AssigneeDropdown.tsx +0 -34
- package/src/components/order-view/view-reminder/ViewReminder.tsx +0 -315
- package/src/components/order-view/view-reminder/reminder-styles.tsx +0 -173
|
@@ -1,22 +1,41 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Label, SelectDropdown } from '@bjsdistribution/dms-component-library';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import styled from 'styled-components';
|
|
4
|
-
import
|
|
4
|
+
import { useOrderDetails } from '../../../store';
|
|
5
|
+
import { useSubContracterData } from '../../../../store';
|
|
5
6
|
|
|
6
7
|
function Carrier() {
|
|
7
|
-
|
|
8
|
+
const [orderDetails, setOrderDetails] = useOrderDetails();
|
|
9
|
+
const [subContracterData] = useSubContracterData();
|
|
10
|
+
|
|
11
|
+
const carrierOptions = subContracterData?.map((carrier: any) => ({
|
|
12
|
+
label: carrier.name,
|
|
13
|
+
value: carrier.id,
|
|
14
|
+
}));
|
|
15
|
+
|
|
16
|
+
const onChange = (selectedOption: any) => {
|
|
17
|
+
setOrderDetails(prev => ({
|
|
18
|
+
...prev,
|
|
19
|
+
carrier_id: selectedOption.value,
|
|
20
|
+
}));
|
|
21
|
+
};
|
|
22
|
+
|
|
8
23
|
return (
|
|
9
24
|
<Container>
|
|
10
25
|
<Wrapper>
|
|
11
26
|
<Label label="Carrier" htmlFor="carrier" />
|
|
12
|
-
<CopyText text="hello234e" />
|
|
13
27
|
</Wrapper>
|
|
14
|
-
<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
28
|
+
<SelectDropdown
|
|
29
|
+
placeholder="Select Carrier"
|
|
30
|
+
inputId="CarrierDropdown"
|
|
31
|
+
openMenuOnFocus={false}
|
|
32
|
+
value={
|
|
33
|
+
carrierOptions.find(
|
|
34
|
+
(option: any) => option.value === orderDetails?.carrier_id
|
|
35
|
+
) || null
|
|
36
|
+
}
|
|
37
|
+
options={carrierOptions}
|
|
38
|
+
onChange={onChange}
|
|
20
39
|
/>
|
|
21
40
|
</Container>
|
|
22
41
|
);
|
|
@@ -2,11 +2,9 @@ import { FormSection } from '@bjsdistribution/dms-component-library';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import styled from 'styled-components';
|
|
4
4
|
import Header from '../../common/Header';
|
|
5
|
-
// import OrderNumber from './OrderNumber';
|
|
6
5
|
import ConsignmentNumber from './ConsignmentNumber';
|
|
7
6
|
import RecipientReference from './RecipientReference';
|
|
8
7
|
import DepotDropdown from './Depot';
|
|
9
|
-
// import ValueField from './ValueField';
|
|
10
8
|
import Droptime from './Droptime';
|
|
11
9
|
import DeliveryDate from './DeliveryDate';
|
|
12
10
|
import Carrier from './Carrier';
|
|
@@ -32,7 +30,6 @@ function OrdersSection() {
|
|
|
32
30
|
<ScheduleAfter />
|
|
33
31
|
</GroupedInputs>
|
|
34
32
|
<GroupedInputs>
|
|
35
|
-
{/* <ValueField OrdersSection={ Data}/> */}
|
|
36
33
|
<Droptime />
|
|
37
34
|
</GroupedInputs>
|
|
38
35
|
<GroupedInputs>
|
|
@@ -2,13 +2,13 @@ import React from 'react';
|
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
|
|
4
4
|
function CollapsedContent() {
|
|
5
|
-
return <Font>
|
|
5
|
+
return <Font>ORDER RESOURCES</Font>;
|
|
6
6
|
}
|
|
7
7
|
const Font = styled.div`
|
|
8
8
|
font-family: 'Roboto', sans-serif;
|
|
9
9
|
font-size: 16px;
|
|
10
10
|
font-style: normal;
|
|
11
11
|
font-weight: 500;
|
|
12
|
-
line-height:
|
|
12
|
+
line-height: 24px; /* 150% */
|
|
13
13
|
`;
|
|
14
14
|
export default CollapsedContent;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
|
+
import { formatDate } from '../../order-actions/utils';
|
|
3
4
|
|
|
4
5
|
function Date(props: any) {
|
|
5
6
|
const data = props?.row?.original.date;
|
|
6
7
|
return (
|
|
7
8
|
<RowContainer>
|
|
8
|
-
<Row>{data}</Row>
|
|
9
|
+
<Row>{formatDate(data)}</Row>
|
|
9
10
|
</RowContainer>
|
|
10
11
|
);
|
|
11
12
|
}
|
|
@@ -1,12 +1,140 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ViewIcon } from '@bjsdistribution/dms-component-library';
|
|
2
|
+
import Tippy from '@tippyjs/react';
|
|
3
|
+
import React, { useState } from 'react';
|
|
2
4
|
import styled from 'styled-components';
|
|
5
|
+
import { atom } from 'jotai';
|
|
6
|
+
import { useOrderProductsResources } from '../../../store';
|
|
7
|
+
import { notification } from 'antd';
|
|
8
|
+
import DownIcon from '../../../../../assets/icons/DownIcon';
|
|
9
|
+
|
|
10
|
+
export const selectedOrderIdAtom = atom<number[]>([]);
|
|
11
|
+
|
|
12
|
+
interface ActionProps {
|
|
13
|
+
row: {
|
|
14
|
+
original: {
|
|
15
|
+
id: number;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
function Action({ row }: ActionProps) {
|
|
21
|
+
const [orderResources] = useOrderProductsResources();
|
|
22
|
+
const [isDownloading, setIsDownloading] = useState(false);
|
|
23
|
+
const urlID = row?.original?.id;
|
|
24
|
+
|
|
25
|
+
const matchingResource = orderResources?.data?.find(
|
|
26
|
+
(resource: any) => resource.id === urlID
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
const resourceUrl = matchingResource?.url;
|
|
30
|
+
|
|
31
|
+
const handleView = () => {
|
|
32
|
+
if (resourceUrl) {
|
|
33
|
+
window.open(resourceUrl, '_blank');
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
const handleDownload = async () => {
|
|
38
|
+
if (!resourceUrl) {
|
|
39
|
+
notification.error({
|
|
40
|
+
message: 'Error',
|
|
41
|
+
description: 'Resource URL is not available',
|
|
42
|
+
});
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
setIsDownloading(true); // disable button
|
|
47
|
+
notification.info({
|
|
48
|
+
message: 'Info',
|
|
49
|
+
description: `Download is in progress. Please wait`,
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
fetch(resourceUrl, {
|
|
53
|
+
method: 'GET',
|
|
54
|
+
headers: {},
|
|
55
|
+
})
|
|
56
|
+
.then(response => {
|
|
57
|
+
if (!response.ok) {
|
|
58
|
+
throw new Error('Network response was not ok');
|
|
59
|
+
}
|
|
60
|
+
return response.blob();
|
|
61
|
+
})
|
|
62
|
+
.then(blob => {
|
|
63
|
+
// Create a temporary URL for the blob
|
|
64
|
+
const urlObject = window.URL.createObjectURL(blob);
|
|
65
|
+
|
|
66
|
+
// Create a temporary anchor element
|
|
67
|
+
const link = document.createElement('a');
|
|
68
|
+
link.href = urlObject;
|
|
69
|
+
|
|
70
|
+
// Generate a filename (you can customize this)
|
|
71
|
+
const filename = `Downloads`;
|
|
72
|
+
link.download = filename;
|
|
73
|
+
|
|
74
|
+
// Append to body, click, and remove
|
|
75
|
+
document.body.appendChild(link);
|
|
76
|
+
link.click();
|
|
77
|
+
document.body.removeChild(link);
|
|
78
|
+
|
|
79
|
+
// Revoke the blob URL
|
|
80
|
+
window.URL.revokeObjectURL(urlObject);
|
|
81
|
+
|
|
82
|
+
notification.success({
|
|
83
|
+
message: 'Success',
|
|
84
|
+
description: 'Document downloaded successfully.',
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
setIsDownloading(false); // enable button
|
|
88
|
+
})
|
|
89
|
+
.catch(error => {
|
|
90
|
+
console.error('Error downloading the document:', error);
|
|
91
|
+
notification.error({
|
|
92
|
+
message: 'Error',
|
|
93
|
+
description: 'Failed to download the document.',
|
|
94
|
+
});
|
|
95
|
+
})
|
|
96
|
+
.finally(() => {
|
|
97
|
+
setIsDownloading(false);
|
|
98
|
+
});
|
|
99
|
+
};
|
|
3
100
|
|
|
4
|
-
function index() {
|
|
5
101
|
return (
|
|
6
|
-
|
|
7
|
-
|
|
102
|
+
<Actions>
|
|
103
|
+
<Row>
|
|
104
|
+
<Tippy content="View" placement="top" trigger="mouseenter">
|
|
105
|
+
<TippyContainer onClick={handleView}>
|
|
106
|
+
<ViewIcon style={{ cursor: 'pointer' }} />
|
|
107
|
+
</TippyContainer>
|
|
108
|
+
</Tippy>
|
|
109
|
+
<Tippy content="Download" placement="top" trigger="mouseenter">
|
|
110
|
+
<TippyContainer
|
|
111
|
+
onClick={isDownloading ? undefined : handleDownload}
|
|
112
|
+
style={{
|
|
113
|
+
cursor: isDownloading ? 'not-allowed' : 'pointer',
|
|
114
|
+
opacity: isDownloading ? 0.6 : 1,
|
|
115
|
+
}}
|
|
116
|
+
>
|
|
117
|
+
<DownIcon />
|
|
118
|
+
</TippyContainer>
|
|
119
|
+
</Tippy>
|
|
120
|
+
</Row>
|
|
121
|
+
</Actions>
|
|
8
122
|
);
|
|
9
123
|
}
|
|
124
|
+
|
|
125
|
+
// Styled components for styling
|
|
10
126
|
const Actions = styled.div``;
|
|
11
127
|
|
|
12
|
-
|
|
128
|
+
const TippyContainer = styled.div`
|
|
129
|
+
display: inline-block;
|
|
130
|
+
margin: 7px;
|
|
131
|
+
`;
|
|
132
|
+
|
|
133
|
+
const Row = styled.div`
|
|
134
|
+
gap: 10px;
|
|
135
|
+
cursor: pointer;
|
|
136
|
+
display: flex;
|
|
137
|
+
align-items: center;
|
|
138
|
+
`;
|
|
139
|
+
|
|
140
|
+
export default Action;
|
|
@@ -2,22 +2,22 @@ import React from 'react';
|
|
|
2
2
|
import CollapsedContent from '../collapsed-content';
|
|
3
3
|
import styled from 'styled-components';
|
|
4
4
|
import CollapsableForm from '../../../../common/expand-collapse';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import {
|
|
5
|
+
import DynamicTable from '../../DynamicTable';
|
|
6
|
+
import { useOrderProductsResources } from '../../store';
|
|
7
|
+
import { tableColumns } from '../helper';
|
|
8
8
|
|
|
9
9
|
function Order() {
|
|
10
|
+
const [orderResources] = useOrderProductsResources();
|
|
11
|
+
|
|
12
|
+
const data =
|
|
13
|
+
orderResources?.data && orderResources?.data?.length > 0
|
|
14
|
+
? orderResources?.data
|
|
15
|
+
: '';
|
|
16
|
+
|
|
10
17
|
return (
|
|
11
18
|
<Table>
|
|
12
19
|
<CollapsableForm collapsedContent={<CollapsedContent />}>
|
|
13
|
-
|
|
14
|
-
<Alert
|
|
15
|
-
description=""
|
|
16
|
-
onClose={() => {}}
|
|
17
|
-
type="warn"
|
|
18
|
-
title="No records found"
|
|
19
|
-
showOkButton={false}
|
|
20
|
-
/>
|
|
20
|
+
<DynamicTable columns={tableColumns} data={data} />
|
|
21
21
|
</CollapsableForm>
|
|
22
22
|
</Table>
|
|
23
23
|
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Category, Date, Reference, Type } from './columns';
|
|
1
|
+
import { Actions, Category, Date, Reference, Type } from './columns';
|
|
2
2
|
|
|
3
3
|
export const tableColumns = [
|
|
4
4
|
{
|
|
@@ -25,4 +25,10 @@ export const tableColumns = [
|
|
|
25
25
|
cell: Reference,
|
|
26
26
|
enableSorting: false,
|
|
27
27
|
},
|
|
28
|
+
{
|
|
29
|
+
header: 'Actions',
|
|
30
|
+
accessorKey: 'action',
|
|
31
|
+
cell: Actions,
|
|
32
|
+
enableSorting: false,
|
|
33
|
+
},
|
|
28
34
|
];
|
package/src/components/order-view/return-client-products/product-table/ReturnProductTable.tsx
CHANGED
|
@@ -10,7 +10,8 @@ import { useOrderId, useOrderStaticData, useProductDetails } from '../../store';
|
|
|
10
10
|
import { ApiResponse } from '../../types';
|
|
11
11
|
import Loader from '../../../order-daily-overview/header/loader/Loader';
|
|
12
12
|
import { notification } from 'antd';
|
|
13
|
-
import { useSelectedProducts } from '../../../store';
|
|
13
|
+
import { useNewReturnOrderData, useSelectedProducts } from '../../../store';
|
|
14
|
+
import styled from 'styled-components';
|
|
14
15
|
|
|
15
16
|
const ReturnProductTable = () => {
|
|
16
17
|
const [selectedProducts, setSelectedProducts] = useSelectedProducts();
|
|
@@ -18,6 +19,7 @@ const ReturnProductTable = () => {
|
|
|
18
19
|
const [productData, setProductData] = useProductDetails();
|
|
19
20
|
const [selectedRowId, setSelectedRowId] = useState<number | null>(null);
|
|
20
21
|
const [orderId] = useOrderId();
|
|
22
|
+
const [returnOrderData] = useNewReturnOrderData();
|
|
21
23
|
|
|
22
24
|
const handleActionClick = (id: number) => {
|
|
23
25
|
setSelectedRowId(id);
|
|
@@ -93,7 +95,8 @@ const ReturnProductTable = () => {
|
|
|
93
95
|
return matchedReason ? matchedReason.label : 'N/A';
|
|
94
96
|
};
|
|
95
97
|
|
|
96
|
-
const disableCheckbox =
|
|
98
|
+
const disableCheckbox =
|
|
99
|
+
productData?.length == 0 || returnOrderData?.length == 0;
|
|
97
100
|
|
|
98
101
|
return (
|
|
99
102
|
<div>
|
|
@@ -103,7 +106,7 @@ const ReturnProductTable = () => {
|
|
|
103
106
|
<thead>
|
|
104
107
|
<tr>
|
|
105
108
|
<th className="emailproductsCheckbox">
|
|
106
|
-
<
|
|
109
|
+
<StyleCheckbox
|
|
107
110
|
disabled={disableCheckbox}
|
|
108
111
|
checked={selectAll}
|
|
109
112
|
onChange={handleSelectAll}
|
|
@@ -123,9 +126,10 @@ const ReturnProductTable = () => {
|
|
|
123
126
|
productData?.map((product: any) => (
|
|
124
127
|
<tr key={product.id}>
|
|
125
128
|
<td>
|
|
126
|
-
<
|
|
129
|
+
<StyleCheckbox
|
|
127
130
|
checked={selectedProducts?.includes(product?.id)}
|
|
128
131
|
onChange={() => handleSelectProduct(product?.id)}
|
|
132
|
+
disabled={disableCheckbox}
|
|
129
133
|
/>
|
|
130
134
|
</td>
|
|
131
135
|
<td>{product?.orders_products_stock?.location || 'N/A'}</td>
|
|
@@ -164,4 +168,12 @@ const ReturnProductTable = () => {
|
|
|
164
168
|
);
|
|
165
169
|
};
|
|
166
170
|
|
|
171
|
+
const StyleCheckbox = styled(Checkbox)`
|
|
172
|
+
&:disabled {
|
|
173
|
+
background-color: gray;
|
|
174
|
+
cursor: not-allowed;
|
|
175
|
+
opacity: -0.4;
|
|
176
|
+
}
|
|
177
|
+
`;
|
|
178
|
+
|
|
167
179
|
export default ReturnProductTable;
|
|
@@ -24,11 +24,10 @@ interface OrderRecipient {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
const customerInfoAtom = atom<OrderRecipient>({
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
recipient_name: '',
|
|
28
|
+
postcode: '',
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
|
|
32
31
|
export const ordersInitialValue: OrdersType = {
|
|
33
32
|
depot_id: null,
|
|
34
33
|
gsit_order_id: null,
|
|
@@ -105,6 +104,7 @@ export const ordersInitialValue: OrdersType = {
|
|
|
105
104
|
order_communications: [],
|
|
106
105
|
id: null,
|
|
107
106
|
name: '',
|
|
107
|
+
carrier_id: null,
|
|
108
108
|
};
|
|
109
109
|
|
|
110
110
|
export const orderProductInitialvalue: CreateProduct = {
|
|
@@ -169,7 +169,8 @@ function useIsOnHoldOrder() {
|
|
|
169
169
|
}
|
|
170
170
|
//value
|
|
171
171
|
const orderId = atom<any>(undefined);
|
|
172
|
-
export const useOrderId = () => {
|
|
172
|
+
export const useOrderId = () => {
|
|
173
|
+
//dddddddddddd
|
|
173
174
|
return useAtom(orderId);
|
|
174
175
|
};
|
|
175
176
|
|
|
@@ -372,7 +373,6 @@ export {
|
|
|
372
373
|
useClientData,
|
|
373
374
|
};
|
|
374
375
|
|
|
375
|
-
|
|
376
376
|
const notes = atom<any>([]);
|
|
377
377
|
|
|
378
378
|
export function usegetNotes() {
|
|
@@ -445,7 +445,6 @@ export function useUpdateApiCall() {
|
|
|
445
445
|
return useAtom(apiUpdateCalling);
|
|
446
446
|
}
|
|
447
447
|
|
|
448
|
-
|
|
449
448
|
const liveRecalling = atom<boolean>(false);
|
|
450
449
|
|
|
451
450
|
//re api call of live status
|
|
@@ -468,20 +467,16 @@ export const letselectedProductIdAtom = atom<number | null>(null);
|
|
|
468
467
|
// return useAtom(BulkUPdateDisabledState);
|
|
469
468
|
// };
|
|
470
469
|
|
|
471
|
-
|
|
472
470
|
const auditLogLoadingState = atom<boolean>(true);
|
|
473
471
|
export function useAuditLogLoadingState() {
|
|
474
472
|
return useAtom(auditLogLoadingState);
|
|
475
473
|
}
|
|
476
474
|
|
|
477
|
-
|
|
478
475
|
const globalStateHitAuditLog = atom<boolean>(false);
|
|
479
476
|
export function useGlobalStateHitAuditLog() {
|
|
480
477
|
return useAtom(globalStateHitAuditLog);
|
|
481
478
|
}
|
|
482
479
|
|
|
483
|
-
|
|
484
|
-
|
|
485
480
|
// Popup state Manage
|
|
486
481
|
const initialState = null;
|
|
487
482
|
|
|
@@ -34,6 +34,7 @@ export type OrderActionsType =
|
|
|
34
34
|
| 'change-customer-account'
|
|
35
35
|
| 'escalations'
|
|
36
36
|
| 'create-task'
|
|
37
|
+
| 'create-reminder'
|
|
37
38
|
| 'log-feedback'
|
|
38
39
|
| 'hold-order'
|
|
39
40
|
| 'unhold-order'
|
|
@@ -48,7 +49,8 @@ export type OrderActionsType =
|
|
|
48
49
|
| 'release-order'
|
|
49
50
|
| 'unrelease-order'
|
|
50
51
|
| 'clear-date'
|
|
51
|
-
| 'uncancel-order'
|
|
52
|
+
| 'uncancel-order'
|
|
53
|
+
| 'remove-from-route';
|
|
52
54
|
|
|
53
55
|
export interface ChargeLogData {
|
|
54
56
|
id: number;
|
|
@@ -157,14 +159,15 @@ export interface OrdersType {
|
|
|
157
159
|
order_communications: any[];
|
|
158
160
|
id: number | null;
|
|
159
161
|
status_value: string | null;
|
|
160
|
-
name: string
|
|
162
|
+
name: string;
|
|
161
163
|
order_locked_by: string | null;
|
|
162
164
|
delivery_instructions: string | null;
|
|
163
165
|
drop_time: string | null;
|
|
164
166
|
created_by: any;
|
|
165
167
|
created_at: any;
|
|
166
168
|
recipient_name: any;
|
|
167
|
-
postcode: any
|
|
169
|
+
postcode: any;
|
|
170
|
+
carrier_id: number | null;
|
|
168
171
|
}
|
|
169
172
|
|
|
170
173
|
export type DeleteProds = {
|
|
@@ -110,7 +110,23 @@ export const getCookie = (name: string): string | null => {
|
|
|
110
110
|
|
|
111
111
|
export const handleKeyDown = (e: React.KeyboardEvent<HTMLInputElement>) => {
|
|
112
112
|
// Allowed keys: numbers (0-9), '.', '-', '+'
|
|
113
|
-
const allowedKeys = [
|
|
113
|
+
const allowedKeys = [
|
|
114
|
+
'0',
|
|
115
|
+
'1',
|
|
116
|
+
'2',
|
|
117
|
+
'3',
|
|
118
|
+
'4',
|
|
119
|
+
'5',
|
|
120
|
+
'6',
|
|
121
|
+
'7',
|
|
122
|
+
'8',
|
|
123
|
+
'9',
|
|
124
|
+
'.',
|
|
125
|
+
'-',
|
|
126
|
+
'+',
|
|
127
|
+
'ArrowLeft',
|
|
128
|
+
'ArrowRight',
|
|
129
|
+
];
|
|
114
130
|
|
|
115
131
|
// Allow backspace, delete, and Tab keys
|
|
116
132
|
if (e.key === 'Backspace' || e.key === 'Delete' || e.key === 'Tab') {
|
package/src/components/store.ts
CHANGED
|
@@ -76,6 +76,14 @@ const locationOptions = atom<any[]>([]);
|
|
|
76
76
|
|
|
77
77
|
const selectedProductsMove = atom<any>([]);
|
|
78
78
|
|
|
79
|
+
const newReturnOrderData = atom<any>([]);
|
|
80
|
+
|
|
81
|
+
const subContracterData = atom<any>([]);
|
|
82
|
+
|
|
83
|
+
export function useSubContracterData() {
|
|
84
|
+
return useAtom(subContracterData);
|
|
85
|
+
}
|
|
86
|
+
|
|
79
87
|
function useReminderData() {
|
|
80
88
|
return useAtom(reminderTableData);
|
|
81
89
|
}
|
|
@@ -197,6 +205,10 @@ export function useSelectedData() {
|
|
|
197
205
|
return useAtom(selectedAssignee);
|
|
198
206
|
}
|
|
199
207
|
|
|
208
|
+
export function useNewReturnOrderData() {
|
|
209
|
+
return useAtom(newReturnOrderData);
|
|
210
|
+
}
|
|
211
|
+
|
|
200
212
|
export {
|
|
201
213
|
useAtom,
|
|
202
214
|
useFilter,
|
|
@@ -226,5 +238,5 @@ export {
|
|
|
226
238
|
useActionTypeOptions,
|
|
227
239
|
useLocationOptions,
|
|
228
240
|
useSelectedProducts,
|
|
229
|
-
useVisibilityData
|
|
241
|
+
useVisibilityData,
|
|
230
242
|
};
|