meemup-library 1.5.24 → 1.5.26
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/interfaces/pos/IPointOfSaleOrder.d.ts +2 -1
- package/dist/interfaces/pos/IPointOfSaleOrder.js +2 -1
- package/dist/interfaces/pos/IPointOfSaleSaveOrder.d.ts +1 -0
- package/dist/interfaces/print/IOrderDetailOrder.d.ts +1 -0
- package/dist/interfaces/print/IOrderDetailOrder.js +1 -0
- package/dist/interfaces/print/IOrderDetailPaymentInfo.d.ts +1 -0
- package/package.json +2 -2
|
@@ -60,6 +60,7 @@ interface IPointOfSaleOrder {
|
|
|
60
60
|
duration: number;
|
|
61
61
|
paymentType: EnumPaymentType;
|
|
62
62
|
paymentState: EnumPaymentState;
|
|
63
|
+
payWithCashAmount: number;
|
|
63
64
|
displaySubTotal: number;
|
|
64
65
|
displayTotalAmount: number;
|
|
65
66
|
displayTip: number;
|
|
@@ -92,7 +93,7 @@ interface IPointOfSaleOrder {
|
|
|
92
93
|
via: "Pos" | "Online store" | string;
|
|
93
94
|
channel: EnumChannels;
|
|
94
95
|
ignoreBundles: number[];
|
|
95
|
-
|
|
96
|
+
removedBundles: IBundleProduct[];
|
|
96
97
|
}
|
|
97
98
|
export default IPointOfSaleOrder;
|
|
98
99
|
export declare const initOrder: IPointOfSaleOrder;
|
|
@@ -64,6 +64,7 @@ export const initOrder = {
|
|
|
64
64
|
duration: 0,
|
|
65
65
|
paymentType: EnumPaymentType.Cash,
|
|
66
66
|
paymentState: EnumPaymentState.NotPaid,
|
|
67
|
+
payWithCashAmount: 0,
|
|
67
68
|
displaySubTotal: 0,
|
|
68
69
|
displayTotalAmount: 0,
|
|
69
70
|
displayTip: 0,
|
|
@@ -100,5 +101,5 @@ export const initOrder = {
|
|
|
100
101
|
channel: EnumChannels.POS,
|
|
101
102
|
// forceRefresh: -1,
|
|
102
103
|
ignoreBundles: [],
|
|
103
|
-
|
|
104
|
+
removedBundles: []
|
|
104
105
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meemup-library",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.26",
|
|
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.26\" && git push origin "
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"/dist"
|