@social-mail/social-mail-client 1.9.27 → 1.9.28

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.
@@ -23995,7 +23995,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
23995
23995
  header: true,
23996
23996
  headerRenderer: () => XNode.create("thead", null, XNode.create("tr", null, XNode.create("th", {
23997
23997
  class: "right"
23998
- }, "No"), XNode.create("th", null, "Product"), XNode.create("th", null), XNode.create("th", null, "Tax Code"), XNode.create("th", {
23998
+ }, "No"), XNode.create("th", null, "Product"), XNode.create("th", null, "Tax Code"), XNode.create("th", {
23999
23999
  class: "right"
24000
24000
  }, "Price"), XNode.create("th", {
24001
24001
  class: "right"
@@ -24013,7 +24013,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
24013
24013
  class: "right"
24014
24014
  }, item.quantity), XNode.create("td", {
24015
24015
  class: "right"
24016
- }, item.amount)), ...((_b = (_a = item.taxLineItems) === null || _a === void 0 ? void 0 : _a.map(tax => XNode.create("tr", null, XNode.create("td", null), XNode.create("td", null), XNode.create("td", null, tax.item.name, " ", (tax.amount * 100).toFixed(0), "%"), XNode.create("td", null), XNode.create("td", null), XNode.create("td", {
24016
+ }, item.amount)), ...((_b = (_a = item.taxLineItems) === null || _a === void 0 ? void 0 : _a.map(tax => XNode.create("tr", null, XNode.create("td", null), XNode.create("td", null, tax.item.name, " ", (tax.amount * 100).toFixed(0), "%"), XNode.create("td", null), XNode.create("td", null), XNode.create("td", null), XNode.create("td", {
24017
24017
  class: "right"
24018
24018
  }, tax.total)))) !== null && _b !== void 0 ? _b : []));
24019
24019
  },
@@ -24021,17 +24021,17 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
24021
24021
  footerRenderer: () => {
24022
24022
  var _a, _b;
24023
24023
  return XNode.create("tfoot", null, XNode.create("tr", null, XNode.create("th", {
24024
- "attr-colspan": "4",
24024
+ "attr-colspan": "5",
24025
24025
  class: "right"
24026
24026
  }, "Total before Taxes"), XNode.create("th", {
24027
24027
  class: "right"
24028
24028
  }, (_a = journal.lineItems.sum(x => x.itemType !== "tax" ? Number(x.amount) : 0)) === null || _a === void 0 ? void 0 : _a.toFixed(2))), XNode.create("tr", null, XNode.create("th", {
24029
- "attr-colspan": "4",
24029
+ "attr-colspan": "5",
24030
24030
  class: "right"
24031
24031
  }, "Taxes"), XNode.create("th", {
24032
24032
  class: "right"
24033
24033
  }, (_b = journal.lineItems.sum(x => x.itemType === "tax" ? Number(x.total) : 0)) === null || _b === void 0 ? void 0 : _b.toFixed(2))), XNode.create("tr", null, XNode.create("th", {
24034
- "attr-colspan": "4",
24034
+ "attr-colspan": "5",
24035
24035
  class: "right"
24036
24036
  }, "Total"), XNode.create("th", {
24037
24037
  class: "right"