meemup-library 1.4.74 → 1.4.75

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.
@@ -220,7 +220,7 @@ class SimplePreviewController {
220
220
  else
221
221
  cat = `[${row.categoryTitle.trim()}] `;
222
222
  let productName = cat + ((template.showProductKitchenName && row.kitchenReceiptName.trim().length > 0) ? row.kitchenReceiptName : row.productName);
223
- let amount = template.showPrices ? MoneyController.format(row.totalAmount, detail.company.currencySymbol) : "";
223
+ let amount = template.showPrices ? MoneyController.format(row.price, detail.company.currencySymbol) : "";
224
224
  content += `<tr style="height: 28px;">
225
225
  <td style="font-size:${template.fontSize}px; min-width:40px; width: 40px; text-align: left;">${row.quantity}X</td>
226
226
  <td style="font-size:${template.fontSize}px; flex: 1; width: 100%; text-align: left; font-weight: bold;">${productName}</td>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.4.74",
3
+ "version": "1.4.75",
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.74\" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.4.75\" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"