diff --git a/src/modals/Modals.vue b/src/modals/Modals.vue index 1613d36..19a626f 100644 --- a/src/modals/Modals.vue +++ b/src/modals/Modals.vue @@ -7,30 +7,42 @@ import { navigationStore } from '../store/store.js'
+ + + +
diff --git a/src/modals/berichten/ViewBerichtAuditTrail.vue b/src/modals/berichten/ViewBerichtAuditTrail.vue new file mode 100644 index 0000000..cb118ed --- /dev/null +++ b/src/modals/berichten/ViewBerichtAuditTrail.vue @@ -0,0 +1,90 @@ + + + + + + + diff --git a/src/modals/klanten/ViewKlantAuditTrail.vue b/src/modals/klanten/ViewKlantAuditTrail.vue new file mode 100644 index 0000000..f76ab55 --- /dev/null +++ b/src/modals/klanten/ViewKlantAuditTrail.vue @@ -0,0 +1,90 @@ + + + + + + + diff --git a/src/modals/taken/ViewTaakAuditTrail.vue b/src/modals/taken/ViewTaakAuditTrail.vue new file mode 100644 index 0000000..f0565b7 --- /dev/null +++ b/src/modals/taken/ViewTaakAuditTrail.vue @@ -0,0 +1,90 @@ + + + + + + + diff --git a/src/modals/zaken/ViewZaakAuditTrail.vue b/src/modals/zaken/ViewZaakAuditTrail.vue new file mode 100644 index 0000000..b809900 --- /dev/null +++ b/src/modals/zaken/ViewZaakAuditTrail.vue @@ -0,0 +1,90 @@ + + + + + + + diff --git a/src/store/modules/berichten.js b/src/store/modules/berichten.js index dd339d0..286cd24 100644 --- a/src/store/modules/berichten.js +++ b/src/store/modules/berichten.js @@ -8,6 +8,7 @@ export const useBerichtStore = defineStore('berichten', { state: () => ({ berichtItem: false, berichtenList: [], + auditTrailItem: null, }), actions: { setBerichtItem(berichtItem) { @@ -20,6 +21,9 @@ export const useBerichtStore = defineStore('berichten', { ) console.log('Berichten list set to ' + berichtenList.length + ' items') }, + setAuditTrailItem(auditTrailItem) { + this.auditTrailItem = auditTrailItem + }, /* istanbul ignore next */ // ignore this for Jest until moved into a service async refreshBerichtenList(search = null) { let endpoint = apiEndpoint diff --git a/src/store/modules/klanten.js b/src/store/modules/klanten.js index e0f7ed7..674a22a 100644 --- a/src/store/modules/klanten.js +++ b/src/store/modules/klanten.js @@ -8,6 +8,7 @@ export const useKlantStore = defineStore('klanten', { state: () => ({ klantItem: false, klantenList: [], + auditTrailItem: null, }), actions: { setKlantItem(klantItem) { @@ -20,6 +21,9 @@ export const useKlantStore = defineStore('klanten', { ) console.log('Klanten list set to ' + klantenList.length + ' items') }, + setAuditTrailItem(auditTrailItem) { + this.auditTrailItem = auditTrailItem + }, /* istanbul ignore next */ // ignore this for Jest until moved into a service async refreshKlantenList(search = null) { let endpoint = apiEndpoint diff --git a/src/store/modules/taak.js b/src/store/modules/taak.js index 1249faf..84c25da 100644 --- a/src/store/modules/taak.js +++ b/src/store/modules/taak.js @@ -8,6 +8,7 @@ export const useTaakStore = defineStore('taken', { state: () => ({ taakItem: false, takenList: [], + auditTrailItem: null, }), actions: { setTaakItem(taakItem) { @@ -20,6 +21,9 @@ export const useTaakStore = defineStore('taken', { ) console.log('Taken list set to ' + takenList.length + ' items') }, + setAuditTrailItem(auditTrailItem) { + this.auditTrailItem = auditTrailItem + }, /* istanbul ignore next */ // ignore this for Jest until moved into a service async refreshTakenList(search = null) { let endpoint = apiEndpoint diff --git a/src/store/modules/zaken.ts b/src/store/modules/zaken.ts index 95e3abc..d9937f6 100644 --- a/src/store/modules/zaken.ts +++ b/src/store/modules/zaken.ts @@ -14,6 +14,7 @@ export const useZaakStore = defineStore('zaken', { state: () => ({ zaakItem: null, zakenList: [], + auditTrailItem: null, }), actions: { setZaakItem(zaakItem: Zaak | TZaak) { @@ -26,6 +27,9 @@ export const useZaakStore = defineStore('zaken', { ) console.info('Zaken list set to ' + zakenList.length + ' items') }, + setAuditTrailItem(auditTrailItem: unknown) { + this.auditTrailItem = auditTrailItem + }, /** * Refresh the list of zaken items. * diff --git a/src/views/berichten/BerichtDetails.vue b/src/views/berichten/BerichtDetails.vue index 284ae86..3f86dcd 100644 --- a/src/views/berichten/BerichtDetails.vue +++ b/src/views/berichten/BerichtDetails.vue @@ -76,6 +76,43 @@ import { navigationStore, berichtStore } from '../../store/store.js' {{ berichtStore.berichtItem.volgorde }} + +
+ + +
+ + + + + +
+ + + +
+
+
@@ -83,12 +120,15 @@ import { navigationStore, berichtStore } from '../../store/store.js' diff --git a/src/views/klanten/KlantDetails.vue b/src/views/klanten/KlantDetails.vue index 4c8462c..32725fa 100644 --- a/src/views/klanten/KlantDetails.vue +++ b/src/views/klanten/KlantDetails.vue @@ -232,7 +232,7 @@ import { navigationStore, klantStore, taakStore, berichtStore, zaakStore } from {{ auditTrail.userName }}