PageSourceSearch

https://intranet.kirche-annaberg-buchholz.de/dist/js/CustomerInvoiceDunningTemplateList_CqbwXu0l.min.js

js kirche-annaberg-buchholz.de collected 2026-10-08 04:29:46 UTC 7,893 bytes, 208 lines download raw bytes

1(function() {
2	try {
3		var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4		e.SENTRY_RELEASE = { id: "live_2026-10-07-1527" };
5		var t = new e.Error().stack;
6		t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "143cb6be-97e7-43e1-9599-55066d6d15e0", e._sentryDebugIdIdentifier = "sentry-dbid-143cb6be-97e7-43e1-9599-55066d6d15e0");
7	} catch (e) {}
8})();
9import { Qc as e, Si as t, Zs as n, Zt as r, is as i } from "./topMessageHandler_BGjUyIM4.min.js";
10import { $ as a, F as o, L as s, N as c, R as l, T as u, X as d, Y as f, _ as p, c as m, d as h, f as g, g as _, i as v, jt as y, l as b, lt as x, nt as S, u as C, y as w } from "./runtime-core.esm-bundler_gPtQx1Jq.min.js";
11import { n as T, t as E } from "./asyncToGenerator_DVuTsKdY.min.js";
12import { r as D } from "./vuex.esm-bundler_BVkMIwxs.min.js";
13import { s as ee } from "./addresses_BacLKwfI.min.js";
14import { t as O } from "./ListPager_DuMjVvaZ.min.js";
15import { t as k } from "./EntryHistory_C5dZT5n4.min.js";
16import { t as A } from "./searchAbstract_BLeoB65V.min.js";
17import { t as j } from "./AppContent_CP9HWXwh.min.js";
18import { t as M } from "./TableSearch_Bwmqihh0.min.js";
19import { t as N } from "./customer_QBtxmhYb.min.js";
20import { l as P, m as F } from "./invoice_VLQU7ZmQ.min.js";
21//#region src/views/customer/invoice/dunning/CustomerInvoiceDunningTemplatePopup.vue?vue&type=script&setup=true&lang.ts
22T();
23var I = ["innerHTML"], L = /* @__PURE__ */ w({
24	__name: "CustomerInvoiceDunningTemplatePopup",
25	props: { entry: {} },
26	setup(e) {
27		return (t, n) => (c(), g("div", null, [
28			p(r, { label: "Titel" }, {
29				default: f(() => [_(y(e.entry.title), 1)]),
30				_: 1
31			}),
32			n[0] || (n[0] = _()),
33			p(r, { label: "Status" }, {
34				default: f(() => [_(y(x(P)[e.entry.state]), 1)]),
35				_: 1
36			}),
37			n[1] || (n[1] = _()),
38			p(r, { label: "Text" }, {
39				default: f(() => [b("div", { innerHTML: e.entry.text }, null, 8, I)]),
40				_: 1
41			}),
42			n[2] || (n[2] = _()),
43			p(r, { label: "Bearbeiter" }, {
44				default: f(() => [p(k, { history: e.entry }, null, 8, ["history"])]),
45				_: 1
46			})
47		]));
48	}
49}), R = { class: "button-row" }, z = { class: "portuna-table portuna-table-bordered" }, B = { key: 0 }, V = { colspan: "5" }, H = { key: 1 }, U = { class: "edit-cell" }, W = ["textContent"], G = /* @__PURE__ */ w({
50	__name: "CustomerInvoiceDunningTemplateList",
51	setup(r, { expose: w }) {
52		let T = e(), k = D(), I = N(), G = I.isAdmin, K = m(() => "/customer/invoice/dunning-template-fetch-list"), q = m(() => "customer-invoice-dunning-template-list"), J = [{
53			label: "Kunden",
54			href: { name: "customer-index" }
55		}, {
56			label: "Zahlungsstand",
57			href: { name: "customer-invoice-dunning-list" }
58		}], Y = function() {
59			var e = E(function* (e) {
60				return k.dispatch("errorPage", e);
61			});
62			return function(t) {
63				return e.apply(this, arguments);
64			};
65		}(), X = S();
66		I.fetchResourceData(!0);
67		let Z = (e) => {
68			k.dispatch("createPopup", {
69				title: "Zahlungsstand-Text: " + e.title,
70				titleIcon: "spellcheck",
71				component: a(L),
72				componentProps: { entry: e }
73			}).then((e) => e.open());
74		}, Q = m(() => ({
75			headline: "Zahlungsstand-Texte",
76			breadcrumb: J
77		})), te = (e) => {
78			Y(e);
79		}, ne = (e) => {
80			F(e).then(() => X.value.rebuild(!0, !0)).catch(i);
81		}, $ = A({
82			emitter: T.emitter,
83			searchStorageScope: q
84		});
85		return w(Object.assign({}, T, $.expose)), (e, r) => {
86			let i = s("router-link"), a = l("interact");
87			return c(), C(j, {
88				breadcrumb: Q.value.breadcrumb,
89				headline: Q.value.headline,
90				"sidebar-space": ""
91			}, {
92				default: f(() => [
93					b("div", R, [b("div", null, [p(i, {
94						to: { name: "customer-invoice-dunning-template-add" },
95						class: "button button-add"
96					}, {
97						default: f(() => [...r[3] || (r[3] = [b("i", {
98							"aria-hidden": "true",
99							class: "material-icons",
100							role: "img"
101						}, "add", -1), _("\n                    Text hinzufügen\n                ", -1)])]),
102						_: 1
103					})])]),
104					r[23] || (r[23] = _()),
105					p(O, u({
106						ref_key: "listPager",
107						ref: X
108					}, x($).properties, {
109						"fetch-url": K.value,
110						"filter-method": "server",
111						onEntriesFetchFailed: te
112					}), {
113						default: f(({ listEntries: e, loading: s }) => [b("table", z, [
114							r[20] || (r[20] = b("colgroup", null, [
115								b("col", { style: { width: "45px" } }),
116								_(),
117								b("col", { style: { width: "20%" } }),
118								_(),
119								b("col", { style: { width: "150px" } }),
120								_(),
121								b("col", { style: { width: "auto" } }),
122								_(),
123								b("col", { class: "edit-cell" })
124							], -1)),
125							r[21] || (r[21] = _()),
126							b("thead", null, [b("tr", null, [
127								r[4] || (r[4] = b("th", { class: "text-center background-dark" }, [b("i", {
128									"aria-hidden": "true",
129									class: "material-icons md-20 table-icon contrast-primary-light",
130									role: "img"
131								}, "spellcheck")], -1)),
132								r[5] || (r[5] = _()),
133								p(M, {
134									modelValue: x($).model.title,
135									"onUpdate:modelValue": r[0] || (r[0] = (e) => x($).model.title = e),
136									"default-sort": !0,
137									"sort-field": "title",
138									text: "Titel"
139								}, null, 8, ["modelValue"]),
140								r[6] || (r[6] = _()),
141								p(M, {
142									modelValue: x($).model.type,
143									"onUpdate:modelValue": r[1] || (r[1] = (e) => x($).model.type = e),
144									options: x(P),
145									"sort-field": "type",
146									text: "Typ"
147								}, null, 8, ["modelValue", "options"]),
148								r[7] || (r[7] = _()),
149								p(M, {
150									modelValue: x($).model.text,
151									"onUpdate:modelValue": r[2] || (r[2] = (e) => x($).model.text = e),
152									"sort-field": "text",
153									text: "Text"
154								}, null, 8, ["modelValue"]),
155								r[8] || (r[8] = _()),
156								r[9] || (r[9] = b("th", { class: "edit-cell" }, "\xA0", -1))
157							])]),
158							r[22] || (r[22] = _()),
159							b("tbody", null, [s ? (c(), g("tr", B, [b("td", V, [p(ee)])])) : e.length === 0 ? (c(), g("tr", H, [...r[10] || (r[10] = [b("td", { colspan: "5" }, "\n                        Es wurden keine Einträge gefunden.\n                    ", -1)])])) : (c(!0), g(v, { key: 2 }, o(e, (e) => (c(), g("tr", null, [
160								r[15] || (r[15] = b("td", null, null, -1)),
161								r[16] || (r[16] = _()),
162								b("td", null, [d((c(), g("a", null, [_(y(e.title), 1)])), [[a, () => Z(e)]])]),
163								r[17] || (r[17] = _()),
164								b("td", null, y(x(P)[e.state]), 1),
165								r[18] || (r[18] = _()),
166								b("td", null, y(e.text_short), 1),
167								r[19] || (r[19] = _()),
168								b("td", U, [x(G) ? (c(), C(t, { key: 0 }, {
169									default: f(() => [
170										b("li", null, [p(i, { to: {
171											name: "customer-invoice-dunning-template-edit",
172											params: { id: e.id }
173										} }, {
174											default: f(() => [...r[11] || (r[11] = [b("i", {
175												"aria-hidden": "true",
176												class: "material-icons no-select",
177												role: "img"
178											}, "edit", -1), b("span", null, "Bearbeiten", -1)])]),
179											_: 1
180										}, 8, ["to"])]),
181										r[14] || (r[14] = _()),
182										d((c(), g("li", null, [b("div", null, [
183											b("i", {
184												"aria-hidden": "true",
185												class: "material-icons no-select",
186												textContent: y(x(n).delete),
187												role: "img"
188											}, null, 8, W),
189											r[12] || (r[12] = _()),
190											r[13] || (r[13] = b("span", null, "Löschen", -1))
191										])])), [[a, () => ne(e)]])
192									]),
193									_: 2
194								}, 1024)) : h("", !0)])
195							]))), 256))])
196						])]),
197						_: 1
198					}, 16, ["fetch-url"])
199				]),
200				_: 1
201			}, 8, ["breadcrumb", "headline"]);
202		};
203	}
204});
205//#endregion
206export { G as default };
207
208//# sourceMappingURL=CustomerInvoiceDunningTemplateList_CqbwXu0l.min.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.