update UMBE
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
$: abweichung = auditVerbrauchAbweichung(ausweis, gebaeude);
|
||||
|
||||
|
||||
function labelClick(event){
|
||||
function labelClick(event: any){
|
||||
var x = event.target.previousElementSibling;
|
||||
x.click();
|
||||
}
|
||||
@@ -135,8 +135,7 @@ xl:grid-cols-3 xl:gap-x-8 xl:gap-y-8
|
||||
name="brennstoff_1"
|
||||
required bind:value={gebaeude_aufnahme_allgemein.brennstoff_1}
|
||||
>
|
||||
|
||||
<option disabled>Bitte auswählen</option>
|
||||
<option disabled selected value={false}>Bitte auswählen</option>
|
||||
{#each Object.keys(fuelMap) as fuel}
|
||||
<option value={fuel}>{fuel}</option>
|
||||
{/each}
|
||||
@@ -181,8 +180,8 @@ xl:grid-cols-3 xl:gap-x-8 xl:gap-y-8
|
||||
required
|
||||
bind:value={ausweis.einheit_1}
|
||||
>
|
||||
|
||||
<option disabled>Bitte auswählen</option>
|
||||
|
||||
<option disabled selected value={false}>Bitte auswählen</option>
|
||||
{#each (fuelMap.hasOwnProperty(gebaeude_aufnahme_allgemein.brennstoff_1) ? fuelMap[gebaeude_aufnahme_allgemein.brennstoff_1] : []) as unit}
|
||||
<option value={unit}>{unit}</option>
|
||||
{/each}
|
||||
@@ -214,7 +213,7 @@ xl:grid-cols-3 xl:gap-x-8 xl:gap-y-8
|
||||
required
|
||||
>
|
||||
|
||||
<option disabled> Bitte auswählen</option>
|
||||
<option disabled selected value={false}>Bitte auswählen</option>
|
||||
{#each Object.keys(fuelMap) as fuel}
|
||||
<option value={fuel}>{fuel}</option>
|
||||
{/each}
|
||||
@@ -260,7 +259,7 @@ xl:grid-cols-3 xl:gap-x-8 xl:gap-y-8
|
||||
bind:value={ausweis.einheit_2}
|
||||
required
|
||||
>
|
||||
<option disabled>Bitte auswählen</option>
|
||||
<option disabled selected value={false}>Bitte auswählen</option>
|
||||
{#each (fuelMap.hasOwnProperty(gebaeude_aufnahme_allgemein.brennstoff_2) ? fuelMap[gebaeude_aufnahme_allgemein.brennstoff_2] : []) as unit}
|
||||
<option value={unit}>{unit}</option>
|
||||
{/each}
|
||||
@@ -289,8 +288,8 @@ xl:grid-cols-3 xl:gap-x-8 xl:gap-y-8
|
||||
class="rounded-tr-none rounded-br-none w-full m-0"
|
||||
bind:value={month}
|
||||
required
|
||||
>
|
||||
<option>Monat</option>
|
||||
>
|
||||
<option disabled>Monat</option>
|
||||
{#if year !== null}
|
||||
{#each availableDates.filter(date => date.year == year) as date}
|
||||
<option value={date.month}>{monthNames[date.month]}</option>
|
||||
@@ -322,7 +321,7 @@ class="rounded-tl-none rounded-bl-none w-full m-0"
|
||||
bind:value={year}
|
||||
required
|
||||
>
|
||||
<option>Jahr</option>
|
||||
<option disabled>Jahr</option>
|
||||
{#each Array.from(availableDates.reduce((a,c) => {
|
||||
a.add(c.year);
|
||||
return a;
|
||||
@@ -412,7 +411,7 @@ required
|
||||
|
||||
<div class="input-standard"></div>
|
||||
|
||||
<div class="input-standard">
|
||||
<div class="input-noHelp">
|
||||
<Inputlabel title="von:"></Inputlabel>
|
||||
|
||||
<input
|
||||
@@ -423,15 +422,10 @@ required
|
||||
readonly
|
||||
/>
|
||||
|
||||
<div class="help-label">
|
||||
<HelpLabel>
|
||||
TEXT FEHLT
|
||||
</HelpLabel>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="input-standard">
|
||||
<div class="input-noHelp">
|
||||
<Inputlabel title="bis:"></Inputlabel>
|
||||
|
||||
<input
|
||||
@@ -441,12 +435,6 @@ required
|
||||
readonly
|
||||
/>
|
||||
|
||||
<div class="help-label">
|
||||
<HelpLabel>
|
||||
TEXT FEHLT
|
||||
</HelpLabel>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -499,7 +487,7 @@ required
|
||||
|
||||
<div class="input-standard"></div>
|
||||
|
||||
<div class="input-standard">
|
||||
<div class="input-noHelp">
|
||||
<Inputlabel title="von:"></Inputlabel>
|
||||
|
||||
<input
|
||||
@@ -510,15 +498,9 @@ required
|
||||
readonly
|
||||
/>
|
||||
|
||||
<div class="help-label">
|
||||
<HelpLabel>
|
||||
TEXT FEHLT
|
||||
</HelpLabel>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="input-standard">
|
||||
<div class="input-noHelp">
|
||||
<Inputlabel title="bis:"></Inputlabel>
|
||||
|
||||
<input
|
||||
@@ -528,12 +510,6 @@ required
|
||||
readonly
|
||||
/>
|
||||
|
||||
<div class="help-label">
|
||||
<HelpLabel>
|
||||
TEXT FEHLT
|
||||
</HelpLabel>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user