ordering-ui-react-native 0.22.7 → 0.22.8
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
|
@@ -119,6 +119,8 @@ export const OrderSummary = ({ order, navigation, orderStatus, askBluetoothPermi
|
|
|
119
119
|
}
|
|
120
120
|
</br>
|
|
121
121
|
${t(paymethodsLength > 1 ? 'PAYMENT_METHODS' : 'PAYMENT_METHOD', paymethodsLength > 1 ? 'Payment methods' : 'Payment method')}: ${handlePaymethodsListString()}
|
|
122
|
+
|
|
123
|
+
${order?.comment ? ('</br>'+ t('ORDER_COMMENT', 'Order Comment') + ':' + order?.comment) : ''}
|
|
122
124
|
</p>
|
|
123
125
|
|
|
124
126
|
<h1>${t('CUSTOMER_DETAILS', 'Customer details')}</h1>
|
|
@@ -404,6 +406,13 @@ export const OrderSummary = ({ order, navigation, orderStatus, askBluetoothPermi
|
|
|
404
406
|
</OText>
|
|
405
407
|
|
|
406
408
|
<OText style={{ marginBottom: 5 }}>{`${t(`${paymethodsLength > 1 ? 'PAYMENT_METHODS' : 'PAYMENT_METHOD'}`, `${paymethodsLength > 1 ? 'Payment methods' : 'Payment method'}`)}: ${handlePaymethodsListString()}`}</OText>
|
|
409
|
+
|
|
410
|
+
{order?.comment && (
|
|
411
|
+
<OText style={{ marginBottom: 5 }}>
|
|
412
|
+
{`${t('ORDER_COMMENT', 'Order Comment')}: ${order?.comment}`}
|
|
413
|
+
</OText>
|
|
414
|
+
)}
|
|
415
|
+
|
|
407
416
|
</OrderHeader>
|
|
408
417
|
|
|
409
418
|
<OrderCustomer>
|