-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
executable file
·150 lines (144 loc) · 5.6 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
140
141
142
143
144
145
146
147
148
149
150
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Fatura Oluşturma Servisi</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="all">
<meta http-equiv="pragma" content="no-cache">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
<!-- Latest compiled and minified JavaScript -->
<!--<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>-->
<script src="https://code.jquery.com/jquery-1.11.1.min.js"></script>
<link rel="stylesheet" href="css/main.css">
<script src="js/main.js"></script>
<!-- IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="row">
<h1 class="text-center">Fatura Oluşturma Servisi</h1>
</div>
<div class="row options">
<div class="col-xs-4"></div>
<div class="col-xs-2">
KDV
<select id="vat-option" class="option">
<option value="1">Yok</option>
<option value="2" selected>% Yüzde</option>
<option value="3">Net</option>
</select>
</div>
<div class="col-xs-2">
İskonto
<select id="discount-option" class="option">
<option value="1">Yok</option>
<option value="2" selected>% Yüzde</option>
<option value="3">Net</option>
</select>
</div>
</div>
<div class="row options text-center">
<input type="button" class="btn btn-default" onclick="printPage()" value="Çıktı Al"/>
</div>
<div class="row">
<div class="col-xs-10 col-xs-offset-1" id="bill">
<div id="bill-inner">
<div class="row">
<div class="col-xs-9">
<div class="company-input" contenteditable>
<strong>Şirket Adı</strong>
<p>Mah. Cadde. Sokak. No: X İlçe - İl<br/>
Tel: 0 (123) 456 78 90 - Fax: 0 (123) 456 78 90<br/>
email: [email protected] - www.sirketadi.com<br />
Vergi Dairesi / Vergi Numarası</p>
</div>
</div>
<div class="col-xs-3">
<h1 class="top-title">FATURA</h1>
<div class="row text-right">
<div class="col-xs-4 right-aligned-title">Seri</div>
<div class="col-xs-8"><input type="text" class="text-input" placeholder="A 12345" /></div>
</div>
<div class="row">
<div class="col-xs-4 right-aligned-title">Tarih</div>
<div class="col-xs-8"><input type="text" class="text-input" data="date" /></div>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-9">
<div class="company-input" contenteditable>
<strong>Şirket Adı</strong>
<p>Mah. Cadde. Sokak. No: X İlçe - İl<br/>
Tel: 0 (123) 456 78 90 - Fax: 0 (123) 456 78 90<br/>
email: [email protected] - www.sirketadi.com<br />
Vergi Dairesi / Vergi Numarası</p>
</div>
</div>
<div class="col-xs-3">
</div>
</div>
<div class="row operations">
<button type="button" class="btn btn-default btn-sm add-item">Ürün Ekle</button>
</div>
<div class="row table">
<div class="col-xs-12">
<div class="row item head">
<div class="col-xs-6">Açıklama</div>
<div class="col-xs-2">Miktar</div>
<div class="col-xs-2">Birim Fiyatı</div>
<div class="col-xs-2">Tutar</div>
</div>
<div class="items">
<div class="row item" id="item-1">
<div class="col-xs-6"><input type="text" class="text-input" value="Açıklamayı buraya giriniz." /></div>
<div class="col-xs-2"><input type="text" class="number-input" maxlength="10" data="quantity" onkeypress="return event.charCode >= 48 && event.charCode <= 57" value="1" /></div>
<div class="col-xs-2"><input type="text" class="number-input" maxlength="10" data="price" onkeypress="return event.charCode == 46 || (event.charCode >= 48 && event.charCode <= 57)" value="100.00" /></div>
<div class="col-xs-2"><input type="text" class="number-input" data="total" value="100.00" disabled /></div>
</div>
</div>
<div class="row results">
<div class="col-xs-8">
<div class="row">
<p><strong>Yalnız</strong></p>
<p data="grandtotal-text"></p>
</div>
</div>
<div class="col-xs-4">
<div class="row">
<div class="col-xs-6 right-aligned-title">Ara Toplam</div>
<div class="col-xs-6"><input type="text" class="number-input" data="subtotal" value="100" disabled /></div>
</div>
<div class="row" id="discount-option-row">
<div class="col-xs-6 right-aligned-title">İskonto</div>
<div class="col-xs-6"><input type="text" class="number-input" data="discount" value="0" /></div>
</div>
<div class="row" id="vat-option-row">
<div class="col-xs-6 right-aligned-title">K.D.V.</div>
<div class="col-xs-6"><input type="text" class="number-input" data="vat" value="18" /></div>
</div>
<div class="row">
<div class="col-xs-6 right-aligned-title">Genel Toplam</div>
<div class="col-xs-6"><input type="text" class="number-input" data="grandtotal" value="118" disabled /></div>
</div>
</div>
</div>
<div class="row">
<p><strong>Not</strong></p>
<div class="company-input" contenteditable>...</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>