This repository has been archived by the owner on Jan 15, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
139 lines (126 loc) · 4.59 KB
/
index.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
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<title>MEDT Rechnung</title>
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
<style>
body { margin: 1% 3% 1%; }
img[alt*=logo] { width: 100px; }
</style>
</head>
<div id="header">
<div id="header-logo" class="col-xs-6">
<img src="logo.png" alt="logo">
</div>
<div id="header-title" class="col-xs-6 text-right">
<h1>MEDT Rechnung</h1>
<h1 class="small">Rechnung #001</h1>
</div>
</div>
<div id="address">
<div id="address-from" class="col-xs-5">
<div class="panel panel-default">
<div class="panel-heading">
<h4>Von: <a href="" class="text-uppercase">MEDT Lehrer</a></h4>
</div>
<div class="panel-body">
<p>
Wexstraße 19-23<br>
1200 - Wien<br>
Austria
</p>
</div>
</div>
</div>
<div id="address-to" class="col-xs-5 col-xs-offset-2 text-right">
<div class="panel panel-default">
<div class="panel-heading">
<h4>Von: <a href="" class="text-uppercase">MEDT Schüler</a></h4>
</div>
<div class="panel-body">
<p>
Wexstraße 19-23<br>
1200 - Wien<br>
Austria
</p>
</div>
</div>
</div>
</div>
<div id="invoice" class="container-fluid">
<h4>Rechnung für ein Jahr der Entbehrungen eurer Lehrer.</h4>
<table class="table table-bordered">
<thead>
<td><h4>Art der Dienstleistung</h4></td>
<td><h4>Beschreibung</h4></td>
<td><h4>Aufwand (Std.)</h4></td>
<td><h4>Preis</h4></td>
<td><h4>Sub Total</h4></td>
</thead>
<tbody>
<tr>
<td>Beiträge</td>
<td><a href="">Einpflegen von Beiträgen in das WCMS</a></td>
<td class="text-right"></td>
<td class="text-right">€200.00</td>
<td class="text-right price">€200.00</td>
</tr>
<tr>
<td>Template Design</td>
<td><a href="">Grafisches Design der Templates</a></td>
<td class="text-right">10</td>
<td class="text-right">€75.00</td>
<td class="text-right price">€750.00</td>
</tr>
<tr>
<td>Entwicklung</td>
<td><a href="">Entwicklung der Typo3 Funktionalität</a></td>
<td class="text-right">5</td>
<td class="text-right">€50.00</td>
<td class="text-right price">€250.00</td>
</tr>
</tbody>
</table>
</div>
<div id="bill" class="container-fluid">
<p>Gesamt Abrechnung</p>
<div class="row text-right panel">
<div class=" col-xs-2 col-xs-offset-8">
<b>
Sub Total:<br>
Steuern:<br>
Total:<br>
</b>
</div>
<div class="col-xs-2">
<b>
<script>
var priceList = document.querySelectorAll("#invoice table tr td.price");
var subTotal = 0;
var taxes = 25;
for (var i = 0; i < priceList.length; i++) {
subTotal += parseFloat(priceList[i].innerHTML.substr(1));
}
document.write("€" + subTotal + "<br>");
document.write(taxes + "%<br>");
document.write("€" + subTotal*taxes/100);
</script>
</b>
</div>
</div>
</div>
<div id="bankdata" class="container-fluid">
<div class="panel panel-info">
<div class="panel-heading"><h3>Bankdaten</h3></div>
<div class="panel-body">
<p>Brein Christoph</p>
<p>TGM Bank</p>
<p>SWIFT 12345678</p>
<p>Account Number 0001230123</p>
<p>IBAN 000123012301230123</p>
</div>
</div>
</div>
</body>
</html>