Fix
This commit is contained in:
@@ -18,8 +18,8 @@ let enddatum = end.isValid() ? end.toDate() : moment().endOf("month").toDate();
|
|||||||
|
|
||||||
// Wir dürfen die Abrechnung erst ab Juni starten lassen.
|
// Wir dürfen die Abrechnung erst ab Juni starten lassen.
|
||||||
if (startdatum < moment().set("year", 2025).set("month", 5).set("date", 1).toDate()) {
|
if (startdatum < moment().set("year", 2025).set("month", 5).set("date", 1).toDate()) {
|
||||||
startdatum = moment().set("year", 2025).set("month", 5).set("date", 1).toDate();
|
startdatum = moment().set("year", 2025).set("month", 5).set("date", 1).set("hour", 0).set("minute", 0).set("second", 0).toDate();
|
||||||
enddatum = moment().set("year", 2025).set("month", 5).set("date", 1).endOf("month").toDate();
|
enddatum = moment().set("year", 2025).set("month", 5).set("date", 1).set("hour", 0).set("minute", 0).set("second", 0).endOf("month").toDate();
|
||||||
}
|
}
|
||||||
|
|
||||||
const benutzer = await getCurrentUser(Astro);
|
const benutzer = await getCurrentUser(Astro);
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import { extrahiereAusweisAusFeldMitMehrerenAusweisen } from "#lib/server/auswei
|
|||||||
import { getProvision } from "#lib/provision";
|
import { getProvision } from "#lib/provision";
|
||||||
moment.locale("de");
|
moment.locale("de");
|
||||||
moment.tz.setDefault("Europe/Berlin");
|
moment.tz.setDefault("Europe/Berlin");
|
||||||
const datum = moment(Astro.url.searchParams.get("d")).set("date", 1);
|
const datum = moment(Astro.url.searchParams.get("d")).set("date", 1).set("hour", 0).set("minute", 0).set("second", 0);
|
||||||
|
|
||||||
const benutzer = await getCurrentUser(Astro);
|
const benutzer = await getCurrentUser(Astro);
|
||||||
|
|
||||||
|
|||||||
@@ -75,13 +75,11 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
{{#if @last}}
|
|
||||||
<span class="fixed bottom-24 right-16 font-semibold">Gesamt {{ @root.gesamt }} €</span>
|
|
||||||
{{/if}}
|
|
||||||
<footer class="px-16 py-6 flex flex-row justify-between items-center fixed bottom-0 left-0 w-full" style="border-top: 12px #f37e3c solid;">
|
<footer class="px-16 py-6 flex flex-row justify-between items-center fixed bottom-0 left-0 w-full" style="border-top: 12px #f37e3c solid;">
|
||||||
<p class="font-semibold">Copyright © 2018 · IB Cornelsen</p>
|
<p class="font-semibold">Copyright © 2018 · IB Cornelsen</p>
|
||||||
<p class="font-semibold">info@online-energieausweis.org</p>
|
<p class="font-semibold">info@online-energieausweis.org</p>
|
||||||
</footer>
|
</footer>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
<span class="fixed bottom-24 right-16 font-semibold">Gesamt {{ gesamt }} €</span>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user