@bjsdistribution/dms-client-return 0.1.69-prod → 0.1.70-prod
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-view/utils.d.ts +1 -0
- package/dist/dms-client-return.cjs.development.js +10 -2
- 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 +10 -2
- package/dist/dms-client-return.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/order-view/modalsPopup/CreateReturnModal.tsx +3 -1
- package/src/components/order-view/modalsPopup/ModalManager.tsx +4 -1
- package/src/components/order-view/order-actions/actions/confirm-order/tables/ReminderStyles.tsx +3 -0
- package/src/components/order-view/order-actions/actions/split-order/SplitOrderTable.tsx +2 -2
package/package.json
CHANGED
|
@@ -54,7 +54,7 @@ const CreateReturnModal = () => {
|
|
|
54
54
|
<>
|
|
55
55
|
<Wrapper>
|
|
56
56
|
<Alert
|
|
57
|
-
onClose={() => {}}
|
|
57
|
+
onClose={() => { }}
|
|
58
58
|
description=""
|
|
59
59
|
type="info"
|
|
60
60
|
title="Do you wish to proceed?"
|
|
@@ -112,4 +112,6 @@ export const Wrapper = styled.div`
|
|
|
112
112
|
box-shadow: 0px 1px 3px 0px rgba(16, 24, 40, 0.1);
|
|
113
113
|
`;
|
|
114
114
|
|
|
115
|
+
|
|
116
|
+
|
|
115
117
|
export default CreateReturnModal;
|
|
@@ -103,7 +103,7 @@ const ModalManager = () => {
|
|
|
103
103
|
// @ts-ignore
|
|
104
104
|
if (apiError || (response && (response?.code == 500 || response?.code == 400))) {
|
|
105
105
|
setHasStartedLoading(false);
|
|
106
|
-
|
|
106
|
+
|
|
107
107
|
// @ts-ignore
|
|
108
108
|
const errorMessage = apiError?.message || response?.message || 'Failed to create return';
|
|
109
109
|
notification.error({
|
|
@@ -257,3 +257,6 @@ const ModalManager = () => {
|
|
|
257
257
|
};
|
|
258
258
|
|
|
259
259
|
export default ModalManager;
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
@@ -60,7 +60,7 @@ function SplitOrderTable() {
|
|
|
60
60
|
<StyledTable>
|
|
61
61
|
<thead>
|
|
62
62
|
<tr>
|
|
63
|
-
<th>
|
|
63
|
+
<th style={{ position: 'relative' }}>
|
|
64
64
|
<Checkbox
|
|
65
65
|
checked={selectAll}
|
|
66
66
|
onChange={handleSelectAll}
|
|
@@ -98,7 +98,7 @@ function SplitOrderTable() {
|
|
|
98
98
|
orderProductDetails?.length > 0 &&
|
|
99
99
|
orderProductDetails?.map((order: any) => (
|
|
100
100
|
<tr key={order.id}>
|
|
101
|
-
<td>
|
|
101
|
+
<td style={{ position: 'relative' }}>
|
|
102
102
|
<Checkbox
|
|
103
103
|
checked={selectedSplits?.some(
|
|
104
104
|
selectedOrder => selectedOrder.id === order.id
|