ordering-ui-react-native 0.23.85 → 0.23.87

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-react-native",
3
- "version": "0.23.85",
3
+ "version": "0.23.87",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -215,7 +215,6 @@ export const AcceptOrRejectOrder = (props: AcceptOrRejectOrderParams) => {
215
215
  const orderStatus: any = {
216
216
  acceptByBusiness: {
217
217
  prepared_in: time,
218
- status: 7,
219
218
  },
220
219
  rejectByBusiness: {
221
220
  reasons: comments,
@@ -287,7 +287,7 @@ const SingleOrderCardUI = (props: SingleOrderCardParams) => {
287
287
  ) : (
288
288
  <Price>
289
289
  <OText size={12} lineHeight={18}>
290
- {parsePrice(order?.total)}
290
+ {parsePrice(order?.summary?.total ?? order?.total)}
291
291
  </OText>
292
292
  </Price>
293
293
  )}