Compare commits

..

13 Commits

Author SHA1 Message Date
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: #5
2024-01-14 16:38:29 +01:00
a1b1212ba5 fix WTF Umlage percentage from 11.5% to 11% 2024-01-14 16:36:55 +01:00
1a46642434 Replace superscript 1 with HTML entity
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-28 16:27:39 +02:00
72e4359ab6 Merge pull request 'add footnote' (#3) from vv01f/simplekolecalc:vv01f-patch-entropyfee-timebase into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #3
2023-09-28 16:03:24 +02:00
c727766eb3 xml entity for nnbsp 2023-09-28 13:40:24 +02:00
535520e2e0 add footnote
detail on time range for entropy fee
2023-09-27 21:29:14 +02:00
301f1e6705 Merge pull request 'Add a link to source code to base of page' (#2) from frlan/simplekolecalc:footer-mit-link-zu-repo into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #2
2023-09-23 12:57:25 +02:00
0bef44363c Add a link to source code to base of page 2023-09-23 12:56:00 +02:00
1a1e17f950 add link to online version
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-29 10:17:59 +02:00
80b6f5dc92 rm link 2023-08-29 10:15:34 +02:00
0f29e1483d Merge pull request 'make url relavtive' (#1) from intern/skc:main into main
Reviewed-on: #1
2023-08-29 10:05:44 +02:00
d67a0efd97 make url relavtive
Ein statischer Link auf altes Repo ist an der Stelle nicht hilfreich.
2023-08-29 10:05:07 +02:00
2 changed files with 30 additions and 14 deletions

View File

@ -2,6 +2,8 @@
Sehr einfacher Rechner um Einnahmen und Betrag der Richtung KoLe-Konto fließen kann abzuschätzen.
Der Rechner ist unter https://rechner.wtf-eg.de/ eurem persönlichem LDAP-Login der WTF verfügbar.
## Disclaimer
Keine Garantie auf Korrektheit.
@ -11,7 +13,7 @@ Die tatsächlichen Beträge können insbesondere weiteren Abgaben und Steuern un
Solange die Datei nicht auf einem Webserver online liegt, lässt sie sich auf dem eigenen Rechner direkt offline nutzen.
Dazu schlicht im Repository die rohe [kole.html](https://git.wtf-eg.de/vv01f/simplekolecalc/raw/branch/main/kole.html) aufrufen, auf dem eigenen Gerät speichern und im Browser öffnen.
Dazu schlicht im Repository die rohe `kole.html` (Schaltfläche „Raw“) aufrufen, auf dem eigenen Gerät speichern und lokal im Browser öffnen.
## Verbesserungen

View File

@ -49,6 +49,15 @@
text-align: center;
margin: 1ex auto 2ex auto;
}
#center_footer {
display: flex;
align-items: center;
justify-content: center;
}
.footnotes {
margin-top: 1em;
font-size: 0.9em;
}
</style>
</head>
<body>
@ -83,20 +92,20 @@
<input accesskey="e" type="number" step="0.01" id="n" value="0.00"/>&thinsp;&euro;
</div>
<div>
<label for="ec">Entropie-Tarif</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">
<option value="l" accesskey="l" name="low">Umsatz &leq; 1.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="l" accesskey="l" name="low">Umsatz &leq; 15.000&nbsp;&euro;</option><!-- low: <=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 -->
</select>
</div>
<div>
<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>
<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>
<label for="k">K<u>o</u>Le</label>
@ -106,7 +115,9 @@
<section>
<button accesskey="r" id="b" type="button">Be<u>r</u>echnen</button>
</section>
<div class="footnotes">
&sup1;&#x202F;Es wird der monatliche Umsatz zugrunde gelegt.
</div>
</fieldset>
<script>
@ -150,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.5 %
case 1: //high: >15.000 EUR revenue
//15 %
z.disabled=true;
z.value='11.50';
z.value='15.0';
break;;
case 2: //custom: according toseparate agreement
z.disabled=false;
@ -168,11 +179,14 @@
});
// set entropy tax to standard value
c.selectedIndex=0;
z.value='23.00';
z.value='20.00';
z.disabled=true;
// calc
s.click();
</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>
</body>
</html>