forked from gnibeil/simplekolecalc
Compare commits
No commits in common. "main" and "main" have entirely different histories.
44
kole.html
44
kole.html
@ -49,15 +49,6 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 1ex auto 2ex auto;
|
margin: 1ex auto 2ex auto;
|
||||||
}
|
}
|
||||||
#center_footer {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
.footnotes {
|
|
||||||
margin-top: 1em;
|
|
||||||
font-size: 0.9em;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@ -88,24 +79,24 @@
|
|||||||
<input readonly="readonly" type="number" step="0.01" id="us" value="0.00"/> €
|
<input readonly="readonly" type="number" step="0.01" id="us" value="0.00"/> €
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label for="n">Ne<u>t</u>to</label>
|
<label for="n">N<u>e</u>tto</label>
|
||||||
<input accesskey="t" type="number" step="0.01" id="n" value="0.00"/> €
|
<input accesskey="e" type="number" step="0.01" id="n" value="0.00"/> €
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label for="ec">Entropie-Tarif ¹</label><!-- ggf. künftig Grundlage wie Handbuch/Dokumentation verlinken -->
|
<label for="ec">Entropie-Tarif</label><!-- ggf. künftig Grundlage wie Handbuch/Dokumentation verlinken -->
|
||||||
<select id="ec">
|
<select id="ec">
|
||||||
<option value="l" accesskey="l" name="low">Umsatz ≤ 15.000 €</option><!-- low: <=1 TEUR -->
|
<option value="l" accesskey="l" name="low">Umsatz ≤ 1.000 €</option><!-- low: <=1 TEUR -->
|
||||||
<option value="h" accesskey="h" name="high">Umsatz > 15.000 €</option><!-- high: >1 TEUR -->
|
<option value="h" accesskey="h" name="high">Umsatz > 1.000 €</option><!-- high: >1 TEUR -->
|
||||||
<option value="c" accesskey="c" name="custom">nach Vereinbarung</option><!-- custom: separate agreement -->
|
<option value="c" accesskey="c" name="custom">nach Vereinbarung</option><!-- custom: separate agreement -->
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label for="z">Entropieumlagesatz</label>
|
<label for="z">Entropieumlagesatz</label>
|
||||||
<input type="number" step="0.01" id="z" value="20.00"/> %
|
<input type="number" step="0.01" id="z" value="23.00"/> %
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label for="eu">Entropieumlage</label>
|
<label for="eu">Entropieumlage</label>
|
||||||
<input readonly="readonly" type="number" step="0.01" id="eu" value="20.00"/> €
|
<input readonly="readonly" type="number" step="0.01" id="eu" value="23.00"/> €
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label for="k">K<u>o</u>Le</label>
|
<label for="k">K<u>o</u>Le</label>
|
||||||
@ -115,9 +106,7 @@
|
|||||||
<section>
|
<section>
|
||||||
<button accesskey="r" id="b" type="button">Be<u>r</u>echnen</button>
|
<button accesskey="r" id="b" type="button">Be<u>r</u>echnen</button>
|
||||||
</section>
|
</section>
|
||||||
<div class="footnotes">
|
|
||||||
¹ Es wird der monatliche Umsatz zugrunde gelegt.
|
|
||||||
</div>
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@ -161,15 +150,15 @@
|
|||||||
var selInd=this.selectedIndex;
|
var selInd=this.selectedIndex;
|
||||||
console.log('Entropie-Tarif: '+selInd+'('+z.disabled+': '+z.value+')');
|
console.log('Entropie-Tarif: '+selInd+'('+z.disabled+': '+z.value+')');
|
||||||
switch(selInd){
|
switch(selInd){
|
||||||
case 0: //low: <15.000 EUR revenue
|
case 0: //low: <1.000 EUR revenue
|
||||||
//20.0 %
|
//23.0 %
|
||||||
z.value='20.00';
|
z.value='23.00';
|
||||||
z.disabled=true;
|
z.disabled=true;
|
||||||
break;;
|
break;;
|
||||||
case 1: //high: >15.000 EUR revenue
|
case 1: //high: >1.000 EUR revenue
|
||||||
//15 %
|
//11.5 %
|
||||||
z.disabled=true;
|
z.disabled=true;
|
||||||
z.value='15.0';
|
z.value='11.50';
|
||||||
break;;
|
break;;
|
||||||
case 2: //custom: according toseparate agreement
|
case 2: //custom: according toseparate agreement
|
||||||
z.disabled=false;
|
z.disabled=false;
|
||||||
@ -179,14 +168,11 @@
|
|||||||
});
|
});
|
||||||
// set entropy tax to standard value
|
// set entropy tax to standard value
|
||||||
c.selectedIndex=0;
|
c.selectedIndex=0;
|
||||||
z.value='20.00';
|
z.value='23.00';
|
||||||
z.disabled=true;
|
z.disabled=true;
|
||||||
// calc
|
// calc
|
||||||
s.click();
|
s.click();
|
||||||
</script>
|
</script>
|
||||||
<div id="center_footer">
|
|
||||||
<p>Der Quellcode befindet sich unter <a href="https://git.wtf-eg.de/wtf-eg/simplekolecalc">https://git.wtf-eg.de/wtf-eg/simplekolecalc</a>. </p>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user