@social-mail/social-mail-client 1.9.83 → 1.9.84
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/dist/site-editor-app/SiteEditorApp.pack.js +27 -23
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/site-editor-app/pages/store/order/EditOrderPage.d.ts.map +1 -1
- package/dist/site-editor-app/pages/store/order/EditOrderPage.js +6 -2
- package/dist/site-editor-app/pages/store/order/EditOrderPage.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/site-editor-app/pages/store/order/EditOrderPage.tsx +3 -0
package/package.json
CHANGED
|
@@ -20,6 +20,7 @@ import DateField from "@web-atoms/web-controls/dist/basic/DateField";
|
|
|
20
20
|
import DateTime from "@web-atoms/date-time/dist/DateTime";
|
|
21
21
|
import EntityService from "../../../../services/EntityService";
|
|
22
22
|
import EditLedgerPage from "../ledger/EditLedgerPage";
|
|
23
|
+
import { StoreEvents } from "../../../../common/events/StoreEvents";
|
|
23
24
|
|
|
24
25
|
export default class EditOrderPage extends ContentPage<Partial<IStoreJournal>> {
|
|
25
26
|
|
|
@@ -203,6 +204,7 @@ export default class EditOrderPage extends ContentPage<Partial<IStoreJournal>> {
|
|
|
203
204
|
this.model.posted = true;
|
|
204
205
|
await this.storeOrderService.save(this.model);
|
|
205
206
|
this.parameters = this.model;
|
|
207
|
+
StoreEvents.onJournalPosted.dispatchEvent(this.model);
|
|
206
208
|
await this.init();
|
|
207
209
|
}
|
|
208
210
|
|
|
@@ -211,6 +213,7 @@ export default class EditOrderPage extends ContentPage<Partial<IStoreJournal>> {
|
|
|
211
213
|
async onSaveOrder() {
|
|
212
214
|
await this.storeOrderService.save(this.model);
|
|
213
215
|
this.parameters = this.model;
|
|
216
|
+
StoreEvents.onJournalSaved.dispatchEvent(this.model);
|
|
214
217
|
await this.init();
|
|
215
218
|
}
|
|
216
219
|
|