forked from wtf-eg/simplekolecalc
Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
75d204c2a1 | |||
a47b2da1da | |||
90fd8e6a0c | |||
0c594656d4 | |||
bfead4bc67 | |||
b0b2cf0725 |
26
kole.html
26
kole.html
@ -88,24 +88,24 @@
|
||||
<input readonly="readonly" type="number" step="0.01" id="us" value="0.00"/> €
|
||||
</div>
|
||||
<div>
|
||||
<label for="n">N<u>e</u>tto</label>
|
||||
<input accesskey="e" type="number" step="0.01" id="n" value="0.00"/> €
|
||||
<label for="n">Ne<u>t</u>to</label>
|
||||
<input accesskey="t" type="number" step="0.01" id="n" value="0.00"/> €
|
||||
</div>
|
||||
<div>
|
||||
<label for="ec">Entropie-Tarif ¹</label><!-- ggf. künftig Grundlage wie Handbuch/Dokumentation verlinken -->
|
||||
<select id="ec">
|
||||
<option value="l" accesskey="l" name="low">Umsatz ≤ 1.000 €</option><!-- low: <=1 TEUR -->
|
||||
<option value="h" accesskey="h" name="high">Umsatz > 1.000 €</option><!-- high: >1 TEUR -->
|
||||
<option value="l" accesskey="l" name="low">Umsatz ≤ 15.000 €</option><!-- low: <=1 TEUR -->
|
||||
<option value="h" accesskey="h" name="high">Umsatz > 15.000 €</option><!-- high: >1 TEUR -->
|
||||
<option value="c" accesskey="c" name="custom">nach Vereinbarung</option><!-- custom: separate agreement -->
|
||||
</select>
|
||||
</div>
|
||||
<div>
|
||||
<label for="z">Entropieumlagesatz</label>
|
||||
<input type="number" step="0.01" id="z" value="23.00"/> %
|
||||
<input type="number" step="0.01" id="z" value="20.00"/> %
|
||||
</div>
|
||||
<div>
|
||||
<label for="eu">Entropieumlage</label>
|
||||
<input readonly="readonly" type="number" step="0.01" id="eu" value="23.00"/> €
|
||||
<input readonly="readonly" type="number" step="0.01" id="eu" value="20.00"/> €
|
||||
</div>
|
||||
<div>
|
||||
<label for="k">K<u>o</u>Le</label>
|
||||
@ -161,15 +161,15 @@
|
||||
var selInd=this.selectedIndex;
|
||||
console.log('Entropie-Tarif: '+selInd+'('+z.disabled+': '+z.value+')');
|
||||
switch(selInd){
|
||||
case 0: //low: <1.000 EUR revenue
|
||||
//23.0 %
|
||||
z.value='23.00';
|
||||
case 0: //low: <15.000 EUR revenue
|
||||
//20.0 %
|
||||
z.value='20.00';
|
||||
z.disabled=true;
|
||||
break;;
|
||||
case 1: //high: >1.000 EUR revenue
|
||||
//11 %
|
||||
case 1: //high: >15.000 EUR revenue
|
||||
//15 %
|
||||
z.disabled=true;
|
||||
z.value='11.0';
|
||||
z.value='15.0';
|
||||
break;;
|
||||
case 2: //custom: according toseparate agreement
|
||||
z.disabled=false;
|
||||
@ -179,7 +179,7 @@
|
||||
});
|
||||
// set entropy tax to standard value
|
||||
c.selectedIndex=0;
|
||||
z.value='23.00';
|
||||
z.value='20.00';
|
||||
z.disabled=true;
|
||||
// calc
|
||||
s.click();
|
||||
|
Loading…
Reference in New Issue
Block a user