@social-mail/social-mail-client 1.9.31 → 1.9.32

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.
@@ -61964,19 +61964,22 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
61964
61964
  search: this.search,
61965
61965
  cancelToken
61966
61966
  })), {
61967
- itemRenderer: item => {
61968
- var _a;
61969
- return XNode.create("div", {
61970
- "data-click-event": "open-order"
61971
- }, XNode.create("label", {
61972
- text: item.journalID
61973
- }), XNode.create("label", {
61974
- text: item.journalType
61975
- }), XNode.create("a", {
61976
- text: (_a = item.buyer) === null || _a === void 0 ? void 0 : _a.name,
61977
- "data-click-event": "route"
61978
- }));
61979
- }
61967
+ itemRenderer: item => XNode.create("div", {
61968
+ "data-click-event": "open-order"
61969
+ }, XNode.create("label", {
61970
+ text: item.journalID
61971
+ }), XNode.create("label", {
61972
+ text: item.journalType
61973
+ }), XNode.create("label", {
61974
+ text: item.invoiceID
61975
+ }), XNode.create("label", {
61976
+ text: item.total
61977
+ }), item.invoiceID && XNode.create("a", {
61978
+ "data-click-event": "none",
61979
+ target: `journal-${item.journalID}`,
61980
+ href: `/store/journals/${item.journalID}`,
61981
+ text: "Print"
61982
+ }))
61980
61983
  }))));
61981
61984
  this.footerRenderer = () => XNode.create("div", {
61982
61985
  "data-layout": "row"