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] = "eb5f1d3d-e179-4530-b363-695a0f3d3682", e._sentryDebugIdIdentifier = "sentry-dbid-eb5f1d3d-e179-4530-b363-695a0f3d3682"); 7 } catch (e) {} 8})(); 9import { Bo as e, Cn as t, Fc as n, Gs as r, Js as i, Kr as a, Qc as o, Si as ee, Ua as s, Wo as c, Ys as te, fc as ne, io as re, kn as ie, ko as ae, la as oe, qa as l, qr as se, ua as u, vc as d, wo as ce } from "./topMessageHandler_BGjUyIM4.min.js"; 10import { $ as le, F as f, L as ue, N as p, Ot as m, R as h, T as de, X as g, Y as _, _ as v, c as y, d as b, f as x, g as S, i as C, jt as w, l as T, lt as E, nt as D, q as fe, u as O, y as k } from "./runtime-core.esm-bundler_gPtQx1Jq.min.js"; 11import { r as pe } from "./vuex.esm-bundler_BVkMIwxs.min.js"; 12import { t as me } from "./ListPager_DuMjVvaZ.min.js"; 13import { t as he } from "./searchAbstract_BLeoB65V.min.js"; 14import { t as ge } from "./AppContent_CP9HWXwh.min.js"; 15import { t as _e } from "./CreditViewPopup_DlYI9Uuy.min.js"; 16import { c as ve, n as ye, o as be, r as A } from "./OvertimePopup_913ZKwUi.min.js"; 17import { t as j } from "./TableSearch_Bwmqihh0.min.js"; 18import { t as xe } from "./FreezeViewPopup_dJJ45C-A.min.js"; 19import { t as Se } from "./RequestViewPopup_BwVYaDJq.min.js"; 20//#region src/views/time-tracker/overtime/OvertimeList.vue?vue&type=script&setup=true&lang.ts 21var Ce = { class: "row" }, we = { 22 key: 0, 23 class: "col-lg-3" 24}, Te = { 25 key: 1, 26 class: "col-lg-3" 27}, Ee = { class: "button button-primary button-block margin-bottom-10" }, De = { 28 key: 2, 29 class: "col-lg-3" 30}, Oe = { class: "button button-primary button-block margin-bottom-10" }, ke = { class: "col-lg-3" }, Ae = { class: "col-lg-3" }, je = { class: "col-lg-3" }, Me = ["onClick"], Ne = { class: "flex flex-vertical-middle" }, Pe = { 31 key: 1, 32 class: "portuna-table portuna-table-bordered spacer-15" 33}, Fe = { key: 0 }, Ie = { key: 1 }, Le = { key: 0 }, Re = { key: 1 }, ze = { 34 class: "material-icons", 35 "aria-hidden": "true", 36 role: "img", 37 title: "zum Stundenkonto-Verlauf" 38}, Be = ["aria-label"], Ve = { 39 key: 0, 40 "aria-label": "Stunden hinzufügen/abziehen" 41}, He = { 42 key: 0, 43 "aria-label": "Stundenabbau anordnen" 44}, Ue = { key: 0 }, We = { key: 1 }, Ge = { 45 class: "material-icons", 46 "aria-hidden": "true", 47 role: "img", 48 title: "zur Zeiterfassung: Wochenansicht" 49}, Ke = ["title"], qe = ["title"], Je = ["title"], Ye = { key: 0 }, Xe = { key: 1 }, Ze = { key: 2 }, Qe = ["title"], $e = ["title"], et = { 50 key: 3, 51 "aria-label": "Stundenkonto war für diese Woche deaktiviert. Es wird Stundenkonto-Wert vor Deaktivierung angezeigt." 52}, tt = ["title"], nt = { 53 key: 0, 54 class: "material-icons font-size-20 color-headline padding-bottom-3 margin-left-5", 55 "aria-hidden": "true", 56 role: "img" 57}, rt = { 58 key: 0, 59 class: "material-icons font-size-20 color-headline margin-left-5", 60 "aria-hidden": "true", 61 role: "img" 62}, it = { 63 key: 0, 64 class: "material-icons font-size-20 color-headline padding-bottom-3", 65 "aria-hidden": "true", 66 role: "img" 67}, at = ["title"], ot = { 68 key: 0, 69 class: "material-icons font-size-20 color-headline padding-bottom-3", 70 "aria-hidden": "true", 71 role: "img" 72}, st = { 73 key: 0, 74 class: "material-icons font-size-20 color-headline padding-bottom-3", 75 "aria-hidden": "true", 76 role: "img" 77}, M = /* @__PURE__ */ k({ 78 __name: "OvertimeList", 79 props: { 80 employee: { default: 0 }, 81 entity: { default: 0 } 82 }, 83 setup(k, { expose: M }) { 84 let N = o(), P = N.currentUser, ct = oe(), F = k, I = pe(), lt = y(() => se()), ut = y(() => "employee-time-tracker-overtime-list"), L = D([]), R = D(""), z = D({}), B = D({}), V = D(""), H = D(!1), U = D(null), W = D(!1), G = D([]), K = D(0), q = D(!1), dt = D(!1), ft = (e) => { 85 F.employee || (e.is_current = [1]); 86 }, J = (e) => e.description && e.changing_reason !== "2" ? { 87 icon: "sticky_note_2", 88 text: `<b>Begründung: ${e.description}</b>` 89 }
89 : e.tooltips.overtime && e.changing_reason === "2" ? { 90 icon: "info", 91 text: e.tooltips.overtime 92 } : { 93 icon: null, 94 text: "<b>Keine Begründung angegeben</b>" 95 }, pt = (e) => "Durch Abweichung in der Wochenarbeitszeit und folgenden Stundenkonto-Einstellungen automatisch erstellter Eintrag auf dem Stundenkonto:<br>" + e.tooltips.overtime, mt = (e) => { 96 new r({ 97 title: "Antrag für Stundengutschrift anzeigen", 98 titleIcon: "access_time", 99 size: "small", 100 component: _e, 101 componentProps: { id: e } 102 }).open(); 103 }, ht = y(() => { 104 let e = [a(), { 105 label: "Zeiterfassung", 106 href: { name: "time-tracker" } 107 }]; 108 return F.employee && e.push({ 109 label: "Stundenkonten", 110 href: { name: "time-tracker-overtime-list" } 111 }), e; 112 }), gt = y(() => { 113 let e = z.value; 114 return e[0] = "Ohne Abteilung", e; 115 }), _t = y(() => { 116 let e = `/employee/time-tracker/overtime/fetch-list/employee-id/${F.employee}`; 117 return R.value && (e += `/week/${R.value}`), e; 118 }), Y = y(() => !U.value || U.value === Number(c("Y"))), vt = y(() => Y.value ? null : `Startwerte können lediglich im Jahr des Zeiterfassungsstarts (${U.value}) hinterlegt oder bearbeitet werden.`), X = () => I.dispatch("getPage", { url: _t.value }).then(({ data: { data: e } }) => { 119 L.value = e.entries, R.value = e.week, z.value = e.entitiesSelect, B.value = e.settings, V.value = e.freeze_end, H.value = e.allow_manual_overtime_freeze, U.value = e.startYear, W.value = e.allowed_edit, G.value = e.changingReasonFilterOptions, K.value = e.runningFreezeQueueJobs, q.value = e.hasRunningFreezeQueueJob, dt.value = e.retroactiveEnabled; 120 }).catch((e) => { 121 d(e), ct.routerGoBack(); 122 }), yt = (e) => { 123 ye(e).then(X); 124 }, bt = (e) => { 125 e.overtime_credit_request_id && mt(e.overtime_credit_request_id); 126 }, Z = (e) => { 127 e.overtime_request_id && I.dispatch("createPopup", { 128 title: "Stundenantrag anzeigen", 129 titleIcon: "access_time", 130 size: "small", 131 component: le(Se), 132 componentProps: { id: e.overtime_request_id } 133 }).then((e) => { 134 e.open(); 135 }); 136 }, xt = (e) => { 137 I.dispatch("createPopup", { 138 title: "Fixierter Stundenkonto-Wert", 139 titleIcon: "lock", 140 size: "small", 141 component: le(xe), 142 componentProps: { freezeEnd: e.freeze_end } 143 }).then((e) => { 144 e.open(); 145 }); 146 }, St = (t) => { 147 if (q.value) return; 148 let r = e(new Date(t)), a = ae(e(new Date(t)), 6); 149 I.dispatch("createPopup", { 150 title: "Warnung: Stundenkonto Festsetzung veranlassen", 151 titleIcon: "lock_clock", 152 text: `Möchten Sie die Festsetzung des Stundenkontos bis einschlieÃlich Woche vom ${c("d.m.", r)} - ${c("d.m.Y", a)} verbindlich veranlassen? 153 <br> 154 <br> 155 <p class="text-danger"> 156 <strong>Achtung:</strong> Diese Aktion ist <strong class="text-danger">nicht rückgängig zu machen</strong>.<b></b> 157 Nach dem Festsetzen sind <strong class="text-danger">keine Ãnderungen mehr möglich.</strong> 158 </p> 159 <br> 160 <br> 161 Mitarbeiter können für diese und alle Wochen davor keine Korrekturen, Stundenanträge, Krankmeldungen oder Abwesenheiten mehr einreichen. Auch nachträgliche Ãnderungen am Stundenkonto${dt ? " <strong class=\"text-danger\">und rückwirkende Urlaubsanträge</strong>" : ""} sind nicht mehr möglich.`, 162 textIcon: "lock_clock", 163 size: "small", 164 buttons: [i, { 165 title: "Stundenkonto Festsetzung veranlassen", 166 icon: "lock_clock", 167 type: "danger", 168 cmd: (e) => { 169 e.overwriteOptions({ 170 _title: "Festsetzung wird veranlasst...", 171 _titleIcon: "hourglass_top", 172 _text: "Die Festsetzung des Stundenkontos wird vorbereitet und in die Warteschlange eingereiht...", 173 _textIcon: "hourglass_top", 174 _textIconClass: "", 175 _buttons: [] 176 }), n.post(`/employee/time-tracker/overtime/set-freeze-end/employee-id/${F.employee}`, re({ date: t })).then((t) => { 177 if (t.data.status !== "OK") throw t; 178 X(), e.overwriteOptions({ 179 _title: "Festsetzung erfolgreich veranlasst", 180 _titleIcon: "check",
181 _text: "Die Festsetzung wurde erfolgreich veranlasst. Der Vorgang wird im Hintergrund verarbeitet.", 182 _textIcon: "check", 183 _textIconClass: "text-success", 184 _buttons: [te, { 185 type: "primary", 186 title: "Festsetzungs-Ãbersicht öffnen", 187 icon: "open_in_new", 188 to: { name: "time-tracker-overtime-freeze-queue-list" } 189 }] 190 }); 191 }).catch(d); 192 } 193 }] 194 }).then((e) => { 195 e.open(); 196 }); 197 }, Q = () => { 198 F.employee ? (delete $.model.is_current, delete $.model.entities) : $.model.is_current = [1], X(); 199 }; 200 X(), fe(F, Q, { deep: !0 }), fe(R, Q); 201 let $ = he({ 202 emitter: N.emitter, 203 searchStorageScope: ut, 204 preInitSearch: ft 205 }); 206 return F.entity && ($.model.entities = [F.entity]), M(Object.assign({}, N, $.expose)), (e, n) => { 207 let r = ue("router-link"), i = h("interact"), a = h("sort"), o = h("tooltip"); 208 return p(), O(ge, { 209 class: "module-time-tracker", 210 headline: "Zeiterfassung: Stundenkonten", 211 breadcrumb: ht.value 212 }, { 213 default: _(() => [v(me, de(E($).properties, { 214 entries: L.value, 215 ref: "list" 216 }), { 217 default: _(({ listEntries: e }) => [ 218 T("div", Ce, [ 219 B.value.overtime_checkbox && k.employee === E(P).employeeId ? (p(), x("div", we, [T("button", { 220 class: "button button-primary button-block", 221 onClick: n[0] || (n[0] = (e) => E(be)(0, !0, null, null, !0)) 222 }, [...n[6] || (n[6] = [ 223 T("i", { 224 class: "material-icons", 225 "aria-hidden": "true", 226 role: "img" 227 }, "assignment", -1), 228 S(), 229 T("span", null, "Stunden beantragen", -1) 230 ])])])) : b("", !0), 231 n[17] || (n[17] = S()), 232 k.employee !== E(P).employeeId && k.employee !== 0 ? (p(), x("div", Te, [g((p(), x("button", Ee, [...n[7] || (n[7] = [ 233 T("i", { 234 class: "material-icons", 235 "aria-hidden": "true", 236 role: "img" 237 }, "add", -1), 238 S(), 239 T("span", null, "Stunden hinzufügen/abziehen", -1) 240 ])])), [[i, () => yt(k.employee)]])])) : b("", !0), 241 n[18] || (n[18] = S()), 242 k.employee !== E(P).employeeId && k.employee !== 0 ? (p(), x("div", De, [g((p(), x("button", Oe, [...n[8] || (n[8] = [ 243 T("i", { 244 class: "material-icons", 245 "aria-hidden": "true", 246 role: "img" 247 }, "add", -1), 248 S(), 249 T("span", null, "Stundenabbau anordnen", -1) 250 ])])), [[i, () => E(A)(k.employee)]])])) : b("", !0), 251 n[19] || (n[19] = S()), 252 k.employee === 0 ? (p(), x(C, { key: 3 }, [ 253 T("div", ke, [T("label", null, [n[9] || (n[9] = S("\n Nach Abteilung filtern:\n ", -1)), v(s, { 254 modelValue: E($).model.entities, 255 "onUpdate:modelValue": n[1] || (n[1] = (e) => E($).model.entities = e), 256 options: gt.value, 257 multiple: "" 258 }, null, 8, ["modelValue", "options"])])]), 259 n[12] || (n[12] = S()), 260 T("div", Ae, [T("label", null, [n[10] || (n[10] = S("\n Nach Mitarbeiterstatus filtern:\n ", -1)), v(s, { 261 modelValue: E($).model.is_current, 262 "onUpdate:modelValue": n[2] || (n[2] = (e) => E($).model.is_current = e), 263 options: lt.value, 264 multiple: "" 265 }, null, 8, ["modelValue", "options"])])]), 266 n[13] || (n[13] = S()), 267 T("div", je, [T("label", null, [n[11] || (n[11] = S("\n Woche wählen:\n ", -1)), v(t, { 268 modelValue: R.value, 269 "onUpdate:modelValue": n[3] || (n[3] = (e) => R.value = e), 270 type: "week" 271 }, null, 8, ["modelValue"])])]) 272 ], 64)) : b("", !0), 273 n[20] || (n[20] = S()), 274 k.employee === 0 ? b("", !0) : (p(), O(ne, { 275 key: 4, 276 "close-on-scroll": !1, 277 position: "bottom", 278 "wrapper-element": "span" 279 }, { 280 default: _(({ toggle: e, close: t, open: r }) => [T("button", { 281 onClick: e, 282 class: "button button-default", 283 type: "button" 284 }, [...n[14] || (n[14] = [T("i", { 285 class: "material-icons md-16", 286 "aria-hidden": "true", 287 role: "img" 288 }, "info", -1), T("span", null, "Legende", -1)])], 8, Me)]), 289 container: _(() => [...n[15] || (n[15] = [T("div", { style: { "max-width": "400px" } }, [T("div", { class: "infobox infobox-border" }, [ 290 T("div", { class: "infobox-headline pointer" }, [ 291 T("strong", null, "Legende"), 292 S(), 293 T("i", { 294 class: "material-icons", 295 "aria-hidden": "true", 296 style: { float: "right" }, 297 textContent: "expand_more", 298 role: "img" 299 }) 300 ]), 301 S(), 302 T("hr", { class: "no-margin-top" }), 303 S(), 304 T("div", { class: "row" }, [T("div", { class: "message-content" }, [ 305 T("strong", { class: "margin-left-10" }, "Negative Werte"), 306 S(), 307 T("ul", null, [ 308 T("li", null, "Minusstunden (= automatisch)"), 309 S(), 310 T("li", null, "Stundenabbau (= mit Antrag)"),
311 S(), 312 T("li", null, "Stunden abgezogen (= Stundenkonto-Veränderungen durch aktives Eintragen)"), 313 S(), 314 T("li", null, "Negative Stundengutschrift (= mit Antrag)") 315 ]), 316 S(), 317 T("hr", { class: "spacer-10" }), 318 S(), 319 T("strong", { class: "margin-left-10" }, "Positive Werte"), 320 S(), 321 T("ul", null, [ 322 T("li", null, "Plusstunden (= automatisch)"), 323 S(), 324 T("li", null, "Ãberstunden (= mit Antrag)"), 325 S(), 326 T("li", null, "Stunden hinzugefügt (= Stundenkonto-Veränderungen durch aktives Eintragen)"), 327 S(), 328 T("li", null, "Positive Stundengutschrift (= mit Antrag)") 329 ]) 330 ])]) 331 ])], -1)])]), 332 _: 1 333 })) 334 ]), 335 n[105] || (n[105] = S()), 336 K.value > 0 ? (p(), O(ie, { 337 key: 0, 338 class: "disclaimer padding-md margin-top-10" 339 }, { 340 default: _(() => [T("div", Ne, [ 341 n[24] || (n[24] = T("i", { 342 "aria-hidden": "true", 343 class: "material-icons md-36 text-grey spacer-right-15", 344 role: "img" 345 }, "lock_clock", -1)), 346 n[25] || (n[25] = S()), 347 T("div", null, [ 348 n[21] || (n[21] = T("strong", { class: "color-contrast-primary-light" }, "Festsetzung läuft", -1)), 349 n[22] || (n[22] = S()), 350 T("div", null, "\n Aktuell " + w(K.value > 1 ? "werden" : "wird") + " " + w(K.value) + " Stundenkont" + w(K.value > 1 ? "en" : "o") + " festgesetzt.\n Klicken Sie hier, um den aktuellen Status sowie die betroffenen Stundenkonten einzusehen.\n ", 1) 351 ]), 352 n[26] || (n[26] = S()), 353 v(r, { 354 to: { name: "time-tracker-overtime-freeze-queue-list" }, 355 class: "button button-default button-small flex--item-right" 356 }, { 357 default: _(() => [...n[23] || (n[23] = [ 358 T("span", { class: "spacer-right-5" }, "Ãbersicht", -1), 359 S(), 360 T("i", { 361 "aria-hidden": "true", 362 class: "material-icons md-16 no-padding", 363 role: "img" 364 }, "open_in_new", -1) 365 ])]), 366 _: 1 367 }) 368 ])]), 369 _: 1 370 })) : b("", !0), 371 n[106] || (n[106] = S()), 372 k.employee === 0 ? (p(), x("table", Pe, [ 373 n[54] || (n[54] = T("colgroup", null, [ 374 T("col", { style: { width: "45px" } }), 375 S(), 376 T("col"), 377 S(), 378 T("col"), 379 S(), 380 T("col"), 381 S(), 382 T("col", { style: { width: "45px" } }) 383 ], -1)), 384 n[55] || (n[55] = S()), 385 T("thead", null, [T("tr", null, [ 386 n[28] || (n[28] = T("th", { class: "text-center background-dark" }, [T("i", { 387 class: "material-icons md-20 table-icon contrast-primary-light", 388 "aria-hidden": "true", 389 role: "img" 390 }, "timelapse")], -1)), 391 n[29] || (n[29] = S()), 392 g(v(j, { 393 text: "Mitarbeiter", 394 modelValue: E($).model.full_name, 395 "onUpdate:modelValue": n[4] || (n[4] = (e) => E($).model.full_name = e) 396 }, null, 8, ["modelValue"]), [[ 397 a, 398 "surname", 399 void 0, 400 { default: !0 } 401 ]]), 402 n[30] || (n[30] = S()), 403 g((p(), x("th", null, [...n[27] || (n[27] = [S("Stundenkonto", -1)])])), [[a, "overtime_minutes"]]), 404 n[31] || (n[31] = S()), 405 n[32] || (n[32] = T("td", null, null, -1)), 406 n[33] || (n[33] = S()), 407 n[34] || (n[34] = T("td", null, null, -1)) 408 ])]), 409 n[56] || (n[56] = S()), 410 T("tbody", null, [(p(!0), x(C, null, f(e, (e) => (p(), x("tr", { class: m({ 411 "time-tracker-list-green": e.overtime_minutes > 0, 412 "time-tracker-list-red": e.overtime_minutes < 0 413 }) }, [ 414 n[49] || (n[49] = T("td", null, null, -1)), 415 n[50] || (n[50] = S()), 416 T("td", null, [ 417 (p(), O(u, { 418 type: "employee", 419 id: e.employee_id, 420 class: "tiny", 421 key: `employee_${e.employee_id}` 422 }, {
423 name: _(({ username: t }) => [v(r, { to: { 424 name: "employee-view", 425 params: { id: e.employee_id } 426 } }, { 427 default: _(() => [ 428 T("strong", null, w(t), 1), 429 n[35] || (n[35] = S()), 430 e.is_future ? (p(), x(C, { key: 0 }, [S("(zukünftiger Mitarbeiter)")], 64)) : e.is_current ? b("", !0) : (p(), x(C, { key: 1 }, [S("(ehemaliger Mitarbeiter)")], 64)) 431 ]), 432 _: 2 433 }, 1032, ["to"])]), 434 _: 2 435 }, 1032, ["id"])), 436 n[36] || (n[36] = S()), 437 (p(!0), x(C, null, f(e.entities.slice(0, 3), (t, n) => (p(), x("small", null, [S(w(E(l)(t, "entity")) + " ", 1), n !== 2 && e.entities.length - 1 > n ? (p(), x("span", Fe, ",")) : n === 2 && e.entities.length > 3 ? (p(), x("span", Ie, " [...]")) : b("", !0)]))), 256)) 438 ]), 439 n[51] || (n[51] = S()), 440 T("td", null, [v(r, { to: { 441 name: "time-tracker-overtime-list", 442 params: { employee: e.employee_id } 443 } }, { 444 default: _(() => [ 445 e.overtime_minutes >= 0 ? (p(), x("span", Le, w(e.overtime_hours), 1)) : e.overtime_minutes < 0 ? (p(), x("span", Re, "-" + w(e.overtime_hours), 1)) : b("", !0), 446 n[38] || (n[38] = S()), 447 T("span", null, [g((p(), x("i", ze, [...n[37] || (n[37] = [S("link", -1)])])), [[o]])]) 448 ]), 449 _: 2 450 }, 1032, ["to"])]), 451 n[52] || (n[52] = S()), 452 T("td", null, [e.allowed.view ? (p(), O(r, { 453 key: 0, 454 to: { 455 name: "time-tracker-overtime-list", 456 params: { employee: e.employee_id } 457 }, 458 class: "pointer" 459 }, { 460 default: _(() => [...n[39] || (n[39] = [S("\n zum Stundenkonto-Verlauf\n ", -1)])]), 461 _: 1 462 }, 8, ["to"])) : b("", !0)]), 463 n[53] || (n[53] = S()), 464 T("td", null, [v(ee, null, { 465 default: _(() => [ 466 T("li", null, [e.allowed.view ? (p(), O(r, { 467 key: 0, 468 to: { 469 name: "time-tracker-overtime-list", 470 params: { employee: e.employee_id } 471 }, 472 class: "pointer" 473 }, { 474 default: _(() => [...n[40] || (n[40] = [ 475 T("i", { 476 class: "material-icons md-18", 477 "aria-hidden": "true", 478 role: "img" 479 }, "view_list", -1), 480 S(), 481 T("span", null, "Stundenkonto öffnen", -1) 482 ])]), 483 _: 1 484 }, 8, ["to"])) : b("", !0)]), 485 n[45] || (n[45] = S()), 486 T("li", null, [e.allowed.edit ? (p(), O(r, { 487 key: 0, 488 to: { 489 name: "time-tracker-settings-edit", 490 params: { 491 type: 2, 492 entity: 0, 493 employee: e.employee_id 494 } 495 }, 496 class: "pointer text-warning" 497 }, { 498 default: _(() => [...n[41] || (n[41] = [ 499 T("i", { 500 class: "material-icons md-18", 501 "aria-hidden": "true", 502 role: "img" 503 }, "settings", -1), 504 S(), 505 T("span", null, "Einstellungen bearbeiten", -1) 506 ])]), 507 _: 1 508 }, 8, ["to"])) : b("", !0)]), 509 n[46] || (n[46] = S()), 510 T("li", null, [e.allowed.admin ? g((p(), x("div", { 511 key: 0, 512 class: m({ "disabled-container": !Y.value }), 513 "aria-label": vt.value 514 }, [...n[42] || (n[42] = [ 515 T("i", { 516 "aria-hidden": "true", 517 class: "material-icons md-18", 518 role: "img" 519 }, "swap_horiz", -1), 520 S(), 521 T("span", null, "Startwert bearbeiten", -1) 522 ])], 10, Be)), [[i, () => Y.value && E(ve)(e.employee_id)], [o]]) : b("", !0)]), 523 n[47] || (n[47] = S()), 524 T("li", null, [e.allowed.edit ? g((p(), x("div", Ve, [...n[43] || (n[43] = [ 525 T("i", { 526 "aria-hidden": "true", 527 class: "material-icons md-18", 528 role: "img" 529 }, "add", -1), 530 S(), 531 T("span", null, "Stunden hinzufügen/abziehen", -1) 532 ])])), [[i, () => yt(e.employee_id)]]) : b("", !0)]), 533 n[48] || (n[48] = S()), 534 T("li", null, [e.allowed.edit ? g((p(), x("div", He, [...n[44] || (n[44] = [ 535 T("i", { 536 "aria-hidden": "true", 537 class: "material-icons md-18", 538 role: "img" 539 }
539, "schedule", -1), 540 S(), 541 T("span", null, "Stundenabbau anordnen", -1) 542 ])])), [[i, () => E(A)(e.employee_id)]]) : b("", !0)]) 543 ]), 544 _: 2 545 }, 1024)]) 546 ], 2))), 256))]) 547 ])) : (p(), x("table", { 548 key: 2, 549 class: m(["portuna-table portuna-table-bordered", { "spacer-15": k.employee === E(P).employeeId }]) 550 }, [ 551 n[102] || (n[102] = T("colgroup", null, [ 552 T("col", { style: { width: "45px" } }), 553 S(), 554 T("col"), 555 S(), 556 T("col"), 557 S(), 558 T("col"), 559 S(), 560 T("col"), 561 S(), 562 T("col"), 563 S(), 564 T("col") 565 ], -1)), 566 n[103] || (n[103] = S()), 567 T("thead", null, [T("tr", null, [ 568 n[60] || (n[60] = T("th", { class: "text-center background-dark" }, [T("i", { 569 class: "material-icons md-20 table-icon contrast-primary-light", 570 "aria-hidden": "true", 571 role: "img" 572 }, "timelapse")], -1)), 573 n[61] || (n[61] = S()), 574 n[62] || (n[62] = T("th", null, "Mitarbeiter", -1)), 575 n[63] || (n[63] = S()), 576 g((p(), x("th", null, [...n[57] || (n[57] = [S("Woche", -1)])])), [[a, "week_start"]]), 577 n[64] || (n[64] = S()), 578 g((p(), x("th", null, [...n[58] || (n[58] = [S("Ãnderung", -1)])])), [[a, "change"]]), 579 n[65] || (n[65] = S()), 580 g((p(), x("th", null, [...n[59] || (n[59] = [S("Stundenkonto", -1)])])), [[a, "overtime_minutes"]]), 581 n[66] || (n[66] = S()), 582 v(j, { 583 text: "Ãnderungstyp", 584 modelValue: E($).model.changing_reason_filter, 585 "onUpdate:modelValue": n[5] || (n[5] = (e) => E($).model.changing_reason_filter = e), 586 options: G.value 587 }, null, 8, ["modelValue", "options"]), 588 n[67] || (n[67] = S()), 589 n[68] || (n[68] = T("td", null, null, -1)) 590 ])]), 591 n[104] || (n[104] = S()), 592 T("tbody", null, [(p(!0), x(C, null, f(e, (e) => (p(), x("tr", { class: m({ 593 "time-tracker-list-green": e.change > 0, 594 "time-tracker-list-red": e.change < 0, 595 inactive: e.changing_reason === "10" 596 }) }, [ 597 n[95] || (n[95] = T("td", null, null, -1)), 598 n[96] || (n[96] = S()), 599 T("td", null, [ 600 (p(), O(u, { 601 type: "employee", 602 id: e.employee_id, 603 class: "tiny", 604 key: `employee_${e.employee_id}` 605 }, { 606 name: _(({ username: t }) => [v(r, { to: { 607 name: "employee-view", 608 params: { id: e.employee_id } 609 } }, { 610 default: _(() => [T("strong", null, w(t), 1)]), 611 _: 2 612 }, 1032, ["to"])]), 613 _: 2 614 }, 1032, ["id"])), 615 n[69] || (n[69] = S()), 616 (p(!0), x(C, null, f(e.entities.slice(0, 3), (t, n) => (p(), x("small", null, [S(w(E(l)(t, "entity")) + " ", 1), n !== 2 && e.entities.length - 1 > n ? (p(), x("span", Ue, ",")) : n === 2 && e.entities.length > 3 ? (p(), x("span", We, " [...]")) : b("", !0)]))), 256)) 617 ]), 618 n[97] || (n[97] = S()), 619 T("td", null, [v(r, { to: { 620 name: "time-tracker-evaluation-view", 621 params: { 622 employee: e.employee_id, 623 week: e.week_start 624 } 625 } }, { 626 default: _(() => [ 627 T("span", null, w(e.week) + " (KW " + w(E(c)("W", e.week_start)) + ")", 1), 628 n[71] || (n[71] = S()), 629 g((p(), x("i", Ge, [...n[70] || (n[70] = [S("link", -1)])])), [[o]]) 630 ]), 631 _: 2 632 }, 1032, ["to"])]), 633 n[98] || (n[98] = S()), 634 T("td", null, [e.change > 0 ? g((p(), x("span", { 635 key: 0, 636 title: J(e).text 637 }, [S("+" + w(e.changeString), 1)], 8, Ke)), [[o]]) : e.change < 0 ? g((p(), x("span", { 638 key: 1, 639 title: J(e).text 640 }, [S("-" + w(e.changeString), 1)], 8, qe)), [[o]]) : !e.change || e.change === 0 ? g((p(), x("span", { 641 key: 2, 642 title: J(e).text 643 }, [...n[72] || (n[72] = [T("i", { 644 class: "material-icons", 645 "aria-hidden": "true", 646 role: "img" 647 }, "remove", -1)])], 8, Je)), [[o]]) : b("", !0)]), 648 n[99] || (n[99] = S()), 649 T("td", null, [ 650 e.overtime_minutes >= 0 ? (p(), x("span", Ye, w(e.overtime_hours), 1)) : e.overtime_minutes < 0 ? (p(), x("span", Xe, "-" + w(e.overtime_hours), 1)) : b("", !0), 651 n[76] || (n[76] = S()), 652 e.changing_reason === "10" ? b("", !0) : (p(), x("span", Ze, [V.value && e.week_start <= V.value ? g((p(), x("i", { 653 key: 0, 654 title: "Der Wert des Stundenkontos wurde für diese Woche " + (e.freeze_end.creator === 0 ? "automatisch" : "manuell") + " am " + E(c)("d.m.Y", e.freeze_end.created) + " festgesetzt, um das Stundenkonto des Mitarbeiter
654s vor Ãnderungen zu schützen. Die Auswertung für diese Woche kann daher nicht verändert werden. Um mehr Informationen zu sehen, klicken Sie auf das Icon.", 655 class: "material-icons pointer padding-bottom-5 margin-left-5", 656 "aria-hidden": "true", 657 role: "img" 658 }, [...n[73] || (n[73] = [S("lock", -1)])], 8, Qe)), [[i, () => xt(e)], [o]]) : H.value && e.week_start < R.value && W.value ? g((p(), x("i", { 659 key: 1, 660 title: q.value ? "Stundenkonto-Festsetzung wurde veranlasst." : "Stundenkonto bis einschlieÃlich " + E(ce)(e.week_start, "sunday", "d.m.Y") + " festsetzen", 661 class: m([q.value ? "disabled" : "text-warning", "material-icons pointer padding-bottom-5 margin-left-5"]), 662 "aria-hidden": "true", 663 role: "img" 664 }, [...n[74] || (n[74] = [S("lock_clock", -1)])], 10, $e)), [[i, () => St(e.week_start)], [o]]) : b("", !0)])), 665 n[77] || (n[77] = S()), 666 e.changing_reason === "10" ? g((p(), x("span", et, [...n[75] || (n[75] = [T("i", { 667 "aria-hidden": "true", 668 class: "material-icons md-18 text-grey cursor-help", 669 role: "img" 670 }, "info", -1)])])), [[o]]) : b("", !0) 671 ]), 672 n[100] || (n[100] = S()), 673 T("td", null, [g((p(), x("div", { 674 title: J(e).text, 675 class: "flex flex-vertical-middle flex-wrap gap-5" 676 }, [ 677 e.changing_reason === "0" ? (p(), x(C, { key: 0 }, [S("\n Startwert eingefügt\n ")], 64)) : e.changing_reason === "1" && e.change > 0 ? (p(), x(C, { key: 1 }, [ 678 T("span", null, w(e.overtime_credit_request_id ? "Positive Stundengutschrift" : "Stunden hinzugefügt"), 1), 679 n[79] || (n[79] = S()), 680 e.overtime_credit_request_id ? g((p(), x("i", nt, [...n[78] || (n[78] = [S("assignment", -1)])])), [[i, () => bt(e)]]) : b("", !0) 681 ], 64)) : e.changing_reason === "1" && e.change < 0 ? (p(), x(C, { key: 2 }, [ 682 T("span", null, w(e.overtime_credit_request_id ? "Negative Stundengutschrift" : "Stunden abgezogen"), 1), 683 n[81] || (n[81] = S()), 684 e.overtime_credit_request_id ? g((p(), x("i", rt, [...n[80] || (n[80] = [S("assignment", -1)])])), [[i, () => bt(e)]]) : b("", !0) 685 ], 64)) : e.changing_reason === "2" ? (p(), x(C, { key: 3 }, [n[83] || (n[83] = S("\n Ãberstunden\n ", -1)), e.overtime_request_id ? g((p(), x("i", it, [...n[82] || (n[82] = [S("assignment", -1)])])), [[i, () => Z(e)]]) : b("", !0)], 64)) : e.changing_reason === "3" ? (p(), x(C, { key: 4 }, [ 686 n[86] || (n[86] = T("span", null, "Minusstunden", -1)), 687 n[87] || (n[87] = S()), 688 g((p(), x("i", { 689 class: "material-icons font-size-20 color-primary", 690 "aria-hidden": "true", 691 role: "img", 692 title: pt(e) 693 }, [...n[84] || (n[84] = [S("info", -1)])], 8, at)), [[o]]), 694 n[88] || (n[88] = S()), 695 e.overtime_request_id ? g((p(), x("i", ot, [...n[85] || (n[85] = [S("assignment", -1)])])), [[i, () => Z(e)]]) : b("", !0) 696 ], 64)) : e.changing_reason === "4" ? (p(), x(C, { key: 5 }, [n[90] || (n[90] = S("\n Stundenabbau\n ", -1)), e.overtime_request_id ? g((p(), x("i", st, [...n[89] || (n[89] = [S("assignment", -1)])])), [[i, () => Z(e)]]) : b("", !0)], 64)) : e.changing_reason === "5" ? (p(), x(C, { key: 6 }, [S("Antrag zurückgezogen")], 64)) : e.changing_reason === "10" ? (p(), x(C, { key: 7 }, [S("Stundenkonto deaktiviert")], 64)) : b("", !0), 697 n[93] || (n[93] = S()), 698 e.creator > 0 && ["0", "1"].includes(e.changing_reason) ? (p(), x(C, { key: 8 }, [ 699 n[91] || (n[91] = T("small", null, "von", -1)), 700 n[92] || (n[92] = S()), 701 v(u, { 702 id: e.creator, 703 class: "tiny" 704 }, { 705 default: _(() => [S(w(e.created ? E(c)("d.m.Y H:i", e.created) + " Uhr" : ""), 1)]), 706 _: 2 707 }, 1032, ["id"]) 708 ], 64)) : b("", !0) 709 ], 8, tt)), [[o]])]), 710 n[101] || (n[101] = S()), 711 T("td", null, [v(r, { to: { 712 name: "time-tracker-evaluation-view", 713 params: { 714 employee: e.employee_id, 715 week: e.week_start 716 } 717 } }, { 718 default: _(() => [...n[94] || (n[94] = [S("\n zur Wochen
718ansicht\n ", -1)])]), 719 _: 1 720 }, 8, ["to"])]) 721 ], 2))), 256))]) 722 ], 2)) 723 ]), 724 _: 1 725 }, 16, ["entries"])]), 726 _: 1 727 }, 8, ["breadcrumb"]); 728 }; 729 } 730}); 731//#endregion 732export { M as default }; 733 734//# sourceMappingURL=OvertimeList_BiiWicT9.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.