Skip to content

Commit

Permalink
Merge pull request #147 from fdagner/aktienkurs
Browse files Browse the repository at this point in the history
beleg aktien
  • Loading branch information
fdagner authored Dec 26, 2024
2 parents 2d9a814 + 0d4bd54 commit 468da36
Show file tree
Hide file tree
Showing 3 changed files with 452 additions and 18 deletions.
126 changes: 126 additions & 0 deletions belege.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ <h2>Belege</h2>
<button class="tablinks" onclick="openCity(event, 'lohnjournal')">Lohn-/Gehaltsjournal</button>
<button class="tablinks" onclick="openCity(event, 'bescheid')">Bescheid</button>
<button class="tablinks" onclick="openCity(event, 'anlagenkarte')">Anlagenkarte</button>
<button class="tablinks" onclick="openCity(event, 'wertpapiere')">Wertpapiere</button>
</nav>
<section id="modellunternehmen" class="tabcontent">
<h3>Modellunternehmen</h3>
Expand Down Expand Up @@ -1191,6 +1192,131 @@ <h4>Vorlage</h4>
</div>
</section>


<section id="wertpapiere" class="tabcontent">
<h3>Belegauszug Wertpapiere</h3>
<div class="box">
<div class="grid3">
<div id="wertpapiereDaten">
<h4>Daten</h4>
<label for="wertpapiereArtInput">Art: </label><br>
<select id="wertpapiereArtInput">
<option value="wertpapiereKauf">Kauf</option>
<option value="wertpapiereVerkauf">Verkauf</option>
</select><br>
<label for="wertpapiereBezeichnungInput">Bezeichnung:</label><br>
<input type="text" id="wertpapiereBezeichnungInput" value="XY-Aktien" /><br>
<label for="wertpapiereISINInput">ISIN:</label><br>
<input type="text" id="wertpapiereISINInput" value="DE0007100000" /><br>
<label for="wertpapiereStueckkursLabel">Stückkurs:</label><br>
<input type="number" id="wertpapiereStueckkursInput" value="200" /><br>
<label for="wertpapiereAnzahlLabel">Anzahl</label><br>
<input type="number" id="wertpapiereAnzahlInput" value="70" /><br>
</div>
<div>
<h4>Datum</h4>
<label for="tagWertpapiereLabel">Tag:</label>
<select id="tagWertpapiereInput">
<!-- Füge Optionen für die Tage hinzu -->
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>
<br>
<label for="monatWertpapiereLabel">Monat:</label>
<select id="monatWertpapiereInput">
<!-- Füge Optionen für die Monate hinzu -->
<option value="01">Januar</option>
<option value="02">Februar</option>
<option value="03">März</option>
<option value="04">April</option>
<option value="05">Mai</option>
<option value="06">Juni</option>
<option value="07">Juli</option>
<option value="08">August</option>
<option value="09">September</option>
<option value="10">Oktober</option>
<option value="11">November</option>
<option value="12">Dezember</option>
</select>
<label for="jahrWertpapiereLabel">Jahr:</label>
<input type="text" id="jahrWertpapiere" value="" placeholder="Jahr" /><br>
Skript verwenden: <input type="checkbox" id="scriptJahrWertpapiere"
onchange="toggleInput('jahrWertpapiere', 'scriptJahrWertpapiere');">
</div>

<div>
<h4>Vorlage</h4>
<label for="svgDropdownWertpapiere">Auswählen: </label><br>
<select id="svgDropdownWertpapiere">
<option value="wertpapier.svg">Klassisch</option>
</select>
</div>
</div>
<br>
<label for="datenWertpapiere">Unternehmen: </label><select id="datenWertpapiere" onchange="loadWertpapiereData()">
</select><br><small><a href="#" class="tablinks" onclick="openCity(event, 'modellunternehmen')">Eigenes
Modellunternehmen
verwenden?</a></small>


<br><br><button onclick="wertpapiereApplySVGholen()">Beleg erstellen / aktualisieren</button><br>

</div>
</div>
<br>
<div id="wertpapiereContainer" style="min-width: 350px;width: 100%;margin:0 auto;text-align:center">
</div>
<div class="exportButtons">
<button class="icon" type="button" onclick="wertpapiereHerunterladenAlsPNG()"><svg
xmlns="http://www.w3.org/2000/svg" height="16" width="16"
viewBox="0 0 512 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
<path
d="M448 80c8.8 0 16 7.2 16 16V415.8l-5-6.5-136-176c-4.5-5.9-11.6-9.3-19-9.3s-14.4 3.4-19 9.3L202 340.7l-30.5-42.7C167 291.7 159.8 288 152 288s-15 3.7-19.5 10.1l-80 112L48 416.3l0-.3V96c0-8.8 7.2-16 16-16H448zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm80 192a48 48 0 1 0 0-96 48 48 0 1 0 0 96z" />
</svg></button>
<button class="icon" type="button" onclick="wertpapiereHerunterladen()"><svg
xmlns="http://www.w3.org/2000/svg" height="16" width="12"
viewBox="0 0 384 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
<path
d="M64 464c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16H224v80c0 17.7 14.3 32 32 32h80V448c0 8.8-7.2 16-16 16H64zM64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V154.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0H64zm97 289c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L79 303c-9.4 9.4-9.4 24.6 0 33.9l48 48c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-31-31 31-31zM257 255c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l31 31-31 31c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l48-48c9.4-9.4 9.4-24.6 0-33.9l-48-48z" />
</svg></button>
<button class="icon" type="button" onclick="wertpapiereKopiereInZwischenablage()"><svg
xmlns="http://www.w3.org/2000/svg" height="16" width="20"
viewBox="0 0 640 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
<path
d="M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3L562.7 256l-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3z" />
</svg></button>
</div>
</section>

</main>
<div w3-include-html="footer.html"></div>
<script>
Expand Down
Loading

0 comments on commit 468da36

Please sign in to comment.