Update staging #567
@@ -18,8 +18,8 @@ let enddatum = end.isValid() ? end.toDate() : moment().endOf("month").toDate();
|
||||
|
||||
// Wir dürfen die Abrechnung erst ab Juni starten lassen.
|
||||
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();
|
||||
enddatum = moment().set("year", 2025).set("month", 5).set("date", 1).endOf("month").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).set("hour", 0).set("minute", 0).set("second", 0).endOf("month").toDate();
|
||||
}
|
||||
|
||||
const benutzer = await getCurrentUser(Astro);
|
||||
|
||||
@@ -9,7 +9,7 @@ import { extrahiereAusweisAusFeldMitMehrerenAusweisen } from "#lib/server/auswei
|
||||
import { getProvision } from "#lib/provision";
|
||||
moment.locale("de");
|
||||
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);
|
||||
|
||||
|
||||
@@ -75,13 +75,11 @@
|
||||
</table>
|
||||
</div>
|
||||
</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;">
|
||||
<p class="font-semibold">Copyright © 2018 · IB Cornelsen</p>
|
||||
<p class="font-semibold">info@online-energieausweis.org</p>
|
||||
</footer>
|
||||
{{/each}}
|
||||
<span class="fixed bottom-24 right-16 font-semibold">Gesamt {{ gesamt }} €</span>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user