ordering-ui-admin-external 1.43.78 → 1.43.80

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.
Files changed (28) hide show
  1. package/_bundles/{ordering-ui-admin.73614a453d64a099acde.js → ordering-ui-admin.66c260b986b4dc7f9f25.js} +2 -2
  2. package/_bundles/{ordering-ui-admin.73614a453d64a099acde.js.LICENSE.txt → ordering-ui-admin.66c260b986b4dc7f9f25.js.LICENSE.txt} +1 -10
  3. package/_modules/components/BusinessIntelligence/InvoiceBusinessPdf/index.js +1 -1
  4. package/_modules/components/BusinessIntelligence/InvoiceDriverPdf/index.js +1 -1
  5. package/_modules/components/Delivery/AddressForm/index.js +1 -1
  6. package/_modules/components/Delivery/DeliveryUsersListing/index.js +2 -2
  7. package/_modules/components/Delivery/DriversGroupsListing/index.js +1 -1
  8. package/_modules/components/Marketing/BannerImageDetails/index.js +1 -1
  9. package/_modules/components/OrderingProducts/SiteTheme/ThemeImage.js +1 -1
  10. package/_modules/components/Orders/CreateCustomOrder/Checkout/index.js +1 -1
  11. package/_modules/components/Orders/CreateCustomOrder/StripeMethodForm/index.js +1 -1
  12. package/_modules/components/Orders/DeliveriesLocation/index.js +2 -2
  13. package/_modules/components/Orders/OrderContactInformation/index.js +1 -1
  14. package/_modules/components/Orders/OrderToPrint/index.js +1 -1
  15. package/_modules/components/Orders/ProductItemAccordion/index.js +1 -1
  16. package/_modules/components/Shared/ImageCrop/index.js +1 -1
  17. package/_modules/components/SidebarMenu/index.js +1 -1
  18. package/_modules/components/Stores/BusinessDeliveryGroupsDetails/index.js +1 -1
  19. package/_modules/components/Stores/BusinessLocation/index.js +1 -1
  20. package/_modules/components/Stores/BusinessServiceProfessionalDetail/index.js +2 -2
  21. package/_modules/components/Stores/BusinessesListing/index.js +1 -1
  22. package/_modules/components/Stores/ProductDetailsAdvanced/index.js +1 -1
  23. package/_modules/components/Stores/ProductExtras/index.js +1 -1
  24. package/_modules/contexts/ProjectContext/index.js +1 -1
  25. package/_modules/utils/index.js +3 -3
  26. package/package.json +2 -2
  27. package/src/components/Orders/OrderToPrint/index.js +1 -1
  28. package/src/components/Orders/ProductItemAccordion/index.js +1 -1
@@ -105,13 +105,6 @@ object-assign
105
105
  * Released under the MIT license
106
106
  */
107
107
 
108
- /*!
109
- * The buffer module from node.js, for the browser.
110
- *
111
- * @author Feross Aboukhadijeh <http://feross.org>
112
- * @license MIT
113
- */
114
-
115
108
  /*!
116
109
  * jQuery JavaScript Library v3.7.1
117
110
  * https://jquery.com/
@@ -168,9 +161,7 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
168
161
  PERFORMANCE OF THIS SOFTWARE.
169
162
  ***************************************************************************** */
170
163
 
171
- /*! @license DOMPurify 2.5.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.6/LICENSE */
172
-
173
- /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
164
+ /*! @license DOMPurify 2.5.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.7/LICENSE */
174
165
 
175
166
  /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
176
167
 
@@ -119,7 +119,7 @@ var InvoiceBusinessPdf = exports.InvoiceBusinessPdf = function InvoiceBusinessPd
119
119
  base64ImageString = _useState2[0],
120
120
  setBase64ImageString = _useState2[1];
121
121
  var getBase64ImageFromUrl = /*#__PURE__*/function () {
122
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(imageUrl) {
122
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(imageUrl) {
123
123
  var response, blob;
124
124
  return _regeneratorRuntime().wrap(function _callee$(_context) {
125
125
  while (1) switch (_context.prev = _context.next) {
@@ -113,7 +113,7 @@ var InvoiceDriverPdf = exports.InvoiceDriverPdf = function InvoiceDriverPdf(prop
113
113
  base64ImageString = _useState2[0],
114
114
  setBase64ImageString = _useState2[1];
115
115
  var getBase64ImageFromUrl = /*#__PURE__*/function () {
116
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(imageUrl) {
116
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(imageUrl) {
117
117
  var response, blob;
118
118
  return _regeneratorRuntime().wrap(function _callee$(_context) {
119
119
  while (1) switch (_context.prev = _context.next) {
@@ -225,7 +225,7 @@ var AddressFormUI = function AddressFormUI(props) {
225
225
  }
226
226
  };
227
227
  var onSubmit = /*#__PURE__*/function () {
228
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
228
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
229
229
  var _formState$changes3, _addressState$address6, _formState$changes4, _formState$changes5, _arrayList$map$some2;
230
230
  var _formState$changes6, arrayList, addressToCompare, isAddressAlreadyExist;
231
231
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -169,7 +169,7 @@ var DeliveryUsersListingUI = function DeliveryUsersListingUI(props) {
169
169
  }
170
170
  };
171
171
  var handleSetStorage = /*#__PURE__*/function () {
172
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
172
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
173
173
  var preVisited, visited;
174
174
  return _regeneratorRuntime().wrap(function _callee$(_context) {
175
175
  while (1) switch (_context.prev = _context.next) {
@@ -202,7 +202,7 @@ var DeliveryUsersListingUI = function DeliveryUsersListingUI(props) {
202
202
  };
203
203
  }();
204
204
  var getDataFromStorage = /*#__PURE__*/function () {
205
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
205
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
206
206
  var value;
207
207
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
208
208
  while (1) switch (_context2.prev = _context2.next) {
@@ -171,7 +171,7 @@ var DriversGroupsListingUI = function DriversGroupsListingUI(props) {
171
171
  }, 50);
172
172
  };
173
173
  var getDataFromStorage = /*#__PURE__*/function () {
174
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
174
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
175
175
  var value;
176
176
  return _regeneratorRuntime().wrap(function _callee$(_context) {
177
177
  while (1) switch (_context.prev = _context.next) {
@@ -131,7 +131,7 @@ var BannerImageDetailsUI = function BannerImageDetailsUI(props) {
131
131
  open: true,
132
132
  content: t('QUESTION_DELETE_ITEM', 'Are you sure to delete this _item_?').replace('_item_', t('IMAGE', 'Image')),
133
133
  handleOnAccept: function () {
134
- var _handleOnAccept = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
134
+ var _handleOnAccept = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
135
135
  var _imageState$image;
136
136
  return _regeneratorRuntime().wrap(function _callee$(_context) {
137
137
  while (1) switch (_context.prev = _context.next) {
@@ -99,7 +99,7 @@ var ThemeImage = exports.ThemeImage = function ThemeImage(props) {
99
99
  }
100
100
  };
101
101
  var handleChangePhoto = /*#__PURE__*/function () {
102
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(croppedImg) {
102
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(croppedImg) {
103
103
  var _yield$handleAddTheme, error, result;
104
104
  return _regeneratorRuntime().wrap(function _callee$(_context) {
105
105
  while (1) switch (_context.prev = _context.next) {
@@ -326,7 +326,7 @@ var Checkout = exports.Checkout = function Checkout(props) {
326
326
  }
327
327
  }, [errors]);
328
328
  var getOrder = /*#__PURE__*/function () {
329
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(cartId) {
329
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(cartId) {
330
330
  var _result$order, result, cart, userCustomer, url, response, content, _result, credomaticData, urlParams, paramsObj, _confirmCartRes$resul, confirmCartRes, _cart, spotNumberFromStorage, _JSON$parse, _JSON$parse2, _cart2, spotNumber, slug;
331
331
  return _regeneratorRuntime().wrap(function _callee$(_context) {
332
332
  while (1) switch (_context.prev = _context.next) {
@@ -78,7 +78,7 @@ var StripeMethodFormUI = exports.StripeMethodFormUI = function StripeMethodFormU
78
78
  }
79
79
  });
80
80
  pr.on('paymentmethod', /*#__PURE__*/function () {
81
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(e) {
81
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(e) {
82
82
  var _e$paymentMethod, _e$paymentMethod2;
83
83
  var data;
84
84
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -192,7 +192,7 @@ var DeliveriesLocation = exports.DeliveriesLocation = function DeliveriesLocatio
192
192
  (0, _react.useEffect)(function () {
193
193
  if (!interActionMapOrder || interActionMapOrder !== null && interActionMapOrder !== void 0 && interActionMapOrder.driver) return;
194
194
  var getControls = /*#__PURE__*/function () {
195
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(order) {
195
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(order) {
196
196
  var _yield$ordering$setAc, _yield$ordering$setAc2, errorResponse, response, error, result, driversControls, _result$drivers;
197
197
  return _regeneratorRuntime().wrap(function _callee$(_context) {
198
198
  while (1) switch (_context.prev = _context.next) {
@@ -236,7 +236,7 @@ var DeliveriesLocation = exports.DeliveriesLocation = function DeliveriesLocatio
236
236
  };
237
237
  }();
238
238
  var fetchData = /*#__PURE__*/function () {
239
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
239
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
240
240
  var driversControls;
241
241
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
242
242
  while (1) switch (_context2.prev = _context2.next) {
@@ -121,7 +121,7 @@ var OrderContactInformation = exports.OrderContactInformation = function OrderCo
121
121
  });
122
122
  };
123
123
  var handleUpdateCustomer = /*#__PURE__*/function () {
124
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
124
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
125
125
  return _regeneratorRuntime().wrap(function _callee$(_context) {
126
126
  while (1) switch (_context.prev = _context.next) {
127
127
  case 0:
@@ -82,7 +82,7 @@ var OrderToPrint = exports.OrderToPrint = /*#__PURE__*/(0, _react.forwardRef)(fu
82
82
  price = _ref.price;
83
83
  if (name !== 'No') {
84
84
  var pos = position ? "(".concat(position, ")") : '';
85
- return price > 0 ? "".concat(name, " ").concat(pos, " ").concat(parsePrice(quantity * price, {
85
+ return price > 0 ? "".concat(quantity, " x ").concat(name, " ").concat(pos, " +").concat(parsePrice(price, {
86
86
  currency: (0, _utils.getCurrenySymbol)(order === null || order === void 0 ? void 0 : order.currency)
87
87
  })) : "".concat(name, " ").concat(pos);
88
88
  } else {
@@ -143,7 +143,7 @@ var ProductItemAccordion = exports.ProductItemAccordion = function ProductItemAc
143
143
  price = _ref9.price;
144
144
  if (name !== 'No') {
145
145
  var pos = position ? "(".concat(position, ")") : '';
146
- return price > 0 ? "".concat(name, " ").concat(pos, " ").concat(parsePrice(quantity * price, {
146
+ return price > 0 ? "".concat(quantity, " x ").concat(name, " ").concat(pos, " +").concat(parsePrice(price, {
147
147
  currency: currency
148
148
  })) : "".concat(name, " ").concat(pos);
149
149
  } else {
@@ -67,7 +67,7 @@ var ImageCrop = exports.ImageCrop = function ImageCrop(props) {
67
67
  setZoomValue(value);
68
68
  };
69
69
  var getCropData = /*#__PURE__*/function () {
70
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
70
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
71
71
  var _photo, response, _yield$response$json, result, error;
72
72
  return _regeneratorRuntime().wrap(function _callee$(_context) {
73
73
  while (1) switch (_context.prev = _context.next) {
@@ -370,7 +370,7 @@ var SidebarMenuUI = function SidebarMenuUI(props) {
370
370
  }
371
371
  }, [windowSize.width]);
372
372
  var handleClickBilling = /*#__PURE__*/function () {
373
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
373
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
374
374
  var _billingState$result;
375
375
  var billingState, _billingState$result2, _billingState$result3, _billingState$result4;
376
376
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -83,7 +83,7 @@ var DriversGroupsListingDetailsUI = function DriversGroupsListingDetailsUI(props
83
83
  }
84
84
  }, [(_history$location2 = history.location) === null || _history$location2 === void 0 || (_history$location2 = _history$location2.state) === null || _history$location2 === void 0 ? void 0 : _history$location2.isFromTourDriversGroup]);
85
85
  var getDataFromStorage = /*#__PURE__*/function () {
86
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
86
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
87
87
  var value;
88
88
  return _regeneratorRuntime().wrap(function _callee$(_context) {
89
89
  while (1) switch (_context.prev = _context.next) {
@@ -89,7 +89,7 @@ var BusinessLocation = exports.BusinessLocation = function BusinessLocation(prop
89
89
  });
90
90
  };
91
91
  var getTimeZone = /*#__PURE__*/function () {
92
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(address) {
92
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(address) {
93
93
  var _address$location, _address$location2;
94
94
  var date, timestamp, timezoneApiKey, url, response, result;
95
95
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -74,7 +74,7 @@ var BusinessServiceProfessionalDetail = exports.BusinessServiceProfessionalDetai
74
74
  document.getElementById('business_service').style.width = value ? width > 1000 ? '500px' : '100%' : '0';
75
75
  };
76
76
  var onDeleteCustomer = /*#__PURE__*/function () {
77
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
77
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
78
78
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
79
79
  while (1) switch (_context2.prev = _context2.next) {
80
80
  case 0:
@@ -82,7 +82,7 @@ var BusinessServiceProfessionalDetail = exports.BusinessServiceProfessionalDetai
82
82
  open: true,
83
83
  content: t('QUESTION_DELETE_USER', 'Are you sure that you want to delete this user?'),
84
84
  handleOnAccept: function () {
85
- var _handleOnAccept = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
85
+ var _handleOnAccept = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
86
86
  return _regeneratorRuntime().wrap(function _callee$(_context) {
87
87
  while (1) switch (_context.prev = _context.next) {
88
88
  case 0:
@@ -181,7 +181,7 @@ var BusinessesListingUI = function BusinessesListingUI(props) {
181
181
  handleOpenAddBusiness();
182
182
  };
183
183
  var handleSetStorage = /*#__PURE__*/function () {
184
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
184
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
185
185
  var preVisited, visited;
186
186
  return _regeneratorRuntime().wrap(function _callee$(_context) {
187
187
  while (1) switch (_context.prev = _context.next) {
@@ -139,7 +139,7 @@ var ProductDetailsAdvancedUI = function ProductDetailsAdvancedUI(props) {
139
139
  });
140
140
  };
141
141
  var getTaxes = /*#__PURE__*/function () {
142
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
142
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
143
143
  var inheritOption, addTaxOption, taxesOptions;
144
144
  return _regeneratorRuntime().wrap(function _callee$(_context) {
145
145
  while (1) switch (_context.prev = _context.next) {
@@ -167,7 +167,7 @@ var ProductExtrasUI = function ProductExtrasUI(props) {
167
167
  setTimer(_timer);
168
168
  };
169
169
  var handleChangeExtra = /*#__PURE__*/function () {
170
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(id, changes) {
170
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(id, changes) {
171
171
  var _extraInputRef$curren;
172
172
  return _regeneratorRuntime().wrap(function _callee$(_context) {
173
173
  while (1) switch (_context.prev = _context.next) {
@@ -50,7 +50,7 @@ var ProjectProvider = exports.ProjectProvider = function ProjectProvider(_ref) {
50
50
  state = _useState2[0],
51
51
  setState = _useState2[1];
52
52
  var getProjectStatus = /*#__PURE__*/function () {
53
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
53
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
54
54
  var response, _yield$response$json, error, result;
55
55
  return _regeneratorRuntime().wrap(function _callee$(_context) {
56
56
  while (1) switch (_context.prev = _context.next) {
@@ -261,7 +261,7 @@ var verifyDecimals = exports.verifyDecimals = function verifyDecimals(value, par
261
261
  * Fuctions to control the local storage
262
262
  */
263
263
  var getStorageItem = exports.getStorageItem = /*#__PURE__*/function () {
264
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(storageKey, isJson) {
264
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(storageKey, isJson) {
265
265
  var value;
266
266
  return _regeneratorRuntime().wrap(function _callee$(_context) {
267
267
  while (1) switch (_context.prev = _context.next) {
@@ -288,7 +288,7 @@ var getStorageItem = exports.getStorageItem = /*#__PURE__*/function () {
288
288
  };
289
289
  }();
290
290
  var setStorageItem = exports.setStorageItem = /*#__PURE__*/function () {
291
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(key, val, isJson) {
291
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(key, val, isJson) {
292
292
  var value;
293
293
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
294
294
  while (1) switch (_context2.prev = _context2.next) {
@@ -307,7 +307,7 @@ var setStorageItem = exports.setStorageItem = /*#__PURE__*/function () {
307
307
  };
308
308
  }();
309
309
  var removeStorageItem = exports.removeStorageItem = /*#__PURE__*/function () {
310
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(key) {
310
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(key) {
311
311
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
312
312
  while (1) switch (_context3.prev = _context3.next) {
313
313
  case 0:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-admin-external",
3
- "version": "1.43.78",
3
+ "version": "1.43.80",
4
4
  "description": "Ordering UI Admin Components",
5
5
  "main": "./_modules/index.js",
6
6
  "exports": {
@@ -83,7 +83,7 @@
83
83
  "lodash": "^4.17.20",
84
84
  "moment": "^2.29.1",
85
85
  "moment-range": "^4.0.2",
86
- "ordering-components-admin-external": "1.43.51",
86
+ "ordering-components-admin-external": "1.43.52",
87
87
  "polished": "^3.6.7",
88
88
  "prop-types": "^15.7.2",
89
89
  "react-big-calendar": "^1.4.2",
@@ -82,7 +82,7 @@ export const OrderToPrint = forwardRef((props, ref) => {
82
82
  const getFormattedSubOptionName = ({ quantity, name, position, price }) => {
83
83
  if (name !== 'No') {
84
84
  const pos = position ? `(${position})` : ''
85
- return price > 0 ? `${name} ${pos} ${parsePrice(quantity * price, { currency: getCurrenySymbol(order?.currency) })}` : `${name} ${pos}`
85
+ return price > 0 ? `${quantity} x ${name} ${pos} +${parsePrice(price, { currency: getCurrenySymbol(order?.currency) })}` : `${name} ${pos}`
86
86
  } else {
87
87
  return 'No'
88
88
  }
@@ -110,7 +110,7 @@ export const ProductItemAccordion = (props) => {
110
110
  const getFormattedSubOptionName = ({ quantity, name, position, price }) => {
111
111
  if (name !== 'No') {
112
112
  const pos = position ? `(${position})` : ''
113
- return price > 0 ? `${name} ${pos} ${parsePrice(quantity * price, { currency: currency })}` : `${name} ${pos}`
113
+ return price > 0 ? `${quantity} x ${name} ${pos} +${parsePrice(price, { currency })}` : `${name} ${pos}`
114
114
  } else {
115
115
  return 'No'
116
116
  }