-
Notifications
You must be signed in to change notification settings - Fork 0
/
inventar.html
240 lines (236 loc) · 14.8 KB
/
inventar.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Sie können hier ein zufälliges Inventar generieren.">
<meta name="keywords" content="BwR, Buchungssatz, Geschäftsfall, Inventar, Realschule, Schema, Lehrkraft, Prüfung, Belege, Schemata, Rechnungswesen, Buchführung">
<title>Buchführung</title>
<link rel="stylesheet" href="css/style.css">
<script src="js/html2canvas.min.js"></script>
<script src="js/kontenplan.js"></script>
<script src="js/js-yaml.min.js"></script>
<script src="js/clipboard.min.js"></script>
<script src="js/menu.js"></script>
</head>
<main>
<div w3-include-html="navigation.html"></div>
<h2>Inventar</h2>
<div class="box">
<p>Sie können hier ein Inventar mit Zufallszahlen erstellen.</p>
<button onclick="generateRandomInventar()"><svg xmlns="http://www.w3.org/2000/svg" fill="#ff4800" 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> Inventar erstellen</button>
</div><br>
<div id="inventarContainer" style="width:650px;margin: 0 auto" contenteditable="true">
<table style="width:650px;border-collapse:collapse;background-color: #fff;" id="inventarTable">
<tr style="padding-left:6px;border: 1px solid #000;background-color: #98bbff;font-weight: bold">
<td style="width:50%"></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>
<td style="padding-left:6px;border: 1px solid #000"></td>
<td style="padding-left:6px;border: 1px solid #000"></td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000"><b>I. Anlagevermögen</b></td>
<td style="padding-left:6px;border: 1px solid #000"></td>
<td style="padding-left:6px;border: 1px solid #000"></td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000" id="GR">Grundstücke</td>
<td style="padding-left:6px;border: 1px solid #000"></td>
<td style="padding-left:6px;border: 1px solid #000;text-align: right;padding-right:6px" id="GR-value"></td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000" id="BVG">Betriebs- und Verwaltungsgebäude</td>
<td style="padding-left:6px;border: 1px solid #000"></td>
<td style="padding-left:6px;border: 1px solid #000;text-align: right;padding-right:6px" id="BVG-value"></td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000" id="MA">Maschinen und Anlagen</td>
<td style="padding-left:6px;border: 1px solid #000"></td>
<td style="padding-left:6px;border: 1px solid #000;text-align: right;padding-right:6px" id="MA-value"></td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000" id="FP">Fuhrpark</td>
<td style="padding-left:6px;border: 1px solid #000"></td>
<td style="padding-left:6px;border: 1px solid #000;text-align: right;padding-right:6px" id="FP-value"></td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000;text-indent: 2em;" id="FP1">LKW</td>
<td style="padding-left:6px;border: 1px solid #000;text-align: right;padding-right:6px" id="FP1-value"></td>
<td style="padding-left:6px;border: 1px solid #000"></td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000;text-indent: 2em;" id="FP2">PKW</td>
<td style="padding-left:6px;border: 1px solid #000;text-align: right;padding-right:6px" id="FP2-value"></td>
<td style="padding-left:6px;border: 1px solid #000"></td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000" id="BM">Büromaschinen</td>
<td style="padding-left:6px;border: 1px solid #000"></td>
<td style="padding-left:6px;border: 1px solid #000;text-align: right;padding-right:6px" id="BM-value"></td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000" id="BGA">Büromöbel und Geschäftsausstattung</td>
<td style="padding-left:6px;border: 1px solid #000"></td>
<td style="padding-left:6px;border: 1px solid #000;text-align: right;padding-right:6px" id="BGA-value"></td>
</tr>
<tr style="background-color: #ccc">
<td style="padding-left:6px;border: 1px solid #000" id="AV"><b>Summe des Anlagevermögens</b></td>
<td style="padding-left:6px;border: 1px solid #000"></td>
<td style="padding-left:6px;border: 1px solid #000;text-align: right;padding-right:6px" id="AV-value">
<b></b>
</td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000"><b>II. Umlaufvermögen</b></td>
<td style="padding-left:6px;border: 1px solid #000"></td>
<td style="padding-left:6px;border: 1px solid #000"></td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000" id="VORR">Vorräte</td>
<td style="padding-left:6px;border: 1px solid #000"></td>
<td style="padding-left:6px;border: 1px solid #000;text-align: right;padding-right:6px" id="VORR-value">
</td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000" id="FO">Forderungen</td>
<td style="padding-left:6px;border: 1px solid #000"></td>
<td style="padding-left:6px;border: 1px solid #000;text-align: right;padding-right:6px" id="FO-value"></td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000" id="BK">Bank</td>
<td style="padding-left:6px;border: 1px solid #000"></td>
<td style="padding-left:6px;border: 1px solid #000;text-align: right;padding-right:6px" id="BK-value"></td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000;text-indent: 2em;" id="BK1">KreditBank</td>
<td style="padding-left:6px;border: 1px solid #000;text-align: right;padding-right:6px" id="BK1-value"></td>
<td style="padding-left:6px;border: 1px solid #000"></td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000;text-indent: 2em;" id="BK2">StadtBank</td>
<td style="padding-left:6px;border: 1px solid #000;text-align: right;padding-right:6px" id="BK2-value"></td>
<td style="padding-left:6px;border: 1px solid #000"></td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000" id="KA">Kasse</td>
<td style="padding-left:6px;border: 1px solid #000"></td>
<td style="padding-left:6px;border: 1px solid #000;text-align: right;padding-right:6px" id="KA-value"></td>
</tr>
<tr style="background-color: #ccc">
<td style="padding-left:6px;border: 1px solid #000" id="UV"><b>Summe des Umlaufvermögens</b></td>
<td style="padding-left:6px;border: 1px solid #000"></td>
<td style="padding-left:6px;border: 1px solid #000;text-align: right;padding-right:6px" id="UV-value">
<b></b>
</td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000"><b>B. Schulden</b></td>
<td style="padding-left:6px;border: 1px solid #000"></td>
<td style="padding-left:6px;border: 1px solid #000"></td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000">I. Langfristige Schulden</td>
<td style="padding-left:6px;border: 1px solid #000"></td>
<td style="padding-left:6px;border: 1px solid #000"></td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000" id="LBKV">Langfristige Bankverbindlichkeiten</td>
<td style="padding-left:6px;border: 1px solid #000"></td>
<td style="padding-left:6px;border: 1px solid #000;text-align: right;padding-right:6px" id="LBKV-value">
</td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000">II. Kurzfristige Schulden</td>
<td style="padding-left:6px;border: 1px solid #000"></td>
<td style="padding-left:6px;border: 1px solid #000"></td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000" id="KBKV">Kurzfristige Bankverbindlichkeiten</td>
<td style="padding-left:6px;border: 1px solid #000"></td>
<td style="padding-left:6px;border: 1px solid #000;text-align: right;padding-right:6px" id="KBKV-value">
</td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000" id="VE">Verbindlichkeiten</td>
<td style="padding-left:6px;border: 1px solid #000"></td>
<td style="padding-left:6px;border: 1px solid #000;text-align: right;padding-right:6px" id="VE-value"></td>
</tr>
<tr style="background-color: #ccc">
<td style="padding-left:6px;border: 1px solid #000" id="FK"><b>Summe der Schulden</b></td>
<td style="padding-left:6px;border: 1px solid #000"></td>
<td style="padding-left:6px;border: 1px solid #000;text-align: right;padding-right:6px" id="FK-value">
<b></b>
</td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000"><b>C. Ermittlung des Reinvermögens</b></td>
<td style="padding-left:6px;border: 1px solid #000">
</td>
<td style="padding-left:6px;border: 1px solid #000">
</td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000" id="AVUV">Summe des Vermögens</td>
<td style="padding-left:6px;border: 1px solid #000"></td>
<td style="padding-left:6px;border: 1px solid #000;text-align: right;padding-right:6px" id="AVUV-value">
</td>
</tr>
<tr>
<td style="padding-left:6px;border: 1px solid #000" id="FK2"> - Summe der Schulden</td>
<td style="padding-left:6px;border: 1px solid #000"></td>
<td style="padding-left:6px;border: 1px solid #000;text-align: right;padding-right:6px" id="FKSum-value">
</td>
</tr>
<tr style="background-color: #ccc">
<td style="padding-left:6px;border: 1px solid #000" id="EK"><b> = Eigenkapital (Reinvermögen)</b></td>
<td style="padding-left:6px;border: 1px solid #000"></td>
<td style="padding-left:6px;border: 1px solid #000;text-align: right;padding-right:6px;font-weight: bold"
id="EK-Value">
</td>
</tr>
</table>
</div>
<div class="exportButtons">
<button class="icon" type="button" onclick="inventarHerunterladenAlsPNG()"><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="officeButtoninventar" data-clipboard-target="#inventarContainer"><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="inventarHerunterladen()"><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="inventarKopiereInZwischenablage()"><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>
</main>
<script src="js/inventar.js"></script>
<div w3-include-html="footer.html"></div>
<script>
includeHTML();
</script>
</main>
</body>
</html>