Übersetzungen + Prüfbox Bezahlung
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user