meemup-library 1.4.65 → 1.4.67

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.
@@ -461,8 +461,8 @@ class SimplePreviewController {
461
461
  if (detail.order.remarks === null || detail.order.remarks.trim().length === 0)
462
462
  return "";
463
463
  let content = this.createDivContainer(template);
464
- content += this.printSolidLine();
465
- content += `<p style="text-align: left; font-size: ${template.fontSize}px;">${detail.order.remarks}</p>`;
464
+ content += this.printSimpleDashLine();
465
+ content += `<p style="text-align: left; font-size: ${template.fontSize}px; padding-top: 4px; padding-bottom: 4px;">${detail.order.remarks}</p>`;
466
466
  content += `</div>`;
467
467
  return content;
468
468
  }
@@ -470,8 +470,8 @@ class SimplePreviewController {
470
470
  if (detail.order.orderType !== EnumOrderType.delivery || detail.order.deliveryInstructionsRemarks === null || detail.order.deliveryInstructionsRemarks.trim().length === 0)
471
471
  return "";
472
472
  let content = this.createDivContainer(template);
473
- content += this.printSolidLine();
474
- content += `<p style="text-align: left; font-size: ${template.fontSize}px;">${detail.order.deliveryInstructionsRemarks}</p>`;
473
+ content += this.printSimpleDashLine();
474
+ content += `<p style="text-align: left; font-size: ${template.fontSize}px; padding-top: 4px; padding-bottom: 4px;">${detail.order.deliveryInstructionsRemarks}</p>`;
475
475
  content += `</div>`;
476
476
  return content;
477
477
  }
@@ -42,6 +42,7 @@ interface IPointOfSaleOrder {
42
42
  latitude: number;
43
43
  tableNo: string;
44
44
  tableId: number | null;
45
+ seat: number;
45
46
  products: IPointOfSaleOrderItem[];
46
47
  tipType: EnumTipType;
47
48
  tip: number;
@@ -41,6 +41,7 @@ export const initOrder = {
41
41
  latitude: 0,
42
42
  tableNo: "",
43
43
  tableId: null,
44
+ seat: -1,
44
45
  //items
45
46
  products: [],
46
47
  //tip
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.4.65",
3
+ "version": "1.4.67",
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.4.65\" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.4.67\" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"