@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,56 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import styled from 'styled-components';
|
|
3
|
-
import PublicIcon from '../../../../../assets/icons/PublicIcon';
|
|
4
|
-
// import PrivateIcon from '../../../../../assets/icons/PrivateIcon';
|
|
5
|
-
|
|
6
|
-
function Created(props: any) {
|
|
7
|
-
const data = props?.row?.original;
|
|
8
|
-
return (
|
|
9
|
-
<RowContainer>
|
|
10
|
-
<Row>
|
|
11
|
-
<CreatedBy>{data.created_by}</CreatedBy>
|
|
12
|
-
<Wrapper>
|
|
13
|
-
<ProductId>{data.created_at}</ProductId>
|
|
14
|
-
<ProductId>{data.product_id}</ProductId>
|
|
15
|
-
<PublicIcon />
|
|
16
|
-
{/* <PrivateIcon /> */}
|
|
17
|
-
</Wrapper>
|
|
18
|
-
</Row>
|
|
19
|
-
</RowContainer>
|
|
20
|
-
);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
const ProductId = styled.span`
|
|
24
|
-
margin: 0;
|
|
25
|
-
padding: 0;
|
|
26
|
-
font-family: 'Lato', sans-serif;
|
|
27
|
-
font-size: 13px;
|
|
28
|
-
font-weight: 400;
|
|
29
|
-
line-height: 16px;
|
|
30
|
-
color: #667085;
|
|
31
|
-
`;
|
|
32
|
-
|
|
33
|
-
const Wrapper = styled.div`
|
|
34
|
-
display: flex;
|
|
35
|
-
flex-direction: column;
|
|
36
|
-
`;
|
|
37
|
-
|
|
38
|
-
const CreatedBy = styled.p`
|
|
39
|
-
margin: 0;
|
|
40
|
-
padding: 0;
|
|
41
|
-
font-family: 'Lato', sans-serif;
|
|
42
|
-
font-size: 14px;
|
|
43
|
-
font-weight: 500;
|
|
44
|
-
line-height: 18px;
|
|
45
|
-
color: '#3A3630';
|
|
46
|
-
`;
|
|
47
|
-
|
|
48
|
-
const RowContainer = styled.div``;
|
|
49
|
-
|
|
50
|
-
const Row = styled.div`
|
|
51
|
-
display: flex;
|
|
52
|
-
flex-direction: column;
|
|
53
|
-
gap: 8px;
|
|
54
|
-
`;
|
|
55
|
-
|
|
56
|
-
export default Created;
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { Alert, FlagAlert } from '@bjsdistribution/dms-component-library';
|
|
2
|
-
import React, { useEffect } from 'react';
|
|
3
|
-
import styled from 'styled-components';
|
|
4
|
-
import { useOrderDetails } from '../store';
|
|
5
|
-
import { useOrderNotify, useRouteDetails } from '../order-actions/store';
|
|
6
|
-
|
|
7
|
-
function OrderTemplate() {
|
|
8
|
-
const [orderDetails] = useOrderDetails();
|
|
9
|
-
const [routeData] = useRouteDetails();
|
|
10
|
-
const [, setOrderCount] = useOrderNotify();
|
|
11
|
-
const precall = false;
|
|
12
|
-
|
|
13
|
-
const crewDetails =
|
|
14
|
-
routeData?.route_crew_info?.crew1_id +
|
|
15
|
-
' ' +
|
|
16
|
-
routeData?.route_crew_info?.crew1 +
|
|
17
|
-
' ' +
|
|
18
|
-
routeData?.route_crew_info?.crew2_id +
|
|
19
|
-
' ' +
|
|
20
|
-
routeData?.route_crew_info?.crew2 +
|
|
21
|
-
' ';
|
|
22
|
-
|
|
23
|
-
useEffect(() => {
|
|
24
|
-
if (precall) {
|
|
25
|
-
setOrderCount(prevCount => prevCount + 1);
|
|
26
|
-
}
|
|
27
|
-
}, [precall]);
|
|
28
|
-
|
|
29
|
-
return (
|
|
30
|
-
<>
|
|
31
|
-
<StyledAlert>
|
|
32
|
-
<Alert
|
|
33
|
-
type="info"
|
|
34
|
-
title={`Order Status Note : ${orderDetails?.order_status_note}`}
|
|
35
|
-
description={''}
|
|
36
|
-
showOkButton={false}
|
|
37
|
-
onClose={() => {}}
|
|
38
|
-
/>
|
|
39
|
-
</StyledAlert>
|
|
40
|
-
{orderDetails.status == 'SD' ? (
|
|
41
|
-
<StyledAlert>
|
|
42
|
-
<FlagAlert
|
|
43
|
-
type="success"
|
|
44
|
-
title={
|
|
45
|
-
<TitleText>
|
|
46
|
-
Completed: {orderDetails?.order_routes?.complete_time}, Signee:{' '}
|
|
47
|
-
{orderDetails?.order_routes?.signee} Notes :
|
|
48
|
-
{orderDetails?.order_routes?.complete_notes}
|
|
49
|
-
</TitleText>
|
|
50
|
-
}
|
|
51
|
-
description={
|
|
52
|
-
<SubtitleText>
|
|
53
|
-
Route: {routeData?.route_name}
|
|
54
|
-
{routeData?.route_lock ? ' *LOCKED* ' : ''} on{' '}
|
|
55
|
-
{routeData?.route_detail?.vehicle_number} | Crew : {crewDetails}
|
|
56
|
-
| {routeData?.route_date}
|
|
57
|
-
</SubtitleText>
|
|
58
|
-
}
|
|
59
|
-
showOkButton={false}
|
|
60
|
-
onClose={() => {}}
|
|
61
|
-
/>
|
|
62
|
-
</StyledAlert>
|
|
63
|
-
) : null}
|
|
64
|
-
|
|
65
|
-
{precall ? (
|
|
66
|
-
<StyledAlert>
|
|
67
|
-
<FlagAlert
|
|
68
|
-
type="success"
|
|
69
|
-
title={`Order Pre-Call Slot Time : ${orderDetails?.order_eta_updates?.map(
|
|
70
|
-
(i: any) => i.slot_start
|
|
71
|
-
)} - ${orderDetails?.order_eta_updates?.map(
|
|
72
|
-
(i: any) => i?.slot_end
|
|
73
|
-
)}`}
|
|
74
|
-
description={``}
|
|
75
|
-
showOkButton={false}
|
|
76
|
-
onClose={() => {}}
|
|
77
|
-
/>
|
|
78
|
-
</StyledAlert>
|
|
79
|
-
) : null}
|
|
80
|
-
</>
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
const StyledAlert = styled.div`
|
|
85
|
-
margin-bottom: 5px;
|
|
86
|
-
`;
|
|
87
|
-
|
|
88
|
-
const SubtitleText = styled.div`
|
|
89
|
-
color: #36a053;
|
|
90
|
-
|
|
91
|
-
font-family: Roboto;
|
|
92
|
-
font-size: 14px;
|
|
93
|
-
font-style: normal;
|
|
94
|
-
font-weight: 600;
|
|
95
|
-
line-height: 24px;
|
|
96
|
-
`;
|
|
97
|
-
|
|
98
|
-
const TitleText = styled.div`
|
|
99
|
-
color: var(--primary-dark-brown, #3a3630);
|
|
100
|
-
|
|
101
|
-
font-family: Lato;
|
|
102
|
-
font-size: 14px;
|
|
103
|
-
font-style: normal;
|
|
104
|
-
font-weight: 500;
|
|
105
|
-
line-height: 18px;
|
|
106
|
-
`;
|
|
107
|
-
|
|
108
|
-
export default OrderTemplate;
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import styled from 'styled-components';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { AntTable } from '@bjsdistribution/dms-component-library';
|
|
4
|
-
|
|
5
|
-
function CancelOrderTable() {
|
|
6
|
-
const options = [
|
|
7
|
-
{ value: 'bjsCouriers', label: 'BJS COURIERS' },
|
|
8
|
-
{ value: 'bjsSales', label: 'BJS SALES' },
|
|
9
|
-
{ value: 'test', label: 'TEST' },
|
|
10
|
-
];
|
|
11
|
-
|
|
12
|
-
const data = [
|
|
13
|
-
{
|
|
14
|
-
status: 'option1',
|
|
15
|
-
code: 'FFLMW-B1',
|
|
16
|
-
description:
|
|
17
|
-
'Flair Furnishings Loop Midsleeper White /DOUBLE COXMOOR NEST OF 3 TABLES - OAK',
|
|
18
|
-
sku: '007022530015429326',
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
status: 'option2',
|
|
22
|
-
code: 'FFLMW-B1',
|
|
23
|
-
description:
|
|
24
|
-
'Flair Furnishings Loop Midsleeper White /DOUBLE COXMOOR NEST OF 3 TABLES - OAK',
|
|
25
|
-
sku: '007022530015429326',
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
status: 'option3',
|
|
29
|
-
code: 'FFLMW-B1',
|
|
30
|
-
description:
|
|
31
|
-
'Flair Furnishings Loop Midsleeper White /DOUBLE COXMOOR NEST OF 3 TABLES - OAK',
|
|
32
|
-
sku: '007022530015429326',
|
|
33
|
-
},
|
|
34
|
-
];
|
|
35
|
-
|
|
36
|
-
const columns = [
|
|
37
|
-
{ key: 'checkbox', title: '', isCheckbox: true },
|
|
38
|
-
{ key: 'status', title: 'Status', isSelect: true },
|
|
39
|
-
{ key: 'code', title: 'Code' },
|
|
40
|
-
{ key: 'description', title: 'Description' },
|
|
41
|
-
{ key: 'sku', title: 'SKU' },
|
|
42
|
-
];
|
|
43
|
-
return (
|
|
44
|
-
<GLobalPopupContent>
|
|
45
|
-
<AntTable
|
|
46
|
-
columns={columns}
|
|
47
|
-
data={data}
|
|
48
|
-
selectOptions={options}
|
|
49
|
-
onSelectChange={(value: any, record: any) =>
|
|
50
|
-
console.log('Selected value:', value, 'for record:', record)
|
|
51
|
-
}
|
|
52
|
-
/>
|
|
53
|
-
</GLobalPopupContent>
|
|
54
|
-
);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
const GLobalPopupContent = styled.div`
|
|
58
|
-
section {
|
|
59
|
-
padding: 15px 15px 0;
|
|
60
|
-
.filterCover {
|
|
61
|
-
border-radius: 16px;
|
|
62
|
-
border: 1px solid var(--tonal-brown-10, #edebe8);
|
|
63
|
-
background: #f8fafc;
|
|
64
|
-
display: flex;
|
|
65
|
-
gap: 30px;
|
|
66
|
-
padding: 15px;
|
|
67
|
-
gap: 15px;
|
|
68
|
-
.col {
|
|
69
|
-
width: 21%;
|
|
70
|
-
label {
|
|
71
|
-
color: #8d8f90;
|
|
72
|
-
font-size: 14px;
|
|
73
|
-
font-weight: 500;
|
|
74
|
-
line-height: 20px;
|
|
75
|
-
display: block;
|
|
76
|
-
margin-bottom: 4px;
|
|
77
|
-
}
|
|
78
|
-
.ant-select-single {
|
|
79
|
-
width: 100%;
|
|
80
|
-
}
|
|
81
|
-
select {
|
|
82
|
-
width: 100%;
|
|
83
|
-
}
|
|
84
|
-
&:first-child {
|
|
85
|
-
width: 43%;
|
|
86
|
-
}
|
|
87
|
-
&:last-child {
|
|
88
|
-
width: 33%;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
`;
|
|
94
|
-
|
|
95
|
-
export default CancelOrderTable;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import styled from 'styled-components';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { TextArea } from '@bjsdistribution/dms-component-library';
|
|
4
|
-
|
|
5
|
-
function CancelationNote() {
|
|
6
|
-
return (
|
|
7
|
-
<Container>
|
|
8
|
-
<Label>Cancelation Note</Label>
|
|
9
|
-
<TextArea rows={5} />
|
|
10
|
-
</Container>
|
|
11
|
-
);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
const Label = styled.label`
|
|
15
|
-
color: #6a7378;
|
|
16
|
-
font-family: 'Lato', sans-serif;
|
|
17
|
-
font-size: 14px;
|
|
18
|
-
font-style: normal;
|
|
19
|
-
font-weight: 500;
|
|
20
|
-
`;
|
|
21
|
-
|
|
22
|
-
const Container = styled.div`
|
|
23
|
-
display: flex;
|
|
24
|
-
flex-direction: column;
|
|
25
|
-
gap: 6px;
|
|
26
|
-
`;
|
|
27
|
-
|
|
28
|
-
export default CancelationNote;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import OrderActionsDropdown from '../../Dropdown';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
|
|
4
|
-
function CancelationReason() {
|
|
5
|
-
const onSelect = () => {};
|
|
6
|
-
const onSearch = () => {};
|
|
7
|
-
return (
|
|
8
|
-
<OrderActionsDropdown
|
|
9
|
-
label="Cancelation Reason"
|
|
10
|
-
placeholder="Select Cancelation Reason"
|
|
11
|
-
options={[]}
|
|
12
|
-
onSelect={onSelect}
|
|
13
|
-
onSearch={onSearch}
|
|
14
|
-
/>
|
|
15
|
-
);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export default CancelationReason;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
CancelAndCompleteAction,
|
|
3
|
-
CancelationModal,
|
|
4
|
-
} from '@bjsdistribution/dms-component-library';
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import styled from 'styled-components';
|
|
7
|
-
import { useCurrentAction } from '../../../store';
|
|
8
|
-
|
|
9
|
-
const DeleteLogModal = () => {
|
|
10
|
-
const [, setCurrentAction] = useCurrentAction();
|
|
11
|
-
|
|
12
|
-
const saveButton = () => {
|
|
13
|
-
setCurrentAction(undefined);
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
const closeModal = () => {
|
|
17
|
-
setCurrentAction(undefined);
|
|
18
|
-
};
|
|
19
|
-
return (
|
|
20
|
-
<CancelationModal
|
|
21
|
-
title="Delete Log"
|
|
22
|
-
description="Are you sure, you want to Delete the Log?"
|
|
23
|
-
actions={
|
|
24
|
-
<CustomCancelAndCompleteAction
|
|
25
|
-
cancelLabel="Cancel"
|
|
26
|
-
onCancel={closeModal}
|
|
27
|
-
completeLabel="Confirm"
|
|
28
|
-
onComplete={saveButton}
|
|
29
|
-
/>
|
|
30
|
-
}
|
|
31
|
-
/>
|
|
32
|
-
);
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
const CustomCancelAndCompleteAction = styled(CancelAndCompleteAction)`
|
|
36
|
-
justify-content: center;
|
|
37
|
-
`;
|
|
38
|
-
|
|
39
|
-
export default DeleteLogModal;
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
// AmountContainer,
|
|
4
|
-
// AmountSymbol,
|
|
5
|
-
ContentContainer,
|
|
6
|
-
// DeleteCircleIcon,
|
|
7
|
-
Heading,
|
|
8
|
-
// StatusWrapper,
|
|
9
|
-
// StyledAmountInput,
|
|
10
|
-
// SuccessText,
|
|
11
|
-
} from '../modalstyle';
|
|
12
|
-
import { AntTable } from '@bjsdistribution/dms-component-library';
|
|
13
|
-
|
|
14
|
-
import { useCurrentAction, useCustomerInfo } from '../../../store';
|
|
15
|
-
import { ChargeLogData } from '../../../types';
|
|
16
|
-
// import { initialData } from '../../../fakedata';
|
|
17
|
-
import OrderActionModal from '../../../../../common/modals/order-action-modal/OrderActionModal';
|
|
18
|
-
import DustbinIcon from '../../../../../assets/icons/DustbinIcon';
|
|
19
|
-
|
|
20
|
-
function ChargeLog() {
|
|
21
|
-
const [, setCurrentAction] = useCurrentAction();
|
|
22
|
-
const [customerInfo] = useCustomerInfo();
|
|
23
|
-
const infoText = `${customerInfo?.recipient_name}, ${customerInfo?.postcode}`;
|
|
24
|
-
|
|
25
|
-
// const [data, setData] = useState<ChargeLogData[]>(initialData);
|
|
26
|
-
|
|
27
|
-
const closeModal = () => {
|
|
28
|
-
setCurrentAction(undefined);
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
// const handleDelete = (record: ChargeLogData) => {
|
|
32
|
-
// const newData = data.filter(item => item.id !== record.id);
|
|
33
|
-
// setData(newData);
|
|
34
|
-
// };
|
|
35
|
-
// const handleAmountChange = (value: string, id: number) => {
|
|
36
|
-
// const amountValue = value.replace(/[^0-9.]/g, '');
|
|
37
|
-
// const parts = amountValue.split('.');
|
|
38
|
-
// if (parts.length > 2) {
|
|
39
|
-
// return;
|
|
40
|
-
// }
|
|
41
|
-
// if (parts.length === 2 && parts[1].length > 2) {
|
|
42
|
-
// return;
|
|
43
|
-
// }
|
|
44
|
-
|
|
45
|
-
// const newData = data.map(item => {
|
|
46
|
-
// if (item.id === id) {
|
|
47
|
-
// return { ...item, amount: amountValue };
|
|
48
|
-
// }
|
|
49
|
-
// return item;
|
|
50
|
-
// });
|
|
51
|
-
// setData(newData);
|
|
52
|
-
// };
|
|
53
|
-
|
|
54
|
-
// const columns: Column[] = [
|
|
55
|
-
// { key: 'date', title: 'Date', dataIndex: 'date' },
|
|
56
|
-
// { key: 'description', title: 'Description', dataIndex: 'description' },
|
|
57
|
-
// {
|
|
58
|
-
// key: 'amount',
|
|
59
|
-
// title: 'Amount',
|
|
60
|
-
// dataIndex: 'amount',
|
|
61
|
-
// render: (record: any) => (
|
|
62
|
-
// <AmountContainer>
|
|
63
|
-
// <AmountSymbol>£</AmountSymbol>
|
|
64
|
-
// {record.status ? (
|
|
65
|
-
// <StyledAmountInput
|
|
66
|
-
// type="text"
|
|
67
|
-
// value={record.amount}
|
|
68
|
-
// onChange={(e: React.ChangeEvent<HTMLInputElement>) =>
|
|
69
|
-
// handleAmountChange(e.target.value, record.id)
|
|
70
|
-
// }
|
|
71
|
-
// />
|
|
72
|
-
// ) : (
|
|
73
|
-
// <div>{record.amount}</div>
|
|
74
|
-
// )}
|
|
75
|
-
// </AmountContainer>
|
|
76
|
-
// ),
|
|
77
|
-
// },
|
|
78
|
-
// {
|
|
79
|
-
// key: 'status',
|
|
80
|
-
// title: 'Status',
|
|
81
|
-
// render: (record: any) => (
|
|
82
|
-
// <StatusWrapper>
|
|
83
|
-
// {record.status ? (
|
|
84
|
-
// <>
|
|
85
|
-
// Invoice : <SuccessText>{record.status}</SuccessText>
|
|
86
|
-
// </>
|
|
87
|
-
// ) : (
|
|
88
|
-
// 'Awaiting Invoice'
|
|
89
|
-
// )}
|
|
90
|
-
// </StatusWrapper>
|
|
91
|
-
// ),
|
|
92
|
-
// },
|
|
93
|
-
// {
|
|
94
|
-
// key: 'action',
|
|
95
|
-
// title: 'Action',
|
|
96
|
-
// render: (record: any) => (
|
|
97
|
-
// <DeleteCircleIcon onClick={() => handleDelete(record)}>
|
|
98
|
-
// <DeleteIcon />
|
|
99
|
-
// </DeleteCircleIcon>
|
|
100
|
-
// ),
|
|
101
|
-
// },
|
|
102
|
-
// ];
|
|
103
|
-
|
|
104
|
-
const column = [
|
|
105
|
-
{ key: 'date', title: 'Date' },
|
|
106
|
-
{ key: 'description', title: 'Description' },
|
|
107
|
-
{ key: 'amount', title: 'Amount' },
|
|
108
|
-
{ key: 'status', title: 'Status' },
|
|
109
|
-
{ key: 'action', title: 'Action' },
|
|
110
|
-
];
|
|
111
|
-
const Data = [
|
|
112
|
-
{
|
|
113
|
-
date: '17/05/2024',
|
|
114
|
-
description: 'Delivery Success - 17/05/2024',
|
|
115
|
-
amount: '£0.00',
|
|
116
|
-
status: '2024-06-02 - Moreham Wood Direct - 34113',
|
|
117
|
-
action: <DustbinIcon />,
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
date: '17/05/2024',
|
|
121
|
-
description: 'Delivery Success - 17/05/2024',
|
|
122
|
-
amount: '£0.45',
|
|
123
|
-
status: '2024-06-02 - Moreham Wood Direct - 34113',
|
|
124
|
-
action: <DustbinIcon />,
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
date: '17/05/2024',
|
|
128
|
-
description: 'Delivery Success - 17/05/2024',
|
|
129
|
-
amount: '£0.00',
|
|
130
|
-
status: '',
|
|
131
|
-
action: <DustbinIcon />,
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
date: '17/05/2024',
|
|
135
|
-
description: 'Delivery Success - 17/05/2024',
|
|
136
|
-
amount: '£0.78',
|
|
137
|
-
status: 'Awaiting Invoice',
|
|
138
|
-
action: <DustbinIcon />,
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
date: '17/05/2024',
|
|
142
|
-
description: 'Delivery Success - 17/05/2024',
|
|
143
|
-
amount: '£0.108',
|
|
144
|
-
status: 'Awaiting',
|
|
145
|
-
action: <DustbinIcon />,
|
|
146
|
-
},
|
|
147
|
-
];
|
|
148
|
-
return (
|
|
149
|
-
<OrderActionModal
|
|
150
|
-
headerTitle="Charges For"
|
|
151
|
-
onCloseHeader={closeModal}
|
|
152
|
-
onSubmit={() => {}}
|
|
153
|
-
submitBtnTitle="Save Details"
|
|
154
|
-
showAdditionalInfo
|
|
155
|
-
infoText={infoText}
|
|
156
|
-
>
|
|
157
|
-
<ContentContainer>
|
|
158
|
-
<Heading> PRODUCTS </Heading>
|
|
159
|
-
<AntTable
|
|
160
|
-
columns={column}
|
|
161
|
-
data={Data}
|
|
162
|
-
onSelectChange={(value: any, record: ChargeLogData) =>
|
|
163
|
-
console.log('Selected value:', value, 'for record:', record)
|
|
164
|
-
}
|
|
165
|
-
/>
|
|
166
|
-
</ContentContainer>
|
|
167
|
-
</OrderActionModal>
|
|
168
|
-
);
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
export default ChargeLog;
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { AntSelect, Label } from '@bjsdistribution/dms-component-library';
|
|
3
|
-
import styled from 'styled-components';
|
|
4
|
-
import { notification } from 'antd';
|
|
5
|
-
// import {
|
|
6
|
-
// EscalationCategory,
|
|
7
|
-
// EscalationLevel,
|
|
8
|
-
// EscalationReason,
|
|
9
|
-
// EscalationStatus,
|
|
10
|
-
// } from '../../utils';
|
|
11
|
-
const FlexContainer = styled.div`
|
|
12
|
-
display: grid;
|
|
13
|
-
grid-template-columns: repeat(2, 1fr);
|
|
14
|
-
gap: 16px;
|
|
15
|
-
justify-content: space-between;
|
|
16
|
-
@media (max-width: 768px) {
|
|
17
|
-
grid-template-columns: 1fr;
|
|
18
|
-
}
|
|
19
|
-
`;
|
|
20
|
-
const InnerCont = styled.div`
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: column;
|
|
23
|
-
gap: 16px;
|
|
24
|
-
flex: 1;
|
|
25
|
-
`;
|
|
26
|
-
const StyledAntSelect = styled(AntSelect)`
|
|
27
|
-
width: 100%;
|
|
28
|
-
height: 40px;
|
|
29
|
-
`;
|
|
30
|
-
const Dropdowns = () => {
|
|
31
|
-
const handleSelectChange = () => {
|
|
32
|
-
// alert('hello');
|
|
33
|
-
notification.success({
|
|
34
|
-
message: 'Success',
|
|
35
|
-
description: 'Saved successfully.',
|
|
36
|
-
});
|
|
37
|
-
};
|
|
38
|
-
return (
|
|
39
|
-
<FlexContainer>
|
|
40
|
-
<InnerCont>
|
|
41
|
-
<Label label="Escalation Category" required />
|
|
42
|
-
<StyledAntSelect
|
|
43
|
-
options={[]}
|
|
44
|
-
placeholder="Select Category"
|
|
45
|
-
onChange={handleSelectChange}
|
|
46
|
-
disabled={false}
|
|
47
|
-
showSearch={true}
|
|
48
|
-
popupClassName={'dropDownStyle'}
|
|
49
|
-
selectWrapperClass={'rounded'}
|
|
50
|
-
style={{ width: '10vw' }}
|
|
51
|
-
/>
|
|
52
|
-
</InnerCont>
|
|
53
|
-
<InnerCont>
|
|
54
|
-
<Label label="Level" required />
|
|
55
|
-
<StyledAntSelect
|
|
56
|
-
options={[]}
|
|
57
|
-
placeholder="Select Level"
|
|
58
|
-
onChange={handleSelectChange}
|
|
59
|
-
disabled={false}
|
|
60
|
-
showSearch={true}
|
|
61
|
-
popupClassName={'dropDownStyle'}
|
|
62
|
-
selectWrapperClass={'rounded'}
|
|
63
|
-
style={{ width: '10vw' }}
|
|
64
|
-
/>
|
|
65
|
-
</InnerCont>
|
|
66
|
-
<InnerCont>
|
|
67
|
-
<Label label="Escalation Reason" required />
|
|
68
|
-
<StyledAntSelect
|
|
69
|
-
options={[]}
|
|
70
|
-
placeholder="Select Reason"
|
|
71
|
-
onChange={handleSelectChange}
|
|
72
|
-
disabled={false}
|
|
73
|
-
showSearch={true}
|
|
74
|
-
popupClassName={'dropDownStyle'}
|
|
75
|
-
selectWrapperClass={'rounded'}
|
|
76
|
-
style={{ width: '10vw' }}
|
|
77
|
-
/>
|
|
78
|
-
</InnerCont>
|
|
79
|
-
<InnerCont>
|
|
80
|
-
<Label label="Escalation Status" required />
|
|
81
|
-
<StyledAntSelect
|
|
82
|
-
options={[]}
|
|
83
|
-
placeholder="Select Status"
|
|
84
|
-
onChange={handleSelectChange}
|
|
85
|
-
disabled={false}
|
|
86
|
-
showSearch={true}
|
|
87
|
-
popupClassName={'dropDownStyle'}
|
|
88
|
-
selectWrapperClass={'rounded'}
|
|
89
|
-
style={{ width: '10vw' }}
|
|
90
|
-
/>
|
|
91
|
-
</InnerCont>
|
|
92
|
-
</FlexContainer>
|
|
93
|
-
);
|
|
94
|
-
};
|
|
95
|
-
export default Dropdowns;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import OrderActionModal from '../../../../../common/modals/order-action-modal/OrderActionModal';
|
|
3
|
-
import { useCurrentAction } from '../../../store';
|
|
4
|
-
import NewEscalation from './NewEscalation';
|
|
5
|
-
|
|
6
|
-
const EscalationModal: React.FC = () => {
|
|
7
|
-
const [, setCurrentAction] = useCurrentAction();
|
|
8
|
-
|
|
9
|
-
const closeModal = () => {
|
|
10
|
-
setCurrentAction(undefined);
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
return (
|
|
14
|
-
<>
|
|
15
|
-
<OrderActionModal
|
|
16
|
-
headerTitle="Escalations"
|
|
17
|
-
onCloseHeader={closeModal}
|
|
18
|
-
onSubmit={() => {}}
|
|
19
|
-
infoText="NICK OLIVER, YO42ST"
|
|
20
|
-
showAdditionalInfo
|
|
21
|
-
>
|
|
22
|
-
<NewEscalation />
|
|
23
|
-
</OrderActionModal>
|
|
24
|
-
</>
|
|
25
|
-
);
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
export default EscalationModal;
|