ordering-ui-react-native 0.21.90 → 0.21.92
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
|
@@ -140,8 +140,10 @@ export const OrderSummary = ({ order, navigation, orderStatus, askBluetoothPermi
|
|
|
140
140
|
} </br>`
|
|
141
141
|
: ''
|
|
142
142
|
}
|
|
143
|
-
|
|
144
|
-
|
|
143
|
+
${order?.customer.zipcode ?
|
|
144
|
+
`${t('ZIPCODE', 'Zipcode')}: ${order?.customer.zipcode}`
|
|
145
|
+
: ''}
|
|
146
|
+
</p>
|
|
145
147
|
|
|
146
148
|
<h1>${t('BUSINESS_DETAILS', 'Business details')}</h1>
|
|
147
149
|
<p style="font-size: 27px">
|
|
@@ -241,15 +243,18 @@ export const OrderSummary = ({ order, navigation, orderStatus, askBluetoothPermi
|
|
|
241
243
|
: ''
|
|
242
244
|
}
|
|
243
245
|
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
246
|
+
${order?.summary?.delivery_price > 0 ?
|
|
247
|
+
` <div style="display: flex">
|
|
248
|
+
<div style="font-size: 26px; width: 70%; display: flex; justify-content: flex-start">
|
|
249
|
+
${t('DELIVERY_FEE', 'Delivery Fee')}
|
|
250
|
+
</div>
|
|
251
|
+
|
|
252
|
+
<div style="font-size: 26px; width: 30%; display: flex; justify-content: flex-end">
|
|
253
|
+
${parsePrice(order?.summary?.delivery_price ?? 0)}
|
|
254
|
+
</div>` :
|
|
255
|
+
''}
|
|
252
256
|
|
|
257
|
+
</div>
|
|
253
258
|
<div style="display: flex">
|
|
254
259
|
|
|
255
260
|
<div style="font-size: 26px; width: 70%; display: flex; justify-content: flex-start">
|