meemup-library 1.2.79 → 1.2.81

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.
@@ -133,6 +133,7 @@ export default new class ProductModalController {
133
133
  });
134
134
  return {
135
135
  id: -1,
136
+ categoryId: -1,
136
137
  productId: product.id,
137
138
  title: this.productName(product),
138
139
  imageUrl: this.productImage(product),
@@ -14,9 +14,9 @@ export const initPrintTemplate = {
14
14
  logoAvailable: false,
15
15
  logoUrl: "",
16
16
  logoCenter: true,
17
- font: "Arial",
18
- fontSize: 12,
19
- customerAddressFontSize: 12,
17
+ font: "Arial, Helvetica, sans-serif",
18
+ fontSize: 15,
19
+ customerAddressFontSize: 15,
20
20
  marginTop: 0,
21
21
  marginRight: 0,
22
22
  marginBottom: 0,
@@ -30,7 +30,7 @@ export const initPrintTemplate = {
30
30
  textAfterAddress: "",
31
31
  textAfterAddressCenter: true,
32
32
  showPrices: false,
33
- showCustomerInfo: 0,
33
+ showCustomerInfo: 1,
34
34
  textBeforeProducts: "",
35
35
  textBeforeProductsCenter: true,
36
36
  showProductKitchenName: false,
@@ -1,6 +1,7 @@
1
1
  import IOrderExtraItem from "./IOrderExtraItem";
2
2
  interface IOrderItem {
3
3
  id: number;
4
+ categoryId: number;
4
5
  productId: number;
5
6
  title: string;
6
7
  quantity: number;
@@ -1,5 +1,6 @@
1
1
  import IPointOfSaleSaveOrderProductExtra from "./IPointOfSaleSaveOrderProductExtra";
2
2
  export default interface IPointOfSaleSaveOrderProduct {
3
+ categoryId: number;
3
4
  productId: number;
4
5
  quantity: number;
5
6
  note: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.2.79",
3
+ "version": "1.2.81",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",