aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/eu
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/eu')
-rw-r--r--src/main/resources/eu/mulk/aendggner/web/app.js2
-rw-r--r--src/main/resources/eu/mulk/aendggner/web/index.html8
-rw-r--r--src/main/resources/eu/mulk/aendggner/web/worker.js3
3 files changed, 12 insertions, 1 deletions
diff --git a/src/main/resources/eu/mulk/aendggner/web/app.js b/src/main/resources/eu/mulk/aendggner/web/app.js
index 97eca52..d75482b 100644
--- a/src/main/resources/eu/mulk/aendggner/web/app.js
+++ b/src/main/resources/eu/mulk/aendggner/web/app.js
@@ -50,6 +50,7 @@ formular.addEventListener("submit", async (ereignis) => {
}
const artikel = document.querySelector("#artikel").value.trim();
+ const stichtag = document.querySelector("#stichtag").value.trim();
const nurText = document.querySelector("#nurtext").checked;
knopf.disabled = true;
@@ -73,6 +74,7 @@ formular.addEventListener("submit", async (ereignis) => {
patches,
vollstaendig: document.querySelector("#vollstaendig").checked,
artikel: artikel === "" ? null : artikel,
+ stichtag: stichtag === "" ? null : stichtag,
nurText,
});
});
diff --git a/src/main/resources/eu/mulk/aendggner/web/index.html b/src/main/resources/eu/mulk/aendggner/web/index.html
index edca09e..c5f7f47 100644
--- a/src/main/resources/eu/mulk/aendggner/web/index.html
+++ b/src/main/resources/eu/mulk/aendggner/web/index.html
@@ -140,6 +140,14 @@
<input type="text" id="artikel" name="artikel" inputmode="numeric"
autocomplete="off" placeholder="z. B. 3">
</div>
+ <div class="feld">
+ <label for="stichtag">Stichtag
+ <span class="erl">(nur auszufüllen, wenn die Fassung eines bestimmten Tages
+ gewünscht ist: Tritt das Änderungsgesetz gestaffelt in Kraft, so bleiben die an
+ diesem Tag noch nicht geltenden Befehle unangewandt und werden gesondert
+ ausgewiesen. Ohne Angabe werden alle Befehle angewandt)</span></label>
+ <input type="date" id="stichtag" name="stichtag" autocomplete="off">
+ </div>
<div class="feld ankreuzfeld">
<label>
<input type="checkbox" id="vollstaendig" name="vollstaendig">
diff --git a/src/main/resources/eu/mulk/aendggner/web/worker.js b/src/main/resources/eu/mulk/aendggner/web/worker.js
index 827358e..e7f2161 100644
--- a/src/main/resources/eu/mulk/aendggner/web/worker.js
+++ b/src/main/resources/eu/mulk/aendggner/web/worker.js
@@ -19,7 +19,7 @@ const gestartet = GraalVM.run([], Object.assign(new GraalVM.Config(), {
}));
self.onmessage = async (nachricht) => {
- const { stamm, patches, vollstaendig, artikel, nurText } = nachricht.data;
+ const { stamm, patches, vollstaendig, artikel, stichtag, nurText } = nachricht.data;
try {
await gestartet;
await bereit;
@@ -27,6 +27,7 @@ self.onmessage = async (nachricht) => {
stamm,
patches,
artikel: artikel ?? null,
+ stichtag: stichtag ?? null,
vollstaendig: Boolean(vollstaendig),
nurText: Boolean(nurText),
});