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.
- package/dist/controllers/OrderToolController.js +1 -0
- package/dist/controllers/ProductModalController.js +2 -1
- package/dist/interfaces/IExtraItem.d.ts +1 -1
- package/dist/interfaces/IExtraItem.js +1 -1
- package/dist/interfaces/pos/IPointOfSaleOrderExtraItem.d.ts +1 -0
- package/dist/interfaces/print/IOrderDetailProductsExtra.d.ts +1 -0
- package/package.json +2 -2
|
@@ -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
|
-
|
|
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
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meemup-library",
|
|
3
|
-
"version": "1.
|
|
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.
|
|
14
|
+
"commit": "git add . && git commit -m \"version.1.5.1\" && git push origin "
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"/dist"
|