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-09-24-1148" }; 5 var t = new e.Error().stack; 6 t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "102b634f-00aa-4b61-ada2-e706234545e2", e._sentryDebugIdIdentifier = "sentry-dbid-102b634f-00aa-4b61-ada2-e706234545e2"); 7 } catch (e) {} 8})(); 9import { Ac as e, Wa as t, bi as n, ga as r, pc as i, qc as a, xn as o, zo as s } from "./topMessageHandler_BfquHqnZ.min.js"; 10import { F as c, L as l, N as u, R as d, T as f, X as p, Y as m, _ as h, c as g, f as _, g as v, i as ee, jt as y, l as b, lt as x, nt as S, tt as C, u as w, y as te } from "./runtime-core.esm-bundler_Bi-f_fgM.min.js"; 11import { r as T } from "./vuex.esm-bundler_BYiu1CGj.min.js"; 12import { s as E } from "./addresses_BSoHW556.min.js"; 13import { t as D } from "./ListPager_CDbzRUPQ.min.js"; 14import { t as ne } from "./searchAbstract_D4oRJGb4.min.js"; 15import { t as re } from "./AppContent_CRi7sAir.min.js"; 16import { t as O } from "./ChoiceButton_BT65e80B.min.js"; 17//#region src/views/customer/CustomerListNew.vue?vue&type=script&setup=true&lang.ts 18var ie = { class: "button-row" }, k = { class: "row" }, A = { class: "col-md-4" }, j = { class: "col-md-4" }, M = { class: "portuna-table portuna-table-bordered" }, N = { 19 id: "checkbox-all", 20 class: "portuna-checkbox md-24", 21 type: "checkbox" 22}, P = { class: "text-right" }, F = { key: 0 }, I = { colspan: "4" }, L = { class: "default-padding flex-center" }, R = { key: 1 }, z = { class: "text-right" }, B = { class: "text-overflow" }, V = { class: "button-row" }, H = /* @__PURE__ */ te({ 23 __name: "CustomerListNew", 24 setup(te, { expose: H }) { 25 let U = a(), W = ne({ emitter: U.emitter }), G = T(), K = [{ 26 label: "Kunden", 27 href: { name: "customer-list" } 28 }], q = g(() => [{ 29 name: "generate-export", 30 label: "Neukunden-Export", 31 icon: "download", 32 popupAction: { 33 url: "/customer/entry/export/build/export-new-customer", 34 text: "Möchten Sie wirklich [count] Einträge exportieren?", 35 showResponseMessage: !1 36 } 37 }]), J = S(), Y = S(!0), X = S([]), Z = C({ 38 start: s("Y-m-01"), 39 end: s("Y-m-t") 40 }), Q = (e) => { 41 e.action.name === "generate-export" && (location.href = "/customer/entry/download/file/" + e.data.file); 42 }, $ = g(() => G.state.clipboard.selectedItems["Customer\\NewList"] || []), ae = g(() => X.value.filter((e) => e.start_date >= Z.start && e.start_date <= Z.end)); 43 return Y.value = !0, X.value = [], e.get("/customer/entry/fetch-new-customer-list").then((e) => { 44 let { data: t, status: n } = e.data; 45 if (n !== "OK") throw e; 46 X.value = t.entries; 47 }).catch(i).finally(() => { 48 Y.value = !1; 49 }), H(Object.assign({}, U, W.expose)), (e, i) => { 50 let a = l("router-link"), g = d("indeterminate-checkbox"), S = d("sort"), C = d("tooltip"); 51 return u(), w(re, { 52 breadcrumb: K, 53 class: "module-contact list", 54 headline: "Neukunden" 55 }, {
56 default: m(() => [h(D, f({ 57 ref_key: "listPager", 58 ref: J 59 }, x(W).properties, { entries: ae.value }), { 60 default: m(({ listEntries: e, filteredEntries: l }) => [ 61 b("div", ie, [h(O, { 62 actions: q.value, 63 items: $.value, 64 onButtonAction: Q 65 }, null, 8, ["actions", "items"])]), 66 i[22] || (i[22] = v()), 67 b("div", k, [ 68 b("div", A, [h(t, { 69 label: "Start", 70 "label-for": "start" 71 }, { 72 default: m(() => [h(o, { 73 modelValue: Z.start, 74 "onUpdate:modelValue": i[0] || (i[0] = (e) => Z.start = e) 75 }, null, 8, ["modelValue"])]), 76 _: 1 77 })]), 78 i[2] || (i[2] = v()), 79 b("div", j, [h(t, { 80 label: "Ende", 81 "label-for": "end" 82 }, { 83 default: m(() => [h(o, { 84 modelValue: Z.end, 85 "onUpdate:modelValue": i[1] || (i[1] = (e) => Z.end = e) 86 }, null, 8, ["modelValue"])]), 87 _: 1 88 })]) 89 ]), 90 i[23] || (i[23] = v()), 91 b("table", M, [ 92 i[19] || (i[19] = b("colgroup", null, [ 93 b("col", { style: { width: "45px" } }), 94 v(), 95 b("col", { style: { width: "150px" } }), 96 v(), 97 b("col"), 98 v(), 99 b("col", { style: { width: "150px" } }), 100 v(), 101 b("col", { style: { width: "45px" } }) 102 ], -1)), 103 i[20] || (i[20] = v()), 104 b("thead", null, [b("tr", null, [ 105 b("td", null, [ 106 p(b("input", N, null, 512), [[g, { 107 entries: l, 108 field: "checked", 109 clipboardIdField: "institution_id", 110 clipboardClass: "Customer\\NewList" 111 }]]), 112 i[3] || (i[3] = v()), 113 i[4] || (i[4] = b("label", { for: "checkbox-all" }, null, -1)) 114 ]), 115 i[8] || (i[8] = v()), 116 p((u(), _("th", P, [...i[5] || (i[5] = [v("Nummer", -1)])])), [[S, "institution_id"]]), 117 i[9] || (i[9] = v()), 118 p((u(), _("th", null, [...i[6] || (i[6] = [v("Name", -1)])])), [[S, "institution_name"]]), 119 i[10] || (i[10] = v()), 120 p((u(), _("th", null, [...i[7] || (i[7] = [v("Startdatum", -1)])])), [[ 121 S, 122 "start_date", 123 void 0, 124 { 125 default: !0, 126 desc: !0 127 } 128 ]]), 129 i[11] || (i[11] = v()), 130 i[12] || (i[12] = b("th", null, null, -1)) 131 ])]), 132 i[21] || (i[21] = v()), 133 b("tbody", null, [Y.value ? (u(), _("tr", F, [b("td", I, [b("div", L, [h(E)])])])) : e.length ? (u(!0), _(ee, { key: 2 }, c(e, (e) => (u(), _("tr", { key: "contact-list-entry-" + e.institution_id }, [ 134 b("td", null, [h(r, { 135 modelValue: e.checked, 136 "onUpdate:modelValue": (t) => e.checked = t, 137 "aria-label": "Eintrag markieren" 138 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), 139 i[15] || (i[15] = v()), 140 b("td", z, [h(a, { to: { 141 name: "customer-entry-view", 142 params: { id: e.institution_id } 143 } }, {
144 default: m(() => [v("#" + y(e.institution_id), 1)]), 145 _: 2 146 }, 1032, ["to"])]), 147 i[16] || (i[16] = v()), 148 b("td", B, [p((u(), w(a, { to: { 149 name: "customer-entry-view", 150 params: { id: e.institution_id } 151 } }, { 152 default: m(() => [v(y(e.institution_name), 1)]), 153 _: 2 154 }, 1032, ["to"])), [[C, `${e.institution_name} (${e.institution_id})`]])]), 155 i[17] || (i[17] = v()), 156 b("td", null, y(x(s)("d.m.Y", e.start_date)), 1), 157 i[18] || (i[18] = v()), 158 b("td", null, [h(n, null, { 159 default: m(() => [b("li", null, [h(a, { to: { 160 name: "customer-entry-edit", 161 params: { id: e.institution_id } 162 } }, { 163 default: m(() => [...i[14] || (i[14] = [b("i", { 164 "aria-hidden": "true", 165 class: "material-icons", 166 role: "img" 167 }, "edit", -1), v("\n Bearbeiten\n ", -1)])]), 168 _: 1 169 }, 8, ["to"])])]), 170 _: 2 171 }, 1024)]) 172 ]))), 128)) : (u(), _("tr", R, [...i[13] || (i[13] = [b("td", { 173 class: "padding-small text-center", 174 colspan: "4" 175 }, "\n Keine Kontakte gefunden.\n ", -1)])]))]) 176 ]), 177 i[24] || (i[24] = v()), 178 b("div", V, [h(O, { 179 actions: q.value, 180 items: $.value, 181 onButtonAction: Q 182 }, null, 8, ["actions", "items"])]) 183 ]), 184 _: 1 185 }, 16, ["entries"])]), 186 _: 1 187 }); 188 }; 189 } 190}); 191//#endregion 192export { H as default }; 193 194//# sourceMappingURL=CustomerListNew_DQL6CReL.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.