ordering-ui-react-native 0.23.10 → 0.23.12
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
|
@@ -566,7 +566,7 @@ export const OrderSummary = ({ order, navigation, orderStatus, askBluetoothPermi
|
|
|
566
566
|
</OText>
|
|
567
567
|
)}
|
|
568
568
|
|
|
569
|
-
{order?.customer?.address_notes && (
|
|
569
|
+
{!!order?.customer?.address_notes && (
|
|
570
570
|
<OText style={{ marginBottom: 5 }}>
|
|
571
571
|
{`${t('NOTES', 'Notes')}: ${order?.customer?.address_notes}`}
|
|
572
572
|
</OText>
|
|
@@ -665,7 +665,7 @@ export const OrderSummary = ({ order, navigation, orderStatus, askBluetoothPermi
|
|
|
665
665
|
{t('ORDER_DETAILS', 'Order Details')}
|
|
666
666
|
</OText>
|
|
667
667
|
|
|
668
|
-
{order?.comment && (
|
|
668
|
+
{!!order?.comment && (
|
|
669
669
|
<OText style={{ marginBottom: 5 }}>
|
|
670
670
|
{`${t('ORDER_COMMENT', 'Order Comment')}: ${order?.comment}`}
|
|
671
671
|
</OText>
|
|
@@ -985,7 +985,7 @@ export const OrderDetailsUI = (props: OrderDetailsParams) => {
|
|
|
985
985
|
{typeof order?.summary?.delivery_price === 'number' && !isPickup && (
|
|
986
986
|
<Table>
|
|
987
987
|
<OText size={12} lineHeight={18} weight={'400'} color={theme.colors.textNormal}>{t('DELIVERY_FEE', 'Delivery Fee')}</OText>
|
|
988
|
-
<OText size={12} lineHeight={18} weight={'400'} color={theme.colors.textNormal}>{parsePrice(order?.summary?.delivery_price
|
|
988
|
+
<OText size={12} lineHeight={18} weight={'400'} color={theme.colors.textNormal}>{parsePrice(order?.summary?.delivery_price + getIncludedTaxes(true))}</OText>
|
|
989
989
|
</Table>
|
|
990
990
|
)}
|
|
991
991
|
{
|