Compare commits

...

6 Commits
main ... main

Author SHA1 Message Date
75d204c2a1 Merge pull request 'fixes net-hotkey is in use for the application menu 'edit' in English browsers' (#4) from vv01f/simplekolecalc:vv01f-change-net-hotkey into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: wtf-eg/simplekolecalc#4
2024-01-18 19:02:46 +01:00
a47b2da1da Merge pull request 'Apply new rules for 2024' (#6) from rules-2024 into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: wtf-eg/simplekolecalc#6
2024-01-18 19:01:47 +01:00
90fd8e6a0c
Apply new rules effective 2024-01-01 2024-01-15 15:46:34 +01:00
0c594656d4 Merge pull request 'fix WTF Umlage percentage from 11.5% to 11%' (#5) from Helix/simplekolecalc:main into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: wtf-eg/simplekolecalc#5
2024-01-14 16:38:29 +01:00
Helix
a1b1212ba5 fix WTF Umlage percentage from 11.5% to 11% 2024-01-14 16:36:55 +01:00
bfead4bc67 change hotkey for net from 'e' to 't'
chose 't' for the next best as 'e' is reserved in English browsers for edit
2023-09-29 21:03:09 +02:00

View File

@ -88,24 +88,24 @@
<input readonly="readonly" type="number" step="0.01" id="us" value="0.00"/>&thinsp;&euro; <input readonly="readonly" type="number" step="0.01" id="us" value="0.00"/>&thinsp;&euro;
</div> </div>
<div> <div>
<label for="n">N<u>e</u>tto</label> <label for="n">Ne<u>t</u>to</label>
<input accesskey="e" type="number" step="0.01" id="n" value="0.00"/>&thinsp;&euro; <input accesskey="t" type="number" step="0.01" id="n" value="0.00"/>&thinsp;&euro;
</div> </div>
<div> <div>
<label for="ec">Entropie-Tarif&#x202F;&sup1;</label><!-- ggf. k&uuml;nftig Grundlage wie Handbuch/Dokumentation verlinken --> <label for="ec">Entropie-Tarif&#x202F;&sup1;</label><!-- ggf. k&uuml;nftig Grundlage wie Handbuch/Dokumentation verlinken -->
<select id="ec"> <select id="ec">
<option value="l" accesskey="l" name="low">Umsatz &leq; 1.000&nbsp;&euro;</option><!-- low: <=1 TEUR --> <option value="l" accesskey="l" name="low">Umsatz &leq; 15.000&nbsp;&euro;</option><!-- low: <=1 TEUR -->
<option value="h" accesskey="h" name="high">Umsatz &gt; 1.000&nbsp;&euro;</option><!-- high: >1 TEUR --> <option value="h" accesskey="h" name="high">Umsatz &gt; 15.000&nbsp;&euro;</option><!-- high: >1 TEUR -->
<option value="c" accesskey="c" name="custom">nach&nbsp;Vereinbarung</option><!-- custom: separate agreement --> <option value="c" accesskey="c" name="custom">nach&nbsp;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="23.00"/>&thinsp;% <input type="number" step="0.01" id="z" value="20.00"/>&thinsp;%
</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="23.00"/>&thinsp;&euro; <input readonly="readonly" type="number" step="0.01" id="eu" value="20.00"/>&thinsp;&euro;
</div> </div>
<div> <div>
<label for="k">K<u>o</u>Le</label> <label for="k">K<u>o</u>Le</label>
@ -161,15 +161,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: <1.000 EUR revenue case 0: //low: <15.000 EUR revenue
//23.0 % //20.0 %
z.value='23.00'; z.value='20.00';
z.disabled=true; z.disabled=true;
break;; break;;
case 1: //high: >1.000 EUR revenue case 1: //high: >15.000 EUR revenue
//11.5 % //15 %
z.disabled=true; z.disabled=true;
z.value='11.50'; z.value='15.0';
break;; break;;
case 2: //custom: according toseparate agreement case 2: //custom: according toseparate agreement
z.disabled=false; z.disabled=false;
@ -179,7 +179,7 @@
}); });
// set entropy tax to standard value // set entropy tax to standard value
c.selectedIndex=0; c.selectedIndex=0;
z.value='23.00'; z.value='20.00';
z.disabled=true; z.disabled=true;
// calc // calc
s.click(); s.click();