|
|
|
|
@@ -1,6 +1,9 @@
|
|
|
|
|
<script lang="ts">
|
|
|
|
|
import HelpLabel from "#labels/HelpLabel.svelte";
|
|
|
|
|
import Inputlabel from "#labels/InputLabel.svelte";
|
|
|
|
|
import Verbrauchslabel from "#labels/VerbrauchsLabel.svelte";
|
|
|
|
|
import VerbrauchsHelpLabel from "#labels/VerbrauchsHelpLabel.svelte";
|
|
|
|
|
|
|
|
|
|
import Label from "../Label.svelte";
|
|
|
|
|
|
|
|
|
|
import moment from "moment";
|
|
|
|
|
@@ -82,10 +85,10 @@ sm:grid-cols-2 sm:gap-x-6 sm:gap-y-8
|
|
|
|
|
xl:grid-cols-3 xl:gap-x-8 xl:gap-y-8
|
|
|
|
|
">
|
|
|
|
|
|
|
|
|
|
<!-- Heizquellen -->
|
|
|
|
|
<!-- primäre Heizquellen -->
|
|
|
|
|
|
|
|
|
|
<div class="input-standard order-1 md:order-1 xl:order-1">
|
|
|
|
|
<Inputlabel title="Auswahl der Heizquellen"></Inputlabel>
|
|
|
|
|
<Inputlabel title="Heizquellen"></Inputlabel>
|
|
|
|
|
|
|
|
|
|
<div class="input-checkboxen">
|
|
|
|
|
|
|
|
|
|
@@ -100,8 +103,9 @@ xl:grid-cols-3 xl:gap-x-8 xl:gap-y-8
|
|
|
|
|
<label for="primaere_heizquelle" >primäre Heizquelle</label>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="grid grid-cols-[40px_max-content] items-center justify-items-start">
|
|
|
|
|
{#if !ausweis.zusaetzliche_heizquelle}
|
|
|
|
|
<input
|
|
|
|
|
type="checkbox"
|
|
|
|
|
class="checkbox"
|
|
|
|
|
@@ -109,6 +113,7 @@ xl:grid-cols-3 xl:gap-x-8 xl:gap-y-8
|
|
|
|
|
bind:checked={ausweis.zusaetzliche_heizquelle}
|
|
|
|
|
/>
|
|
|
|
|
<label for="zusaetzliche_heizquelle" class="cursor-pointer" on:click={() => labelClick(event)}>zusätzliche Heizquelle</label>
|
|
|
|
|
{/if}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
@@ -121,11 +126,73 @@ xl:grid-cols-3 xl:gap-x-8 xl:gap-y-8
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Zeitraum 1 -->
|
|
|
|
|
|
|
|
|
|
<div class="grid grid-cols-2 gap-x-4 order-2 md:order-2 xl:order-2">
|
|
|
|
|
|
|
|
|
|
<div class="input-standard">
|
|
|
|
|
<Inputlabel title="Start-Monat *"></Inputlabel>
|
|
|
|
|
|
|
|
|
|
<select
|
|
|
|
|
name="energieverbrauch_zeitraum_monat"
|
|
|
|
|
class="rounded-tr-none rounded-br-none w-full m-0"
|
|
|
|
|
bind:value={month}
|
|
|
|
|
required
|
|
|
|
|
>
|
|
|
|
|
<option disabled>Monat</option>
|
|
|
|
|
{#if year !== null}
|
|
|
|
|
{#each availableDates.filter(date => date.year == year) as date}
|
|
|
|
|
<option value={date.month}>{monthNames[date.month]}</option>
|
|
|
|
|
{/each}
|
|
|
|
|
{:else}
|
|
|
|
|
{#each Array.from(availableDates.reduce((a,c) => {
|
|
|
|
|
a.add(c.month);
|
|
|
|
|
return a;
|
|
|
|
|
}, new Set())) as month}
|
|
|
|
|
<option value={month}>{monthNames[month]}</option>
|
|
|
|
|
{/each}
|
|
|
|
|
{/if}
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<div class="help-label">
|
|
|
|
|
<HelpLabel>
|
|
|
|
|
TEXT FEHLT
|
|
|
|
|
</HelpLabel>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="input-standard">
|
|
|
|
|
<Inputlabel title="Start-Jahr *"></Inputlabel>
|
|
|
|
|
|
|
|
|
|
<select
|
|
|
|
|
name="energieverbrauch_zeitraum_jahr"
|
|
|
|
|
class="rounded-tl-none rounded-bl-none w-full m-0"
|
|
|
|
|
bind:value={year}
|
|
|
|
|
required
|
|
|
|
|
>
|
|
|
|
|
<option disabled>Jahr</option>
|
|
|
|
|
{#each Array.from(availableDates.reduce((a,c) => {
|
|
|
|
|
a.add(c.year);
|
|
|
|
|
return a;
|
|
|
|
|
}, new Set())) as year}
|
|
|
|
|
<option value={year}>{year}</option>
|
|
|
|
|
{/each}
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<div class="help-label">
|
|
|
|
|
<HelpLabel>
|
|
|
|
|
TEXT FEHLT
|
|
|
|
|
</HelpLabel>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- primäre Brennstoff und Einheiten * -->
|
|
|
|
|
|
|
|
|
|
<div class="grid grid-cols-2 gap-x-4 order-2 md:order-2 xl:order-2">
|
|
|
|
|
<div class="grid grid-cols-2 gap-x-4 order-3 md:order-3 xl:order-3">
|
|
|
|
|
|
|
|
|
|
<div class="input-standard">
|
|
|
|
|
<Inputlabel title="primär Brennstoff *"></Inputlabel>
|
|
|
|
|
@@ -177,6 +244,7 @@ xl:grid-cols-3 xl:gap-x-8 xl:gap-y-8
|
|
|
|
|
<select
|
|
|
|
|
class="rounded-s-none"
|
|
|
|
|
name="einheit_1"
|
|
|
|
|
disabled={!gebaeude_aufnahme_allgemein.brennstoff_1}
|
|
|
|
|
required
|
|
|
|
|
bind:value={ausweis.einheit_1}
|
|
|
|
|
>
|
|
|
|
|
@@ -198,9 +266,109 @@ xl:grid-cols-3 xl:gap-x-8 xl:gap-y-8
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- zusätzlicher Brennstoff und Einheiten * -->
|
|
|
|
|
<!-- Verbrauch 1 -->
|
|
|
|
|
|
|
|
|
|
<div class="grid grid-cols-2 gap-x-4 order-3 md:order-3 xl:order-3">
|
|
|
|
|
<div class="input-standard order-4 md:order-4 xl:order-4">
|
|
|
|
|
<Verbrauchslabel bind:ausweis addYear=1></Verbrauchslabel>
|
|
|
|
|
|
|
|
|
|
<input
|
|
|
|
|
name="verbrauch_1"
|
|
|
|
|
type="number"
|
|
|
|
|
class:linked={abweichung.indexOf(1) > -1}
|
|
|
|
|
bind:value={ausweis.verbrauch_1}
|
|
|
|
|
required
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<div class="VerbrauchsEinheit">{#if !ausweis.einheit_1}{:else}{ausweis.einheit_1}{/if}</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="help-label">
|
|
|
|
|
<HelpLabel>
|
|
|
|
|
<VerbrauchsHelpLabel bind:ausweis bind:gebaeude_aufnahme_allgemein addYear=1 heizquelle=1></VerbrauchsHelpLabel>
|
|
|
|
|
</HelpLabel>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Verbrauch 2 -->
|
|
|
|
|
|
|
|
|
|
<div class="input-standard order-5 md:order-5 xl:order-5">
|
|
|
|
|
<Verbrauchslabel bind:ausweis addYear=2></Verbrauchslabel>
|
|
|
|
|
|
|
|
|
|
<input
|
|
|
|
|
name="verbrauch_2"
|
|
|
|
|
type="number"
|
|
|
|
|
class:linked={abweichung.indexOf(2) > -1}
|
|
|
|
|
bind:value={ausweis.verbrauch_2}
|
|
|
|
|
required
|
|
|
|
|
/>
|
|
|
|
|
<div class="VerbrauchsEinheit">{#if !ausweis.einheit_1}{:else}{ausweis.einheit_1}{/if}</div>
|
|
|
|
|
|
|
|
|
|
<div class="help-label">
|
|
|
|
|
<HelpLabel>
|
|
|
|
|
<VerbrauchsHelpLabel bind:ausweis bind:gebaeude_aufnahme_allgemein addYear=2 heizquelle=1></VerbrauchsHelpLabel>
|
|
|
|
|
</HelpLabel>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Verbrauch 3 -->
|
|
|
|
|
|
|
|
|
|
<div class="input-standard order-6 md:order-6 xl:order-6">
|
|
|
|
|
<Verbrauchslabel bind:ausweis addYear=3></Verbrauchslabel>
|
|
|
|
|
|
|
|
|
|
<input
|
|
|
|
|
name="verbrauch_3"
|
|
|
|
|
type="number"
|
|
|
|
|
class:linked={abweichung.indexOf(3) > -1}
|
|
|
|
|
bind:value={ausweis.verbrauch_3}
|
|
|
|
|
required
|
|
|
|
|
/>
|
|
|
|
|
<div class="VerbrauchsEinheit">{#if !ausweis.einheit_1}{:else}{ausweis.einheit_1}{/if}</div>
|
|
|
|
|
|
|
|
|
|
<div class="help-label">
|
|
|
|
|
<HelpLabel>
|
|
|
|
|
<VerbrauchsHelpLabel bind:ausweis bind:gebaeude_aufnahme_allgemein addYear=3 heizquelle=1></VerbrauchsHelpLabel>
|
|
|
|
|
</HelpLabel>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{#if ausweis.zusaetzliche_heizquelle}
|
|
|
|
|
|
|
|
|
|
<div class="col-span-3 order-7 md:order-7 xl:order-7 h-[4px] bg-white mt-[-10px]"></div>
|
|
|
|
|
|
|
|
|
|
<!-- zusätzliche Heizquelle -->
|
|
|
|
|
|
|
|
|
|
<div class="input-standard order-7 md:order-7 xl:order-7">
|
|
|
|
|
<Inputlabel title="zusätzliche Heizquelle"></Inputlabel>
|
|
|
|
|
|
|
|
|
|
<div class="input-checkboxen">
|
|
|
|
|
|
|
|
|
|
<div class="grid grid-cols-[40px_max-content] items-center justify-items-start">
|
|
|
|
|
<input
|
|
|
|
|
type="checkbox"
|
|
|
|
|
class="checkbox"
|
|
|
|
|
name="zusaetzliche_heizquelle"
|
|
|
|
|
|
|
|
|
|
bind:checked={ausweis.zusaetzliche_heizquelle}
|
|
|
|
|
/>
|
|
|
|
|
<label for="zusaetzliche_heizquelle" class="cursor-pointer" on:click={() => labelClick(event)}>zusätzliche Heizquelle</label>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="help-label">
|
|
|
|
|
<HelpLabel>
|
|
|
|
|
TEXT FEHLT
|
|
|
|
|
</HelpLabel>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="input-standard order-8 md:order-8 xl:order-8">
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- zusätzlicher Brennstoff und Einheiten * -->
|
|
|
|
|
|
|
|
|
|
<div class="grid grid-cols-2 gap-x-4 order-9 md:order-9 xl:order-9">
|
|
|
|
|
|
|
|
|
|
<div class="input-standard">
|
|
|
|
|
<Inputlabel title="zusätzlicher Brennstoff *"></Inputlabel>
|
|
|
|
|
@@ -209,7 +377,6 @@ xl:grid-cols-3 xl:gap-x-8 xl:gap-y-8
|
|
|
|
|
class="rounded-e-none"
|
|
|
|
|
name="brennstoff_2"
|
|
|
|
|
bind:value={gebaeude_aufnahme_allgemein.brennstoff_2}
|
|
|
|
|
disabled={!ausweis.zusaetzliche_heizquelle}
|
|
|
|
|
required
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
@@ -276,262 +443,42 @@ xl:grid-cols-3 xl:gap-x-8 xl:gap-y-8
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Zeitraum 1 -->
|
|
|
|
|
|
|
|
|
|
<div class="grid grid-cols-3 gap-x-4 order-4 md:order-4 xl:order-4">
|
|
|
|
|
|
|
|
|
|
<div class="input-standard">
|
|
|
|
|
<Inputlabel title="von: Monat *"></Inputlabel>
|
|
|
|
|
|
|
|
|
|
<select
|
|
|
|
|
name="energieverbrauch_zeitraum_monat"
|
|
|
|
|
class="rounded-tr-none rounded-br-none w-full m-0"
|
|
|
|
|
bind:value={month}
|
|
|
|
|
required
|
|
|
|
|
>
|
|
|
|
|
<option disabled>Monat</option>
|
|
|
|
|
{#if year !== null}
|
|
|
|
|
{#each availableDates.filter(date => date.year == year) as date}
|
|
|
|
|
<option value={date.month}>{monthNames[date.month]}</option>
|
|
|
|
|
{/each}
|
|
|
|
|
{:else}
|
|
|
|
|
{#each Array.from(availableDates.reduce((a,c) => {
|
|
|
|
|
a.add(c.month);
|
|
|
|
|
return a;
|
|
|
|
|
}, new Set())) as month}
|
|
|
|
|
<option value={month}>{monthNames[month]}</option>
|
|
|
|
|
{/each}
|
|
|
|
|
{/if}
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<div class="help-label">
|
|
|
|
|
<HelpLabel>
|
|
|
|
|
TEXT FEHLT
|
|
|
|
|
</HelpLabel>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="input-standard">
|
|
|
|
|
<Inputlabel title="Jahr *"></Inputlabel>
|
|
|
|
|
|
|
|
|
|
<select
|
|
|
|
|
name="energieverbrauch_zeitraum_jahr"
|
|
|
|
|
class="rounded-tl-none rounded-bl-none w-full m-0"
|
|
|
|
|
bind:value={year}
|
|
|
|
|
required
|
|
|
|
|
>
|
|
|
|
|
<option disabled>Jahr</option>
|
|
|
|
|
{#each Array.from(availableDates.reduce((a,c) => {
|
|
|
|
|
a.add(c.year);
|
|
|
|
|
return a;
|
|
|
|
|
}, new Set())) as year}
|
|
|
|
|
<option value={year}>{year}</option>
|
|
|
|
|
{/each}
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<div class="help-label">
|
|
|
|
|
<HelpLabel>
|
|
|
|
|
TEXT FEHLT
|
|
|
|
|
</HelpLabel>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="input-standard">
|
|
|
|
|
<Inputlabel title="bis:"></Inputlabel>
|
|
|
|
|
|
|
|
|
|
<input
|
|
|
|
|
|
|
|
|
|
value={moment(ausweis.startdatum)
|
|
|
|
|
.add("1", "year")
|
|
|
|
|
.format("MM.Y")}
|
|
|
|
|
readonly
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<div class="help-label">
|
|
|
|
|
<HelpLabel>
|
|
|
|
|
TEXT FEHLT
|
|
|
|
|
</HelpLabel>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Verbrauch 1 -->
|
|
|
|
|
|
|
|
|
|
<div class="input-standard order-5 md:order-5 xl:order-5">
|
|
|
|
|
<Inputlabel title="Verbrauch *"></Inputlabel>
|
|
|
|
|
|
|
|
|
|
<input
|
|
|
|
|
name="verbrauch_1"
|
|
|
|
|
type="number"
|
|
|
|
|
class:linked={abweichung.indexOf(1) > -1}
|
|
|
|
|
bind:value={ausweis.verbrauch_1}
|
|
|
|
|
required
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<div class="help-label">
|
|
|
|
|
<HelpLabel>
|
|
|
|
|
TEXT FEHLT
|
|
|
|
|
</HelpLabel>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Verbrauch 4 -->
|
|
|
|
|
|
|
|
|
|
<div class="input-standard order-6 md:order-6 xl:order-6">
|
|
|
|
|
<Inputlabel title="Verbrauch *"></Inputlabel>
|
|
|
|
|
<div class="input-standard order-10 md:order-10 xl:order-10">
|
|
|
|
|
<Verbrauchslabel bind:ausweis addYear=1></Verbrauchslabel>
|
|
|
|
|
|
|
|
|
|
<input
|
|
|
|
|
name="verbrauch_4"
|
|
|
|
|
type="number"
|
|
|
|
|
bind:value={ausweis.verbrauch_4}
|
|
|
|
|
class:linked={abweichung.indexOf(4) > -1}
|
|
|
|
|
disabled={!ausweis.zusaetzliche_heizquelle}
|
|
|
|
|
/>
|
|
|
|
|
<div class="VerbrauchsEinheit">{#if !ausweis.einheit_2}{:else}{ausweis.einheit_2}{/if}</div>
|
|
|
|
|
|
|
|
|
|
<div class="help-label">
|
|
|
|
|
<HelpLabel>
|
|
|
|
|
TEXT FEHLT
|
|
|
|
|
</HelpLabel>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Zeitraum 2 -->
|
|
|
|
|
|
|
|
|
|
<div class="grid grid-cols-3 gap-x-4 order-7 md:order-7 xl:order-7">
|
|
|
|
|
|
|
|
|
|
<div class="input-standard"></div>
|
|
|
|
|
|
|
|
|
|
<div class="input-noHelp">
|
|
|
|
|
<Inputlabel title="von:"></Inputlabel>
|
|
|
|
|
|
|
|
|
|
<input
|
|
|
|
|
class="klima text-right"
|
|
|
|
|
value={moment(ausweis.startdatum)
|
|
|
|
|
.add("1", "year")
|
|
|
|
|
.format("MM.Y")}
|
|
|
|
|
readonly
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="input-noHelp">
|
|
|
|
|
<Inputlabel title="bis:"></Inputlabel>
|
|
|
|
|
|
|
|
|
|
<input
|
|
|
|
|
value={moment(ausweis.startdatum)
|
|
|
|
|
.add("2", "years")
|
|
|
|
|
.format("MM.Y")}
|
|
|
|
|
readonly
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Verbrauch 2 -->
|
|
|
|
|
|
|
|
|
|
<div class="input-standard order-8 md:order-8 xl:order-8">
|
|
|
|
|
<Inputlabel title="Verbrauch *"></Inputlabel>
|
|
|
|
|
|
|
|
|
|
<input
|
|
|
|
|
name="verbrauch_2"
|
|
|
|
|
type="number"
|
|
|
|
|
class:linked={abweichung.indexOf(2) > -1}
|
|
|
|
|
bind:value={ausweis.verbrauch_2}
|
|
|
|
|
required
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<div class="help-label">
|
|
|
|
|
<HelpLabel>
|
|
|
|
|
TEXT FEHLT
|
|
|
|
|
<VerbrauchsHelpLabel bind:ausweis bind:gebaeude_aufnahme_allgemein addYear=1 heizquelle=2></VerbrauchsHelpLabel>
|
|
|
|
|
</HelpLabel>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Verbrauch 5 -->
|
|
|
|
|
|
|
|
|
|
<div class="input-standard order-9 md:order-9 xl:order-9">
|
|
|
|
|
<Inputlabel title="Verbrauch *"></Inputlabel>
|
|
|
|
|
<div class="input-standard order-11 md:order-11 xl:order-11">
|
|
|
|
|
<Verbrauchslabel bind:ausweis addYear=2></Verbrauchslabel>
|
|
|
|
|
|
|
|
|
|
<input
|
|
|
|
|
name="verbrauch_5"
|
|
|
|
|
type="number"
|
|
|
|
|
bind:value={ausweis.verbrauch_5}
|
|
|
|
|
class:linked={abweichung.indexOf(5) > -1}
|
|
|
|
|
disabled={!ausweis.zusaetzliche_heizquelle}
|
|
|
|
|
/>
|
|
|
|
|
<div class="VerbrauchsEinheit">{#if !ausweis.einheit_2}{:else}{ausweis.einheit_2}{/if}</div>
|
|
|
|
|
|
|
|
|
|
<div class="help-label">
|
|
|
|
|
<HelpLabel>
|
|
|
|
|
TEXT FEHLT
|
|
|
|
|
</HelpLabel>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Zeitraum 2 -->
|
|
|
|
|
|
|
|
|
|
<div class="grid grid-cols-3 gap-x-4 order-10 md:order-10 xl:order-10">
|
|
|
|
|
|
|
|
|
|
<div class="input-standard"></div>
|
|
|
|
|
|
|
|
|
|
<div class="input-noHelp">
|
|
|
|
|
<Inputlabel title="von:"></Inputlabel>
|
|
|
|
|
|
|
|
|
|
<input
|
|
|
|
|
class="klima text-right"
|
|
|
|
|
value={moment(ausweis.startdatum)
|
|
|
|
|
.add("2", "years")
|
|
|
|
|
.format("MM.Y")}
|
|
|
|
|
readonly
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="input-noHelp">
|
|
|
|
|
<Inputlabel title="bis:"></Inputlabel>
|
|
|
|
|
|
|
|
|
|
<input
|
|
|
|
|
value={moment(ausweis.startdatum)
|
|
|
|
|
.add("3", "years")
|
|
|
|
|
.format("MM.Y")}
|
|
|
|
|
readonly
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Verbrauch 3 -->
|
|
|
|
|
|
|
|
|
|
<div class="input-standard order-11 md:order-11 xl:order-11">
|
|
|
|
|
<Inputlabel title="Verbrauch *"></Inputlabel>
|
|
|
|
|
|
|
|
|
|
<input
|
|
|
|
|
name="verbrauch_3"
|
|
|
|
|
type="number"
|
|
|
|
|
class:linked={abweichung.indexOf(3) > -1}
|
|
|
|
|
bind:value={ausweis.verbrauch_3}
|
|
|
|
|
required
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<div class="help-label">
|
|
|
|
|
<HelpLabel>
|
|
|
|
|
TEXT FEHLT
|
|
|
|
|
<VerbrauchsHelpLabel bind:ausweis bind:gebaeude_aufnahme_allgemein addYear=2 heizquelle=2></VerbrauchsHelpLabel>
|
|
|
|
|
</HelpLabel>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@@ -539,29 +486,27 @@ required
|
|
|
|
|
<!-- Verbrauch 6 -->
|
|
|
|
|
|
|
|
|
|
<div class="input-standard order-12 md:order-12 xl:order-12">
|
|
|
|
|
<Inputlabel title="Verbrauch *"></Inputlabel>
|
|
|
|
|
<Verbrauchslabel bind:ausweis addYear=3></Verbrauchslabel>
|
|
|
|
|
|
|
|
|
|
<input
|
|
|
|
|
name="verbrauch_6"
|
|
|
|
|
type="number"
|
|
|
|
|
bind:value={ausweis.verbrauch_6}
|
|
|
|
|
class:linked={abweichung.indexOf(6) > -1}
|
|
|
|
|
disabled={!ausweis.zusaetzliche_heizquelle}
|
|
|
|
|
/>
|
|
|
|
|
<div class="VerbrauchsEinheit">{#if !ausweis.einheit_2}{:else}{ausweis.einheit_2}{/if}</div>
|
|
|
|
|
|
|
|
|
|
<div class="help-label">
|
|
|
|
|
<HelpLabel>
|
|
|
|
|
TEXT FEHLT
|
|
|
|
|
<VerbrauchsHelpLabel bind:ausweis bind:gebaeude_aufnahme_allgemein addYear=3 heizquelle=2></VerbrauchsHelpLabel>
|
|
|
|
|
</HelpLabel>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<style lang="postcss">
|
|
|
|
|
|
|
|
|
|
.VerbrauchsEinheit{@apply absolute right-[4rem]}
|
|
|
|
|
</style>
|
|
|
|
|
|