Skip to content

Commit

Permalink
Bilanz 7
Browse files Browse the repository at this point in the history
  • Loading branch information
fdagner committed Jan 23, 2024
1 parent 5aef654 commit 1e47e4c
Show file tree
Hide file tree
Showing 5 changed files with 115 additions and 130 deletions.
11 changes: 11 additions & 0 deletions belege.html
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,17 @@ <h4>Vorlage</h4>
</svg></button>
</section>
</main>
<footer>
<p>
<small>
Soweit nicht anders gekennzeichnet unterliegen alle per Button exportierbaren Inhalte der Lizenz <a
href="https://creativecommons.org/publicdomain/mark/1.0/deed.de">CC0 1.0 Deed</a>.
Der Quellcode sowie Möglichkeiten zur Mitwirkung sind über das <a
href="https://github.com/fdagner/bwr">Repository auf Github</a> zu erreichen.<br>
<a href="https://github.com/fdagner">fdagner</a> · BwR
</small>
</p>
</footer>
<script src="js/belege.js"></script>

<script>
Expand Down
134 changes: 62 additions & 72 deletions buchen.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1>Buchführung</h1>
<button class="tablinks" onclick="openCity(event, 'vorkontierung')">Vorkontierung</button>
<button class="tablinks" onclick="openCity(event, 'geschaeftsfaelle')">Geschäftsfälle</button>
<button class="tablinks" onclick="openCity(event, 'inventar')">Inventar</button>
<button class="tablinks" onclick="openCity(event, 'bilanz')">Bilanz</button>
<button class="tablinks" onclick="openCity(event, 'bilanz7')">Bilanz 7</button>
</nav>
</header>
<section id="t-konto" class="tabcontent">
Expand Down Expand Up @@ -154,16 +154,7 @@ <h2>Buchungssatz</h2>

<section id="vorkontierung" class="tabcontent">
<h2>Vorkontierung</h2>
<details>
<summary>Anleitung</summary>
<div style="padding-left:6px;border: 1px solid #ddd;padding: 4px;">
<video style="width:100%;margin: 0 auto;" poster="media/pic/screenshot1.png" controls>
<source src="media/video/t-konto.mp4" type="video/mp4">
Your bser does not support the video tag.
</video>
</div>
</details>
<form id="vorkontierungForm" class="box">
<form id="vorkontierungForm" class="box">
<label for="anzahlZeilen">Anzahl der Zeilen (1-20):</label>
<input type="number" id="anzahlZeilenVorkontierung" name="anzahlZeilen" value="2" min="1" max="20" required>
<br><br>
Expand Down Expand Up @@ -265,8 +256,8 @@ <h2>Inventar</h2>
<table style="width:650px;border-collapse:collapse" id="inventarTable">
<tr style="padding-left:6px;border: 1px solid #000;background-color: #98bbff;font-weight: bold">
<td style="width:50%"></td>
<td style="width:25%;text-align:center">Vorspalte</td>
<td style="width:25%;text-align:center">Hauptspalte</td>
<td style="text-align:center">Vorspalte</td>
<td style="text-align:center">Hauptspalte</td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000"><b>A. Vermögen</b></td>
Expand Down Expand Up @@ -466,129 +457,128 @@ <h2>Inventar</h2>
</section>


<section id="bilanz" class="tabcontent">
<section id="bilanz7" class="tabcontent">
<h2>Bilanz 7</h2>

<div class="box">
<p>Sie können hier ein Inventar mit Zufallszahlen erstellen.</p>
<button onclick="generateRandomBilanz()"><svg xmlns="http://www.w3.org/2000/svg" fill="white" height="16"
<p>Sie können hier eine Bilanz der 7. Jahrgangsstufe mit Zufallszahlen erstellen.</p>
<button onclick="generateRandomBilanz7()"><svg xmlns="http://www.w3.org/2000/svg" fill="white" 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="M105.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8c62.5-62.5 163.8-62.5 226.3 0L386.3 160H352c-17.7 0-32 14.3-32 32s14.3 32 32 32H463.5c0 0 0 0 0 0h.4c17.7 0 32-14.3 32-32V80c0-17.7-14.3-32-32-32s-32 14.3-32 32v35.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM39 289.3c-5 1.5-9.8 4.2-13.7 8.2c-4 4-6.7 8.8-8.1 14c-.3 1.2-.6 2.5-.8 3.8c-.3 1.7-.4 3.4-.4 5.1V432c0 17.7 14.3 32 32 32s32-14.3 32-32V396.9l17.6 17.5 0 0c87.5 87.4 229.3 87.4 316.7 0c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.5 62.5-163.8 62.5-226.3 0l-.1-.1L125.6 352H160c17.7 0 32-14.3 32-32s-14.3-32-32-32H48.4c-1.6 0-3.2 .1-4.8 .3s-3.1 .5-4.6 1z" />
</svg> Bilanz erstellen</button>
</div><br>
<div id="bilanzContainer" style="width:750px;margin: 0 auto" contenteditable="true">
<div id="bilanz7Container" style="width:99%;margin: 0 auto" contenteditable="true">

<table style="border-collapse: collapse;font-family:courier;background-color:#fff;min-width:650px;">
<caption>Bilanz</caption>
<table style="border-collapse: collapse;font-family:calibri;background-color:#fff;min-width:700px;">
<tbody>
<tr>
<th style="width:25%;">Aktiva</th>
<th colspan="2" style="width:25%;text-align:center;">Eröffnungsbilanz&nbsp;1. Januar</th>
<th style="width:25%;text-align:right;">Passiva</th>
<tr style="background-color: #ccc;">
<th style="width:30%;text-align:left;padding-left:6px;">Aktiva</th>
<th colspan="2" style="text-indent:-20%;text-align:center;">Eröffnungsbilanz&nbsp;1. Januar</th>
<th style="width:20%;text-align:right;padding-right:6px">Passiva</th>
</tr>

<tr style="border-top: 1px solid #AAAAAA;">
<td style="width:25%;">Grundstücke</td>
<td style="width:25%;text-align:right;padding-right: 4px;" id="value-GR">200.000,00 €</td>
<td style="width:25%;border-left: 1px solid #AAAAAA;padding-left: 2px;">Eigenkapital</td>
<td style="width:25%;text-align:right;padding-right: 4px;" id="value-EK">91.000,00 €</td>
<td style="width:30%">Grundstücke</td>
<td style="width:20%;text-align:right;padding-right: 4px;" id="value-GR"></td>
<td style="width:30%;border-left: 1px solid #AAAAAA;padding-left: 6px;">Eigenkapital</td>
<td style="width:20%;text-align:right;padding-right: 4px;" id="value-EK"></td>
</tr>
<tr style="border-top: 1px solid #AAAAAA;">
<td style="width:25%;">Betriebs- und Verwaltungsgebäude</td>
<td style="width:25%;text-align:right;padding-right: 4px;" id="value-BVG">200.000,00 €</td>
<td style="width:25%;border-left: 1px solid #AAAAAA;padding-left: 2px;">Langfristige Bankverbindlichkeiten</td>
<td style="width:25%;text-align:right;padding-right: 4px;" id="value-LBKV">91.000,00 €</td>
<td style="width:30%">Betriebs- und Verwaltungsgebäude</td>
<td style="width:20%;text-align:right;padding-right: 4px;" id="value-BVG"></td>
<td style="width:30%;border-left: 1px solid #AAAAAA;padding-left: 6px;">Langfristige Bankverbindlichkeiten</td>
<td style="width:20%;text-align:right;padding-right: 4px;" id="value-LBKV"></td>
</tr>

<tr style="border-top: 1px solid #AAAAAA;">
<td style="width:25%;">Maschinen und Anlagen</td>
<td style="width:25%;text-align:right;padding-right: 4px;" id="value-MA">20.000,00 €</td>
<td style="width:25%;border-left: 1px solid #AAAAAA;padding-left: 2px;">Kurzfristige Bankverbindlichkeiten</td>
<td style="width:25%;text-align:right;padding-right: 4px;" id="value-KBKV">150.000,00 €</td>
<td style="width:30%">Maschinen und Anlagen</td>
<td style="width:20%;text-align:right;padding-right: 4px;" id="value-MA"></td>
<td style="width:30%;border-left: 1px solid #AAAAAA;padding-left: 6px;">Kurzfristige Bankverbindlichkeiten</td>
<td style="width:20%;text-align:right;padding-right: 4px;" id="value-KBKV"></td>
</tr>

<tr style="border-top: 1px solid #AAAAAA;">
<td style="width:25%;">Fuhrpark</td>
<td style="width:25%;text-align:right;padding-right: 4px;" id="value-FP">50.000,00 €</td>
<td style="width:25%;border-left: 1px solid #AAAAAA;padding-left: 2px;">Verbindlichkeiten bei Lieferern</td>
<td style="width:25%;text-align:right;padding-right: 4px;" id="value-VE">150.000,00 €</td>
<td style="width:30%">Fuhrpark</td>
<td style="width:20%;text-align:right;padding-right: 4px;" id="value-FP"></td>
<td style="width:30%;border-left: 1px solid #AAAAAA;padding-left: 6px;">Verbindlichkeiten bei Lieferern</td>
<td style="width:20%;text-align:right;padding-right: 4px;" id="value-VE"></td>
</tr>

<tr style="border-top: 1px solid #AAAAAA;">
<td style="width:25%;">Büromaschinen</td>
<td style="width:25%;text-align:right;padding-right: 4px;" id="value-BM">50.000,00 €</td>
<td style="width:25%;border-left: 1px solid #AAAAAA;padding-left: 2px;"></td>
<td style="width:25%;text-align:right;padding-right: 4px;"></td>
<td style="width:30%">Büromaschinen</td>
<td style="width:20%;text-align:right;padding-right: 4px;" id="value-BM"></td>
<td style="width:30%;border-left: 1px solid #AAAAAA;padding-left: 6px;"></td>
<td style="width:20%;text-align:right;padding-right: 4px;"></td>
</tr>

<tr style="border-top: 1px solid #AAAAAA;">
<td style="width:25%;">Büromöbel- und Geschäftsausstattung</td>
<td style="width:25%;text-align:right;padding-right: 4px;" id="value-BM">60.000,00 €</td>
<td style="width:25%;border-left: 1px solid #AAAAAA;padding-left: 2px;"></td>
<td style="width:25%;text-align:right;padding-right: 4px;"></td>
<td style="width:30%">Büromöbel- und Geschäftsausst.</td>
<td style="width:20%;text-align:right;padding-right: 4px;" id="value-BGA"></td>
<td style="width:30%;border-left: 1px solid #AAAAAA;padding-left: 6px;"></td>
<td style="width:20%;text-align:right;padding-right: 4px;"></td>
</tr>


<tr style="border-top: 1px solid #AAAAAA;">
<td style="width:25%;">Vorräte</td>
<td style="width:25%;text-align:right;padding-right: 4px;" id="value-VORR">30.000,00 €</td>
<td style="width:25%;border-left: 1px solid #AAAAAA;padding-left: 2px;"></td>
<td style="width:25%;text-align:right;padding-right: 4px;"></td>
<td style="width:30%">Vorräte</td>
<td style="width:20%;text-align:right;padding-right: 4px;" id="value-VORR"></td>
<td style="width:30%;border-left: 1px solid #AAAAAA;padding-left: 6px;"></td>
<td style="width:20%;text-align:right;padding-right: 4px;"></td>
</tr>

<tr style="border-top: 1px solid #AAAAAA;">
<td style="width:25%;">Forderungen an Kunden</td>
<td style="width:25%;text-align:right;padding-right: 4px;" id="value-FO">30.000,00 €</td>
<td style="width:25%;border-left: 1px solid #AAAAAA;padding-left: 2px;"></td>
<td style="width:25%;text-align:right;padding-right: 4px;"></td>
<td style="width:30%">Forderungen an Kunden</td>
<td style="width:20%;text-align:right;padding-right: 4px;" id="value-FO"></td>
<td style="width:30%;border-left: 1px solid #AAAAAA;padding-left: 6px;"></td>
<td style="width:20%;text-align:right;padding-right: 4px;"></td>
</tr>

<tr style="border-top: 1px solid #AAAAAA;">
<td style="width:25%;">Bank</td>
<td style="width:25%;text-align:right;padding-right: 4px;" id="value-BK">10.000,00 €</td>
<td style="width:25%;border-left: 1px solid #AAAAAA;padding-left: 2px;"></td>
<td style="width:25%;text-align:right;"></td>
<td style="width:30%">Bank</td>
<td style="width:20%;text-align:right;padding-right: 4px;" id="value-BK"></td>
<td style="width:30%;border-left: 1px solid #AAAAAA;padding-left: 6px;"></td>
<td style="text-align:right;"></td>
</tr>

<tr style="border-top: 1px solid #AAAAAA;">
<td style="width:25%;">Kasse</td>
<td style="width:25%;text-align:right;padding-right: 2px;" id="value-Kasse">1.000,00 €</td>
<td style="width:25%;border-left: 1px solid #AAAAAA;padding-left: 2px;"></td>
<td style="width:25%;text-align:right;padding-right: 4px;"></td>
<td style="width:30%">Kasse</td>
<td style="text-align:right;padding-right: 2px;" id="value-Kasse"></td>
<td style="width:30%;border-left: 1px solid #AAAAAA;padding-left: 6px;"></td>
<td style="width:20%;text-align:right;padding-right: 4px;"></td>
</tr>

<tr style="border-bottom: 6px double #AAAAAA;border-top: 2px solid #AAAAAA;">
<td style="width:25%;"></td>
<td style="width:25%;text-align:right;padding-right: 2px;">291.000,00 €</td>
<td style="width:25%;border-left: 1px solid #AAAAAA;padding-left: 2px;padding-right: 4px;"></td>
<td style="width:25%;text-align:right;padding-right: 4px;">291.000,00 €</td>
<td style="width:30%"></td>
<td style="text-align:right;padding-right: 2px;font-weight:bold" id="value-AVUV"></td>
<td style="border-left: 1px solid #AAAAAA;padding-left: 6px;padding-right: 4px;"></td>
<td style="text-align:right;padding-right: 4px;font-weight:bold" id="value-AVUV2"></td>
</tr>
</tbody>
</table><br><br>

</div>
<div class="exportButtons">
<button class="icon" type="button" onclick="bilanzHerunterladenAlsPNG()"><svg xmlns="http://www.w3.org/2000/svg"
<button class="icon" type="button" onclick="bilanz7HerunterladenAlsPNG()"><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" id="officeButtonbilanz" data-clipboard-target="#bilanzContainer"><svg
<button class="icon" type="button" id="officeButtonbilanz7" data-clipboard-target="#bilanz7Container"><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="M48 448V64c0-8.8 7.2-16 16-16H224v80c0 17.7 14.3 32 32 32h80V448c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16zM64 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 0H64zm55 241.1c-3.8-12.7-17.2-19.9-29.9-16.1s-19.9 17.2-16.1 29.9l48 160c3 10.2 12.4 17.1 23 17.1s19.9-7 23-17.1l25-83.4 25 83.4c3 10.2 12.4 17.1 23 17.1s19.9-7 23-17.1l48-160c3.8-12.7-3.4-26.1-16.1-29.9s-26.1 3.4-29.9 16.1l-25 83.4-25-83.4c-3-10.2-12.4-17.1-23-17.1s-19.9 7-23 17.1l-25 83.4-25-83.4z" />
</svg></button>
<button class="icon" type="button" onclick="bilanzHerunterladen()"><svg xmlns="http://www.w3.org/2000/svg"
<button class="icon" type="button" onclick="bilanz7Herunterladen()"><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="bilanzKopiereInZwischenablage()"><svg
<button class="icon" type="button" onclick="bilanz7KopiereInZwischenablage()"><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
Expand Down Expand Up @@ -627,7 +617,7 @@ <h2>Tools</h2>
<script src="js/vorkontierung.js"></script>
<script src="js/geschaeftsfaelle.js"></script>
<script src="js/inventar.js"></script>
<script src="js/bilanz.js"></script>
<script src="js/bilanz7.js"></script>
<script src="js/moodle.js"></script>
<script>

Expand Down
2 changes: 1 addition & 1 deletion bwl.html
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ <h2>Produklebenszyklus</h2>
href="https://creativecommons.org/publicdomain/mark/1.0/deed.de">CC0 1.0 Deed</a>
Der Quellcode sowie Möglichkeiten zur Mitwirkung sind über das <a
href="https://github.com/fdagner/bwr">Repository auf Github</a> zu erreichen.<br>
<a href="https://github.com/fdagner">fdagner</a> · BwR-Helfer
<a href="https://github.com/fdagner">fdagner</a> · BwR
</small>
</p>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</head>
<body><main>
<header>
<h1>BwR-Helfer</h1>
<h1>BwR</h1>
<p style="text-align: justify;">
<b>
Hier erhalten Sie Unterstützung bei der Erstellung und dem Export von fachspezifischen Darstellungen für das Fach Betriebswirtschaftslehre/Rechnungswesen an der Realschule in Bayern.
Expand Down
Loading

0 comments on commit 1e47e4c

Please sign in to comment.