@bjsdistribution/dms-client-return 0.0.44 → 0.0.45
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 +5 -5
- 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 +5 -5
- 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 +3 -3
- package/src/components/order-daily-overview/table/ReturnTable.tsx +5 -1
|
@@ -8930,7 +8930,7 @@ function SelectionFilter() {
|
|
|
8930
8930
|
}
|
|
8931
8931
|
}, [accountNumber, urlCustomerId]);
|
|
8932
8932
|
useEffect(function () {
|
|
8933
|
-
if (urlCustomerId
|
|
8933
|
+
if (urlCustomerId) {
|
|
8934
8934
|
var filteredClient = clientOptions == null ? void 0 : clientOptions.find(function (client) {
|
|
8935
8935
|
return (client == null ? void 0 : client.value) == urlCustomerId;
|
|
8936
8936
|
});
|
|
@@ -8985,8 +8985,8 @@ function SelectionFilter() {
|
|
|
8985
8985
|
}) : []);
|
|
8986
8986
|
setLocationOptions(Array.isArray(clientLocations) ? clientLocations == null ? void 0 : clientLocations.map(function (location) {
|
|
8987
8987
|
return {
|
|
8988
|
-
label: location,
|
|
8989
|
-
value: location
|
|
8988
|
+
label: location == null ? void 0 : location.location_name,
|
|
8989
|
+
value: location == null ? void 0 : location.token
|
|
8990
8990
|
};
|
|
8991
8991
|
}) : []);
|
|
8992
8992
|
//client value
|
|
@@ -11598,9 +11598,9 @@ var ReturnTable$1 = function ReturnTable() {
|
|
|
11598
11598
|
fontWeight: (key == null ? void 0 : key.RTS) > 0 ? 600 : 'normal',
|
|
11599
11599
|
cursor: (key == null ? void 0 : key.RTS) > 0 ? 'pointer' : 'default'
|
|
11600
11600
|
},
|
|
11601
|
-
onClick: function
|
|
11601
|
+
onClick: (key == null ? void 0 : key.RTS) > 0 ? function () {
|
|
11602
11602
|
return handleRedirectRTS(key == null ? void 0 : key.customer_id, 'RTS');
|
|
11603
|
-
}
|
|
11603
|
+
} : undefined
|
|
11604
11604
|
}, React.createElement(ColumStyle, null, React.createElement(GreyBox, {
|
|
11605
11605
|
style: {
|
|
11606
11606
|
backgroundColor: (key == null ? void 0 : key.RTS) > 0 ? 'rgba(99, 150, 229, 0.1)' : 'rgba(153, 153, 153, 0.1)'
|