@bjsdistribution/dms-client-return 0.1.64-prod → 0.1.65-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/dms-client-return.cjs.development.js +10 -10
- 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 -10
- 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 +3 -3
- package/src/components/order-daily-overview/return-order-table/return-orders-filters/ReturnOrderTable.tsx +2 -2
|
@@ -2690,13 +2690,13 @@ var ReturnOrderTable = function ReturnOrderTable() {
|
|
|
2690
2690
|
}
|
|
2691
2691
|
}, React.createElement("div", {
|
|
2692
2692
|
className: "sortIconClass"
|
|
2693
|
-
}, "Return Location ", renderSortIcon('return_location_name'))), React.createElement("th", {
|
|
2693
|
+
}, "Return Location ", renderSortIcon('return_location_name'))), React.createElement("th", null, "Client"), React.createElement("th", {
|
|
2694
2694
|
onClick: function onClick() {
|
|
2695
2695
|
return handleSort('recipient_name');
|
|
2696
2696
|
}
|
|
2697
2697
|
}, React.createElement("div", {
|
|
2698
2698
|
className: "sortIconClass"
|
|
2699
|
-
}, "Recipient ", renderSortIcon('recipient_name'))), React.createElement("th", null, "
|
|
2699
|
+
}, "Recipient ", renderSortIcon('recipient_name'))), React.createElement("th", null, "Return Action"), React.createElement("th", null, "Code"), React.createElement("th", null, "Description"), React.createElement("th", null, "Part"), React.createElement("th", {
|
|
2700
2700
|
onClick: function onClick() {
|
|
2701
2701
|
return handleSort('weight');
|
|
2702
2702
|
}
|
|
@@ -2736,7 +2736,9 @@ var ReturnOrderTable = function ReturnOrderTable() {
|
|
|
2736
2736
|
}
|
|
2737
2737
|
}) : null), React.createElement("td", null, (item == null ? void 0 : item.location) !== null && (item == null ? void 0 : item.location) !== undefined ? item == null ? void 0 : item.location : React.createElement("div", {
|
|
2738
2738
|
className: "awaiting"
|
|
2739
|
-
}, "Awaiting")), React.createElement("td", null, " ", displayValueOrNA(item == null ? void 0 : item.return_location_name)), React.createElement("td",
|
|
2739
|
+
}, "Awaiting")), React.createElement("td", null, " ", displayValueOrNA(item == null ? void 0 : item.return_location_name)), React.createElement("td", {
|
|
2740
|
+
title: (_item$client_name = item == null ? void 0 : item.client_name) != null ? _item$client_name : ''
|
|
2741
|
+
}, displayValueOrNA(item == null ? void 0 : item.client_name)), React.createElement("td", null, React.createElement("ul", {
|
|
2740
2742
|
style: {
|
|
2741
2743
|
listStyleType: 'none',
|
|
2742
2744
|
padding: 0
|
|
@@ -2753,9 +2755,7 @@ var ReturnOrderTable = function ReturnOrderTable() {
|
|
|
2753
2755
|
style: {
|
|
2754
2756
|
color: '#888075'
|
|
2755
2757
|
}
|
|
2756
|
-
}, displayValueOrNA(item == null ? void 0 : item.postcode)))), React.createElement("td", {
|
|
2757
|
-
title: (_item$client_name = item == null ? void 0 : item.client_name) != null ? _item$client_name : ''
|
|
2758
|
-
}, displayValueOrNA(item == null ? void 0 : item.client_name)), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.product_return_action)), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.code)), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.description)), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.part)), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.weight), ' ', item != null && item.weight && (item == null ? void 0 : item.weight) !== null ? WEIGHT_UNIT : ''), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.cube)), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.return_reason)), React.createElement("td", null, item != null && item.collected_at ? format(new Date(item == null ? void 0 : item.collected_at), 'dd/MM/yyyy') : 'UNKNOWN'), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.collection_reason)), React.createElement("td", null, React.createElement("ul", {
|
|
2758
|
+
}, displayValueOrNA(item == null ? void 0 : item.postcode)))), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.product_return_action)), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.code)), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.description)), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.part)), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.weight), ' ', item != null && item.weight && (item == null ? void 0 : item.weight) !== null ? WEIGHT_UNIT : ''), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.cube)), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.return_reason)), React.createElement("td", null, item != null && item.collected_at ? format(new Date(item == null ? void 0 : item.collected_at), 'dd/MM/yyyy') : 'UNKNOWN'), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.collection_reason)), React.createElement("td", null, React.createElement("ul", {
|
|
2759
2759
|
className: "actionbox"
|
|
2760
2760
|
}, React.createElement(CustomDrop, {
|
|
2761
2761
|
ref: dropdownRefParent,
|
|
@@ -3725,13 +3725,13 @@ var OrderTable = function OrderTable() {
|
|
|
3725
3725
|
}
|
|
3726
3726
|
}, React.createElement("div", {
|
|
3727
3727
|
className: "sortIconClass"
|
|
3728
|
-
}, "Return Location ", renderSortIcon('return_location_name'))), React.createElement("th", null, "Pick Up Location"), React.createElement("th", {
|
|
3728
|
+
}, "Return Location ", renderSortIcon('return_location_name'))), React.createElement("th", null, "Pick Up Location"), React.createElement("th", null, " Client"), React.createElement("th", {
|
|
3729
3729
|
onClick: function onClick() {
|
|
3730
3730
|
return handleSort('recipient_name');
|
|
3731
3731
|
}
|
|
3732
3732
|
}, React.createElement("div", {
|
|
3733
3733
|
className: "sortIconClass"
|
|
3734
|
-
}, "Recipient ", renderSortIcon('recipient_name'))), React.createElement("th", null, "
|
|
3734
|
+
}, "Recipient ", renderSortIcon('recipient_name'))), React.createElement("th", null, "Consignment"), React.createElement("th", null, "Return Order No"), React.createElement("th", null, " Total Parts"), React.createElement("th", null, " Total Orders"), React.createElement("th", {
|
|
3735
3735
|
onClick: function onClick() {
|
|
3736
3736
|
return handleSort('weight');
|
|
3737
3737
|
}
|
|
@@ -3770,7 +3770,7 @@ var OrderTable = function OrderTable() {
|
|
|
3770
3770
|
var statusClass = getStatusClass(status);
|
|
3771
3771
|
return React.createElement("tr", {
|
|
3772
3772
|
key: item.id
|
|
3773
|
-
}, React.createElement("td", null, formatDate(new Date(item == null ? void 0 : item.created_at))), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.return_location_name)), React.createElement("td", null, item != null && (_item$locations = item.locations) != null && _item$locations.length ? item == null ? void 0 : item.locations.join(', ') : 'N/A'), React.createElement("td", {
|
|
3773
|
+
}, React.createElement("td", null, formatDate(new Date(item == null ? void 0 : item.created_at))), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.return_location_name)), React.createElement("td", null, item != null && (_item$locations = item.locations) != null && _item$locations.length ? item == null ? void 0 : item.locations.join(', ') : 'N/A'), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.customer_name)), React.createElement("td", {
|
|
3774
3774
|
onClick: function onClick() {
|
|
3775
3775
|
return setOrderId(item.id);
|
|
3776
3776
|
}
|
|
@@ -3791,7 +3791,7 @@ var OrderTable = function OrderTable() {
|
|
|
3791
3791
|
style: {
|
|
3792
3792
|
color: '#888075'
|
|
3793
3793
|
}
|
|
3794
|
-
}, displayValueOrNA(item == null ? void 0 : item.postcode)))), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.
|
|
3794
|
+
}, displayValueOrNA(item == null ? void 0 : item.postcode)))), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.consignment)), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.order_number)), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.total_products)), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.total_orders)), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.weight), ' ', item != null && item.weight && (item == null ? void 0 : item.weight) > 0 ? WEIGHT_UNIT : ''), React.createElement("td", null, displayValueOrNA(item == null ? void 0 : item.cube)), React.createElement("td", {
|
|
3795
3795
|
key: item.id
|
|
3796
3796
|
}, React.createElement(StyledAntSelect$1, {
|
|
3797
3797
|
options: assignOptions,
|