meemup-library 1.3.90 → 1.3.92

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.
@@ -53,7 +53,7 @@ class SimplePreviewController {
53
53
  let summary = `<strong style="font-size: ${largeFontSize}; text-align: center;">#${order.orderNumber}&emsp;${order.orderTypeString}</strong>`;
54
54
  content += summary;
55
55
  if (order.orderType === EnumOrderType.dining && order.tableId !== null) {
56
- content += `<strong style="font-size: ${largeFontSize}; text-align: center;">Table #${order.tableNo}</strong>`;
56
+ content += `<strong style="font-size: ${largeFontSize}; text-align: center;">Table: ${order.tableNo}</strong>`;
57
57
  }
58
58
  if (template.orderDesiredDateTimeVisibility) {
59
59
  let formated = "";
@@ -141,7 +141,7 @@ class SimplePreviewController {
141
141
  content += `<p style="display:block; font-size: ${template.fontSize}px; text-align: left;">${detail.order.orderTypeString}:&emsp;on ${moment(detail.order.desiredDate).format("hh:mm A")}</p>`;
142
142
  if (typeof detail.order.estimatedTime === "string" && detail.order.estimatedTime.length > 0)
143
143
  content += `<p style="display: block; font-size: ${template.fontSize}px; text-align:left;">Est. Time:&nbsp;&ensp;&emsp;${(_a = detail.order.estimatedTime) === null || _a === void 0 ? void 0 : _a.substring(0, 5)}</p>`;
144
- content += `<p style="display: block; font-size: ${template.fontSize}px; text-align:left;">REG. Time:&nbsp;&ensp;&emsp;${moment(detail.order.registrationDate).format("YYYY-MM-DD hh:mm A")}</p>`;
144
+ content += `<p style="display: block; font-size: ${template.fontSize}px; text-align:left;">Reg. Time:&nbsp;&ensp;&emsp;${moment(detail.order.registrationDate).format("YYYY-MM-DD hh:mm A")}</p>`;
145
145
  content += `</div>`;
146
146
  return content;
147
147
  }
@@ -42,6 +42,7 @@ interface IPointOfSaleOrder {
42
42
  products: IPointOfSaleOrderItem[];
43
43
  tipType: EnumTipType;
44
44
  tip: number;
45
+ onlineStoreTip: number;
45
46
  discountType: EnumDiscountType;
46
47
  discount: number;
47
48
  discountDescription: string;
@@ -43,6 +43,7 @@ export const initOrder = {
43
43
  //tip
44
44
  tipType: EnumTipType.amount,
45
45
  tip: 0,
46
+ onlineStoreTip: 0,
46
47
  //discount
47
48
  discountType: EnumDiscountType.amount,
48
49
  discount: 0,
@@ -4,6 +4,7 @@ export default interface IPointOfSaleOrderTransaction {
4
4
  dateTime: string;
5
5
  paymentType: EnumPaymentType;
6
6
  amount: number;
7
+ transactionAmount: number;
7
8
  tipAmount: number;
8
9
  refunded: number;
9
10
  remaining: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.3.90",
3
+ "version": "1.3.92",
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.3.90 \" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.3.92 \" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"