@social-mail/social-mail-client 1.9.117 → 1.9.118

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-client",
3
- "version": "1.9.117",
3
+ "version": "1.9.118",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -12,6 +12,7 @@ import { AddIconTextButton } from "../../../../common/controls/buttons/IconButto
12
12
  import MasterDetailPage from "@web-atoms/web-controls/dist/mobile-app/MasterDetailPage";
13
13
  import EntityService from "../../../../services/EntityService";
14
14
  import { StoreEvents } from "../../../../common/events/StoreEvents";
15
+ import { DateFormats } from "../../../../common/date/DateFormats";
15
16
 
16
17
  export default class StoreDetailPage extends MasterDetailPage<{ id: any }> {
17
18
 
@@ -62,11 +63,12 @@ export default class StoreDetailPage extends MasterDetailPage<{ id: any }> {
62
63
  <label text={item.journalID}/>
63
64
  <label text={item.journalType}/>
64
65
  <label text={item.invoiceID}/>
66
+ <label text={ DateFormats.isoDateOnly(item.dateCreated)}/>
65
67
  <label text={item.total}/>
66
68
  { item.invoiceID && <a
67
69
  data-click-event="none"
68
70
  target={`journal-${item.journalID}`}
69
- href={`/store/journals/${item.journalID}`}
71
+ href={`/store/journals/${item.journalID}/pdf`}
70
72
  text="Print"
71
73
  /> }
72
74
  { !item.posted && <menu>