meemup-library 1.4.64 → 1.4.66

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.
@@ -335,7 +335,8 @@ class OrderToolController {
335
335
  extras: item.extras.map(i => this.convertOrderExtraItemToOrderDetailProductsExtra(i)),
336
336
  kitchenReceiptName: item.title,
337
337
  additionalText: item.additionalText,
338
- productName: item.productName
338
+ productName: item.productName,
339
+ tags: item.tags,
339
340
  };
340
341
  }
341
342
  createExtraNames(item, currency) {
@@ -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
  }
@@ -15,5 +15,6 @@ interface IOrderDetailProduct {
15
15
  kitchenReceiptName: string;
16
16
  additionalText: string;
17
17
  productName: string;
18
+ tags: string[] | null;
18
19
  }
19
20
  export default IOrderDetailProduct;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.4.64",
3
+ "version": "1.4.66",
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.64\" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.4.66\" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"