@bjsdistribution/dms-client-return 0.0.50 → 0.0.52
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/dms-client-return.cjs.development.js +4 -3
- 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 +4 -3
- package/dist/dms-client-return.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/order-daily-overview/header-filters/SelectionFilter.tsx +1 -1
- package/src/components/order-daily-overview/return-order-table/return-orders-filters/returnstyles.ts +6 -0
- package/src/components/order-daily-overview/table/table-data/styles.ts +6 -0
- package/src/index.tsx +1 -0
package/package.json
CHANGED
|
@@ -52,7 +52,7 @@ function SelectionFilter() {
|
|
|
52
52
|
const urlActiontype = searchParams.get('type');
|
|
53
53
|
|
|
54
54
|
const selectedCustomer = customers?.find(
|
|
55
|
-
(customer: any) => customer?.customer_id
|
|
55
|
+
(customer: any) => customer?.customer_id?.toString() === urlCustomerId
|
|
56
56
|
);
|
|
57
57
|
|
|
58
58
|
const accountNumber = selectedCustomer?.account_number;
|
package/src/components/order-daily-overview/return-order-table/return-orders-filters/returnstyles.ts
CHANGED
|
@@ -235,6 +235,10 @@ export const StyledTable = styled.table`
|
|
|
235
235
|
/* min-width: 1600px; */
|
|
236
236
|
thead {
|
|
237
237
|
white-space: nowrap;
|
|
238
|
+
position: sticky;
|
|
239
|
+
top: 0px;
|
|
240
|
+
z-index: 1;
|
|
241
|
+
background: #fff;
|
|
238
242
|
tr {
|
|
239
243
|
border-radius: 40px;
|
|
240
244
|
border-spacing: 0 10px;
|
|
@@ -285,6 +289,8 @@ export const StyledTable = styled.table`
|
|
|
285
289
|
}
|
|
286
290
|
}
|
|
287
291
|
tbody {
|
|
292
|
+
max-height: 400px;
|
|
293
|
+
overflow-y: auto;
|
|
288
294
|
tr {
|
|
289
295
|
td {
|
|
290
296
|
color: #3a3630;
|
|
@@ -46,6 +46,10 @@ export const StyledTable = styled.table`
|
|
|
46
46
|
width: 100%;
|
|
47
47
|
/* min-width: 1600px; */
|
|
48
48
|
thead {
|
|
49
|
+
position: sticky;
|
|
50
|
+
top: 0px;
|
|
51
|
+
z-index: 1;
|
|
52
|
+
background: #fff;
|
|
49
53
|
tr {
|
|
50
54
|
border-radius: 40px;
|
|
51
55
|
border-spacing: 0 10px;
|
|
@@ -88,6 +92,8 @@ export const StyledTable = styled.table`
|
|
|
88
92
|
}
|
|
89
93
|
}
|
|
90
94
|
tbody {
|
|
95
|
+
max-height: 400px;
|
|
96
|
+
overflow-y: auto;
|
|
91
97
|
tr {
|
|
92
98
|
td {
|
|
93
99
|
color: #3a3630;
|