meemup-library 1.0.68 → 1.0.70

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.
@@ -308,9 +308,9 @@ export default new class {
308
308
  <div style="min-width : 100px; text-align: end;">${this.ccyFormat(order.orderAmount, symbol)}</div>
309
309
  </div>
310
310
 
311
- <div style="display : ${order.orderType === 1 && order.deliveryCosts > 0 ? "flex" : "none"}; padding : 1px; flex-direction : row; justify-content : flex-end; border-bottom: 1px dotted black;">
311
+ <div style="display : ${order.orderType === 1 && order.deliveryCost > 0 ? "flex" : "none"}; padding : 1px; flex-direction : row; justify-content : flex-end; border-bottom: 1px dotted black;">
312
312
  <div style="min-width : 150px; flex-grow : 1; text-align: end;">Delivery costs : </div>
313
- <div style="min-width : 100px; text-align: end;">${this.ccyFormat(order.deliveryCosts, symbol)}</div>
313
+ <div style="min-width : 100px; text-align: end;">${this.ccyFormat(order.deliveryCost, symbol)}</div>
314
314
  </div>
315
315
 
316
316
  <div style="display : ${order.discountAmount > 0 ? "flex" : "none"}; padding : 1px; flex-direction : row; justify-content : flex-end; border-bottom: 1px dotted black;">
@@ -34,6 +34,7 @@ export interface ISaveOrder {
34
34
  driverId: number | null;
35
35
  deviceId: string | null;
36
36
  zoneId: number | null;
37
+ referenceId: string;
37
38
  }
38
39
  export interface ISaveOrderAnswer {
39
40
  orderId: number;
@@ -71,6 +71,8 @@ interface IOrder {
71
71
  skipTipping: boolean;
72
72
  detail: IOrderDetails | null;
73
73
  showCashCalculatorWindow: boolean;
74
+ freeze: boolean;
75
+ referenceId: string;
74
76
  }
75
77
  export default IOrder;
76
78
  export declare const initOrder: IOrder;
@@ -76,7 +76,9 @@ export const initOrder = {
76
76
  displayOnKitchenDisplay: true,
77
77
  skipTipping: false,
78
78
  detail: null,
79
- showCashCalculatorWindow: true
79
+ showCashCalculatorWindow: true,
80
+ freeze: false,
81
+ referenceId: ""
80
82
  // previousTotalAmount: 0,
81
83
  // previousOrderAmount : 0,
82
84
  // previousPaymentState: EnumPaymentState.NOT_PAID
@@ -10,7 +10,7 @@ interface IOrderDetailOrder {
10
10
  serviceFee: number;
11
11
  companyFee: number;
12
12
  totalAmountWithoutServiceFee: number;
13
- deliveryCosts: number;
13
+ deliveryCost: number;
14
14
  discountAmount: number;
15
15
  tipAmount: number;
16
16
  tipPercentage: number;
@@ -11,7 +11,7 @@ export const initOrderDetailOrder = {
11
11
  serviceFee: 0,
12
12
  companyFee: 0,
13
13
  totalAmountWithoutServiceFee: 0,
14
- deliveryCosts: 0,
14
+ deliveryCost: 0,
15
15
  discountAmount: 0,
16
16
  tipAmount: 0,
17
17
  tipPercentage: 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.0.68",
3
+ "version": "1.0.70",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",