meemup-library 1.5.17 → 1.5.18
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.
|
@@ -155,6 +155,11 @@ export default new class ProductModalController {
|
|
|
155
155
|
taxable: product.taxable,
|
|
156
156
|
productName: product.name,
|
|
157
157
|
tags: product.tags,
|
|
158
|
+
bundleGroup: "",
|
|
159
|
+
bundleId: null,
|
|
160
|
+
bundleMainItem: false,
|
|
161
|
+
discount: 0,
|
|
162
|
+
_id: ""
|
|
158
163
|
};
|
|
159
164
|
}
|
|
160
165
|
productName(product) {
|
|
@@ -75,13 +75,10 @@ interface IPointOfSaleOrder {
|
|
|
75
75
|
deviceId: string | null;
|
|
76
76
|
status: TOrderPayStatus;
|
|
77
77
|
message: string;
|
|
78
|
-
onlyForPayment: boolean;
|
|
79
78
|
displayOnKitchenDisplay: boolean;
|
|
80
79
|
skipTipping: boolean;
|
|
81
80
|
detail: IOrderDetails | null;
|
|
82
81
|
showCashCalculatorWindow: boolean;
|
|
83
|
-
freeze: boolean;
|
|
84
|
-
numberOfAttempts: number;
|
|
85
82
|
referenceId: string;
|
|
86
83
|
additionalPickupInstructions: EnumPickupInstruction;
|
|
87
84
|
pickupInstructions: string;
|
|
@@ -93,7 +90,7 @@ interface IPointOfSaleOrder {
|
|
|
93
90
|
elavonTransaction: object | null;
|
|
94
91
|
via: "Pos" | "Online store" | string;
|
|
95
92
|
channel: EnumChannels;
|
|
96
|
-
|
|
93
|
+
ignoreBundles: number[];
|
|
97
94
|
}
|
|
98
95
|
export default IPointOfSaleOrder;
|
|
99
96
|
export declare const initOrder: IPointOfSaleOrder;
|
|
@@ -80,13 +80,13 @@ export const initOrder = {
|
|
|
80
80
|
deviceId: INIT_TERMINAL.value,
|
|
81
81
|
status: null,
|
|
82
82
|
message: "",
|
|
83
|
-
onlyForPayment: false,
|
|
83
|
+
// onlyForPayment: false,
|
|
84
84
|
displayOnKitchenDisplay: true,
|
|
85
85
|
skipTipping: false,
|
|
86
86
|
detail: null,
|
|
87
87
|
showCashCalculatorWindow: true,
|
|
88
|
-
freeze: false,
|
|
89
|
-
numberOfAttempts: 0,
|
|
88
|
+
// freeze: false,
|
|
89
|
+
// numberOfAttempts: 0,
|
|
90
90
|
referenceId: "",
|
|
91
91
|
additionalPickupInstructions: EnumPickupInstruction.Packed,
|
|
92
92
|
pickupInstructions: "",
|
|
@@ -98,5 +98,6 @@ export const initOrder = {
|
|
|
98
98
|
elavonTransaction: null,
|
|
99
99
|
via: "Pos",
|
|
100
100
|
channel: EnumChannels.POS,
|
|
101
|
-
forceRefresh: -1,
|
|
101
|
+
// forceRefresh: -1,
|
|
102
|
+
ignoreBundles: []
|
|
102
103
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meemup-library",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.18",
|
|
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.5.
|
|
14
|
+
"commit": "git add . && git commit -m \"version.1.5.18\" && git push origin "
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"/dist"
|