Übersetzungen + Prüfbox Bezahlung

This commit is contained in:
Moritz Utcke
2023-08-31 23:12:18 +06:00
parent 0fac93486f
commit 7bf1b9a6c6
90 changed files with 3015 additions and 417 deletions

View File

@@ -5,14 +5,10 @@
export let ausweis: Verbrauchsausweis | Bedarfsausweis | VerbrauchsausweisGewerbe;
function viewDatenblatt() {
const base64 = btoa(JSON.stringify(ausweis));
window.open(`/pdf/datenblatt?base64=${base64}`, "_blank");
}
const base64 = btoa(JSON.stringify(ausweis));
</script>
<button class="border-2 rounded-lg w-[30%] bg-white text-center hover:shadow-md no-underline p-6" on:click={viewDatenblatt}>
<a class="border-2 rounded-lg w-[30%] bg-white text-center hover:shadow-md no-underline p-6 cursor-pointer" target="_blank" href="/pdf/datenblatt?base64={base64}">
<img src="/images/datenblatt.webp" alt="Datenblatt" />
<span class="text-black font-medium text-lg">Datenblatt</span>
</button>
</a>