ordering-ui-react-native 0.21.54 → 0.21.55
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/package.json
CHANGED
|
@@ -266,7 +266,7 @@ export const OrderHeaderComponent = (props: OrderHeader) => {
|
|
|
266
266
|
{order?.external_id && (
|
|
267
267
|
<OText size={13}>
|
|
268
268
|
<OText size={13} weight='bold'>{`${t('EXTERNAL_ID', 'External ID :')} `}</OText>
|
|
269
|
-
{order?.external_id}
|
|
269
|
+
{order?.external_id}
|
|
270
270
|
</OText>
|
|
271
271
|
)}
|
|
272
272
|
{!order?.isLogistic && !!order?.delivery_type && (!order?.order_group_id || !logisticOrderStatus?.includes(order?.status)) && (
|
|
@@ -75,6 +75,7 @@ const OrdersOptionUI = (props: OrdersOptionParams) => {
|
|
|
75
75
|
|
|
76
76
|
const defaultSearchList = {
|
|
77
77
|
id: '',
|
|
78
|
+
external_id: '',
|
|
78
79
|
state: '',
|
|
79
80
|
city: '',
|
|
80
81
|
business: '',
|
|
@@ -727,6 +728,21 @@ const OrdersOptionUI = (props: OrdersOptionParams) => {
|
|
|
727
728
|
onPress={() => setSearch({ ...search, id: '' })}
|
|
728
729
|
/>
|
|
729
730
|
</InputContainer>
|
|
731
|
+
<InputContainer>
|
|
732
|
+
<OInput
|
|
733
|
+
value={search.external_id}
|
|
734
|
+
onChange={(value: any) => setSearch({ ...search, external_id: value })}
|
|
735
|
+
style={styles.inputStyle}
|
|
736
|
+
placeholder={t('EXTERNAL_ID', 'External id')}
|
|
737
|
+
autoCorrect={false}
|
|
738
|
+
/>
|
|
739
|
+
<AntDesignIcon
|
|
740
|
+
name='close'
|
|
741
|
+
size={20}
|
|
742
|
+
style={{ position: 'absolute', right: 12, top: 13 }}
|
|
743
|
+
onPress={() => setSearch({ ...search, external_id: '' })}
|
|
744
|
+
/>
|
|
745
|
+
</InputContainer>
|
|
730
746
|
<OrdersOptionDate
|
|
731
747
|
{...props}
|
|
732
748
|
search={search}
|