meemup-library 1.5.47 → 1.5.49

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.
@@ -169,16 +169,20 @@ class SimplePreviewController {
169
169
  // content += this.printDashLine(4);
170
170
  if (template.printCustomerDetailsInLarge) {
171
171
  const largeFontSize = template.printer === 5 ? 22 : parseInt((template.fontSize + 10) + "");
172
- content += `<!--<p style="display : block; font-size: ${largeFontSize}px; text-align: left;">Customer information</p>-->`;
172
+ // content += `<!--<p style="display : block; font-size: ${largeFontSize}px; text-align: left;">Customer information</p>-->`;
173
173
  content += `<strong style="display:block; font-size: ${largeFontSize}px;">${detail.customer.fullName}</strong>`;
174
174
  content += `<strong style="display:block; font-size: ${largeFontSize}px;">${PhoneController.toDisplay(detail.customer.phoneNumber)}</strong>`;
175
175
  content += `<strong style="display:block; font-size: ${largeFontSize}px;">${detail.customer.address}</strong>`;
176
+ content += `<strong style="display:block; font-size: ${largeFontSize}px;">Unit number: ${detail.customer.apartment}</strong>`;
177
+ content += `<strong style="display:block; font-size: ${largeFontSize}px;">Buzzer: ${detail.customer.buzzer}</strong>`;
176
178
  }
177
179
  else {
178
180
  // content += `<p style="display : block; font-size: ${template.fontSize}px; text-align: left;">Customer information</p>`;
179
181
  content += `<strong style="display:block; font-size: ${template.fontSize}px;">${detail.customer.fullName}</strong>`;
180
182
  content += `<strong style="display:block; font-size: ${template.fontSize}px;">${PhoneController.toDisplay(detail.customer.phoneNumber)}</strong>`;
181
183
  content += `<strong style="display:block; font-size: ${template.fontSize}px;">${detail.customer.address}</strong>`;
184
+ content += `<strong style="display:block; font-size: ${template.fontSize}px;">Unit number: ${detail.customer.apartment}</strong>`;
185
+ content += `<strong style="display:block; font-size: ${template.fontSize}px;">Buzzer: ${detail.customer.buzzer}</strong>`;
182
186
  }
183
187
  content += `</div>`;
184
188
  return content;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.5.47",
3
+ "version": "1.5.49",
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.5.47\" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.5.49\" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"