meemup-library 1.4.75 → 1.4.76

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.
@@ -236,18 +236,23 @@ class SimplePreviewController {
236
236
  extraText += element.quantity + "x ";
237
237
  extraText += element.extraItemTitle;
238
238
  extraText = extraText.trim();
239
- let extraAmount = template.showPrices ? MoneyController.format(element.totalAmount, detail.company.currencySymbol) : "";
239
+ let extraAmount = template.showPrices ? MoneyController.format(element.price, detail.company.currencySymbol) : "";
240
240
  content += `<tr>
241
241
  <td style="font-size:${template.fontSize}px; min-width:40px; width: 40px; text-align: left;"></td>
242
- <td style="font-size:${template.fontSize}px; flex: 1; width: 100%; text-align: left;">${extraText}</td>
243
- <td style="font-size:${template.fontSize}px; max-width: 90px; text-align: right;">${extraAmount}</td>
242
+ <td colspan="2" style="font-size:${template.fontSize}px; flex: 1; width: 100%; text-align: left;">
243
+ ${extraText} (${extraAmount})
244
+ </td>
244
245
  </tr>`;
246
+ // content += `<tr>
247
+ // <td style="font-size:${template.fontSize}px; min-width:40px; width: 40px; text-align: left;"></td>
248
+ // <td style="font-size:${template.fontSize}px; flex: 1; width: 100%; text-align: left;">${extraText}</td>
249
+ // <td style="font-size:${template.fontSize}px; max-width: 90px; text-align: right;">${extraAmount}</td>
250
+ // </tr>`;
245
251
  });
246
252
  if (row.note !== null && row.note.trim().length > 0) {
247
253
  content += `<tr>
248
254
  <td style="font-size:${template.fontSize}px; min-width:40px; width: 40px; text-align: left;">Note:</td>
249
- <td style="font-size:${template.fontSize}px; flex: 1; width: 100%; text-align: left;font-weight: bold;">${row.note}</td>
250
- <td style="font-size:${template.fontSize}px; max-width: 90px; text-align: right;"></td>
255
+ <td colspan="2" style="font-size:${template.fontSize}px; flex: 1; width: 100%; text-align: left;font-weight: bold;">${row.note}</td>
251
256
  </tr>`;
252
257
  }
253
258
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.4.75",
3
+ "version": "1.4.76",
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.75\" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.4.76\" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"