Verbrauchsausweis Gewerbe

This commit is contained in:
Moritz Utcke
2024-01-12 14:26:15 +07:00
parent 9de268f32a
commit 898575d80f
24 changed files with 281 additions and 234 deletions

View File

@@ -1,11 +1,11 @@
<script lang="ts">
import { VerbrauchsausweisWohnen } from "@ibcornelsen/database";
import { BedarfsausweisWohnen, VerbrauchsausweisGewerbe, VerbrauchsausweisWohnen } from "@ibcornelsen/database";
export let max: number = 2;
// Array of base64 encoded images read into the input.
export let images: (File & { data: string })[] = [];
export let ausweis: VerbrauchsausweisWohnen;
export let ausweis: VerbrauchsausweisWohnen | VerbrauchsausweisGewerbe | BedarfsausweisWohnen;
function getAllImages(this: HTMLInputElement) {
const files = this.files || [];