iticket-seatingplan-dev 1.2.9 → 1.3.1

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.
@@ -142,7 +142,7 @@ const SeatingPlan = _ref => {
142
142
  showingId: showingId,
143
143
  pId: priceage.paId,
144
144
  p: priceage.p,
145
- paName: s.priceAgeName
145
+ paName: priceage.paName
146
146
  }]);
147
147
  const event = {
148
148
  type: 'cart-change-add',
@@ -153,7 +153,7 @@ const SeatingPlan = _ref => {
153
153
  showingId: showingId,
154
154
  pId: priceage.paId,
155
155
  p: priceage.p,
156
- paName: s.priceAgeName
156
+ paName: priceage.paName
157
157
  }]
158
158
  };
159
159
  callbackFunction(event);
@@ -199,7 +199,7 @@ const SeatingPlan = _ref => {
199
199
  setProcessing(false);
200
200
  const event = {
201
201
  type: 'cart-change-remove',
202
- details: bookedSeats.filter(bs => bs.ssId !== s.ssId)
202
+ details: bookedSeats.filter(bs => bs.ssId === s.ssId)
203
203
  };
204
204
  callbackFunction(event);
205
205
  }).catch(error => {
@@ -280,7 +280,8 @@ const SeatingPlan = _ref => {
280
280
  c: s.c,
281
281
  showingId: showingId,
282
282
  p: price || s.defaultPrice,
283
- paName: s.priceAgeName
283
+ psId: null,
284
+ paName: null
284
285
  })));
285
286
  img.onload = () => {
286
287
  setPosition([img.height * 0.005, img.width * 0.005]);
@@ -536,7 +537,7 @@ const SeatingPlan = _ref => {
536
537
  // height * (height > 700 ? 0.0001 : 0.0006),
537
538
  // s.x * 0.6 + 0.25,
538
539
 
539
- height * 0.05 - s.y / (height > 800 ? height > 999 ? 3.5 : 3.3 : 3.35) - (height > 800 ? height > 999 ? height * 0.0201 : height * 0.0198 : height * 0.0206), s.x * 0.3 + 0.15
540
+ height * 0.05 - s.y / (height > 800 ? height > 999 ? 3.5 : 3.3 : 3.35) - (height > 800 ? height > 999 ? height * 0.0201 : height * 0.0198 : height * 0.0201), s.x * 0.3 + 0.15
540
541
 
541
542
  // height * 0.04 -
542
543
  // s.y / (height > 800 ? 3.5 : 3.35) -
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "iticket-seatingplan-dev",
3
3
  "description": "Seating plan with FLEXi pricing",
4
4
  "author": "gedwyne",
5
- "version": "1.2.9",
5
+ "version": "1.3.1",
6
6
  "private": false,
7
7
  "keywords": [
8
8
  "iticket",