meemup-library 1.4.99 → 1.5.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.
@@ -317,6 +317,7 @@ class OrderToolController {
317
317
  text: item.text,
318
318
  extraItemOptionId: item.extraItemOptionId,
319
319
  extraItemOptionTitle: item.extraItemOptionTitle,
320
+ doNotPrintOnReceipt: item.doNotPrintOnReceipt
320
321
  };
321
322
  }
322
323
  convertOrderItemToOrderDetailProduct(item, currency) {
@@ -128,6 +128,7 @@ export default new class ProductModalController {
128
128
  extraTitle: ((_a = extras.find(i => i.id === extra.extraId)) === null || _a === void 0 ? void 0 : _a.title) + "",
129
129
  extraItemOptionId: extraItem.optionId,
130
130
  extraItemOptionTitle: extraItem.optionTitle,
131
+ doNotPrintOnReceipt: extraItem.doNotPrintOnReceipt,
131
132
  });
132
133
  });
133
134
  });
@@ -222,7 +223,7 @@ export default new class ProductModalController {
222
223
  weight: extraItemModel.weight,
223
224
  options: extraItemModel.options,
224
225
  optionId: it.extraItemOptionId,
225
- doNotPrintOnReciept: extraItemModel.doNotPrintOnReciept,
226
+ doNotPrintOnReceipt: extraItemModel.doNotPrintOnReceipt,
226
227
  optionTitle: ((_a = extraItemModel.options.find(i => i.id === it.extraItemOptionId)) === null || _a === void 0 ? void 0 : _a.title) + ""
227
228
  });
228
229
  }
@@ -22,7 +22,7 @@ interface IExtraItem {
22
22
  oldId: number;
23
23
  packagingCost: string;
24
24
  weight: number;
25
- doNotPrintOnReciept: boolean;
25
+ doNotPrintOnReceipt: boolean;
26
26
  options: IExtraItemOption[];
27
27
  }
28
28
  export declare const initExtraItem: IExtraItem;
@@ -21,6 +21,6 @@ export const initExtraItem = {
21
21
  oldId: -1,
22
22
  packagingCost: "0.00",
23
23
  weight: 0,
24
- doNotPrintOnReciept: false,
24
+ doNotPrintOnReceipt: false,
25
25
  options: []
26
26
  };
@@ -12,5 +12,6 @@ interface IPointOfSaleOrderExtraItem {
12
12
  text: string;
13
13
  extraItemOptionTitle: string;
14
14
  extraItemOptionId: number;
15
+ doNotPrintOnReceipt: boolean;
15
16
  }
16
17
  export default IPointOfSaleOrderExtraItem;
@@ -12,5 +12,6 @@ interface IOrderDetailProductsExtra {
12
12
  text: string;
13
13
  extraItemOptionId: number | null;
14
14
  extraItemOptionTitle: string;
15
+ doNotPrintOnReceipt: boolean;
15
16
  }
16
17
  export default IOrderDetailProductsExtra;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.4.99",
3
+ "version": "1.5.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,7 +11,7 @@
11
11
  "remove:one": "rimraf dist",
12
12
  "remove:two": "rimraf ./src/dist",
13
13
  "test": "echo \"Error: no test specified\" && exit 1",
14
- "commit": "git add . && git commit -m \"version.1.4.99\" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.5.1\" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"