@bjsdistribution/dms-client-return 0.0.69 → 0.0.71
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/common/date-picker/header/ClearDate.d.ts +1 -1
- package/dist/components/order-daily-overview/table/table-data/styles.d.ts +3 -3
- package/dist/components/order-daily-overview/table-view/TableStyle.d.ts +4 -4
- package/dist/components/order-view/view-reminder/reminder-styles.d.ts +2 -2
- package/dist/dms-client-return.cjs.development.js +39 -42
- 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 +39 -42
- package/dist/dms-client-return.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/order-daily-overview/return-after-table/table/OrderTable.tsx +1 -1
- package/src/components/order-daily-overview/return-after-table/table-filters/ReturnOrderFilter.tsx +3 -3
- package/src/components/order-view/order-actions/actions/confirm-order/customer-info/DeliveryDate.tsx +2 -1
- package/src/components/order-view/order-actions/actions/confirm-order/index.tsx +3 -3
- package/src/components/order-view/order-details/expanded-content/orders-section/DeliveryDate.tsx +3 -1
- package/src/components/order-view/order-details/expanded-content/services-section/DeliveryPoint.tsx +2 -1
- package/src/components/order-view/order-details/expanded-content/services-section/ServiceType.tsx +2 -1
package/package.json
CHANGED
|
@@ -278,7 +278,7 @@ const OrderTable = () => {
|
|
|
278
278
|
cancelled: 'Cancelled',
|
|
279
279
|
OO: 'On Hold',
|
|
280
280
|
SC: 'Sub-Contracted',
|
|
281
|
-
'awaiting route': 'Awaiting
|
|
281
|
+
'awaiting route': 'Awaiting',
|
|
282
282
|
'awaiting confirmation': 'Awaiting',
|
|
283
283
|
completed: 'completed',
|
|
284
284
|
outstanding: 'Outstanding',
|
package/src/components/order-daily-overview/return-after-table/table-filters/ReturnOrderFilter.tsx
CHANGED
|
@@ -194,7 +194,7 @@ const ReturnOrderFilter = () => {
|
|
|
194
194
|
className="custom-select"
|
|
195
195
|
placeholder="Status of Order"
|
|
196
196
|
onChange={handleStatusOfOrder}
|
|
197
|
-
style={{ width: '
|
|
197
|
+
style={{ minWidth: '150px', width: 'auto' }}
|
|
198
198
|
value={statusOrder}
|
|
199
199
|
onClear={handleClear}
|
|
200
200
|
allowClear
|
|
@@ -209,10 +209,10 @@ const ReturnOrderFilter = () => {
|
|
|
209
209
|
<Select
|
|
210
210
|
options={clientOptions}
|
|
211
211
|
className="custom-select"
|
|
212
|
-
placeholder="
|
|
212
|
+
placeholder="Clients"
|
|
213
213
|
onChange={handleClientChange}
|
|
214
214
|
value={selectedClient}
|
|
215
|
-
style={{
|
|
215
|
+
style={{ minWidth: '150px', width: 'auto' }}
|
|
216
216
|
allowClear
|
|
217
217
|
onClear={handleClearClient}
|
|
218
218
|
/>
|
package/src/components/order-view/order-actions/actions/confirm-order/customer-info/DeliveryDate.tsx
CHANGED
|
@@ -33,7 +33,7 @@ function DeliveryDate() {
|
|
|
33
33
|
const today = new Date();
|
|
34
34
|
const tomorrow = new Date(today);
|
|
35
35
|
tomorrow.setDate(today.getDate() + 1);
|
|
36
|
-
|
|
36
|
+
//confirm popouop
|
|
37
37
|
return (
|
|
38
38
|
<Container>
|
|
39
39
|
<Label>Delivery Date</Label>
|
|
@@ -43,6 +43,7 @@ function DeliveryDate() {
|
|
|
43
43
|
value={deliveryDate ? dayjs(deliveryDate) : null}
|
|
44
44
|
style={{ borderRadius: '15px' }}
|
|
45
45
|
minDate={dayjs(tomorrow)}
|
|
46
|
+
allowClear={false}
|
|
46
47
|
/>
|
|
47
48
|
</Container>
|
|
48
49
|
);
|
|
@@ -5,7 +5,7 @@ import CustomerInformation from './customer-info';
|
|
|
5
5
|
import ProductTable from './tables/ProductTable';
|
|
6
6
|
import NotesTable from './tables/NotesTable';
|
|
7
7
|
import SlotAndInstructions from './slot-and-instructions';
|
|
8
|
-
import {
|
|
8
|
+
import { useApiHook } from '@bjsdistribution/dms-component-library';
|
|
9
9
|
import {
|
|
10
10
|
useCurrentAction,
|
|
11
11
|
useCustomerInfo,
|
|
@@ -217,14 +217,14 @@ function ConfirmOrder() {
|
|
|
217
217
|
isSubmitDisabled={errorFound()}
|
|
218
218
|
>
|
|
219
219
|
<ContentContainer>
|
|
220
|
-
<Alert
|
|
220
|
+
{/* <Alert
|
|
221
221
|
description=""
|
|
222
222
|
onClose={() => {}}
|
|
223
223
|
type="info"
|
|
224
224
|
title="There is Orders with identical postcodes that are yet to be delivered.View Orders"
|
|
225
225
|
showOkButton={false}
|
|
226
226
|
showCloseIcon={false}
|
|
227
|
-
/>
|
|
227
|
+
/> */}
|
|
228
228
|
<Wrapper>
|
|
229
229
|
<CustomerInformation />
|
|
230
230
|
<SlotAndInstructions />
|
package/src/components/order-view/order-details/expanded-content/orders-section/DeliveryDate.tsx
CHANGED
|
@@ -46,14 +46,16 @@ function DeliveryDate() {
|
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
|
+
|
|
49
50
|
return (
|
|
50
51
|
<MainContainer>
|
|
51
|
-
<Label label="Delivery Date" />
|
|
52
|
+
<Label label="Delivery Date next" />
|
|
52
53
|
<DatePicker
|
|
53
54
|
onChange={onChange}
|
|
54
55
|
value={actionDate === null ? actionDate : dayjs(actionDate)}
|
|
55
56
|
format="DD/MM/YY"
|
|
56
57
|
style={{ borderRadius: '25px' }}
|
|
58
|
+
allowClear={false}
|
|
57
59
|
/>
|
|
58
60
|
</MainContainer>
|
|
59
61
|
);
|