-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
201 lines (195 loc) · 10.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bill Generate</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<h2>BillGen</h2>
<span class="bill-count" id="bill-count"></span>
<span class="total-amount" id="total-amount"></span>
<!-- <span class="total-amount" id="total-amount"></span> -->
<table>
<thead>
<tr>
<th>Item</th>
<th>1 Kg</th>
<th>500 gm</th>
<th >250 gm</th>
<th>Total</th>
</tr>
</thead>
<tbody>
<tr>
<td>ઊંધિયું</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-1-outlined" value="200" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-1-outlined">1 Kg</label>
</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-2-outlined" value="100" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-2-outlined">500 gm</label>
</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-3-outlined" value="50" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-3-outlined">250 gm</label>
</td>
<td class="item-total">0 ₹</td>
</tr>
<tr>
<td>ફાફડા</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-4-outlined" value="400" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-4-outlined">1 Kg</label>
</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-5-outlined" value="200" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-5-outlined">500 gm</label>
</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-6-outlined" value="100" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-6-outlined">250 gm</label>
</td>
<td class="item-total">0 ₹</td>
</tr>
<tr>
<td>જલેબી</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-7-outlined" value="200" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-7-outlined">1 Kg</label>
</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-8-outlined" value="100" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-8-outlined">500 gm</label>
</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-9-outlined" value="50" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-9-outlined">250 gm</label>
</td>
<td class="item-total">0 ₹</td>
</tr>
<tr>
<td>ખમણ</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-10-outlined" value="160" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-10-outlined">1 Kg</label>
</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-11-outlined" value="80" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-11-outlined">500 gm</label>
</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-12-outlined" value="40" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-12-outlined">250 gm</label>
</td>
<td class="item-total">0 ₹</td>
</tr>
<tr>
<td>કચોરી</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-13-outlined" value="240" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-13-outlined">1 Kg</label>
</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-14-outlined" value="120" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-14-outlined">500 gm</label>
</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-15-outlined" value="60" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-15-outlined">250 gm</label>
</td>
<td class="item-total">0 ₹</td>
</tr>
<tr>
<td>સમોસા</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-16-outlined" value="240" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-16-outlined">1 Kg</label>
</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-17-outlined" value="120" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-17-outlined">500 gm</label>
</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-18-outlined" value="60" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-18-outlined">250 gm</label>
</td>
<td class="item-total">0 ₹</td>
</tr>
<tr>
<td>કટલેસ</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-19-outlined" value="200" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-19-outlined">1 Kg</label>
</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-20-outlined" value="100" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-20-outlined">500 gm</label>
</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-21-outlined" value="50" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-21-outlined">250 gm</label>
</td>
<td class="item-total">0 ₹</td>
</tr>
<tr>
<td>ચાઇનીઝ રોલ</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-22-outlined" value="240" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-22-outlined">1 Kg</label>
</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-23-outlined" value="120" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-23-outlined">500 gm</label>
</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-24-outlined" value="60" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-24-outlined">250 gm</label>
</td>
<td class="item-total">0 ₹</td>
</tr>
<tr>
<td>પાત્રા</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-25-outlined" value="240" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-25-outlined">1 Kg</label>
</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-26-outlined" value="120" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-26-outlined">500 gm</label>
</td>
<td>
<input type="checkbox" class="btn-check price-checkbox" id="btn-check-27-outlined" value="60" autocomplete="off">
<label class="btn btn-outline-primary" for="btn-check-27-outlined">250 gm</label>
</td>
<td class="item-total">0 ₹</td>
</tr>
<tr>
<td colspan="1" id="total">Items</td>
<td id="selected-count">0 </td>
<td colspan="2" id="total">Total</td>
<td id="final-total">0 ₹</td>
</tr>
</tbody>
</table>
<a href="#" class="checkout-btn" onclick="generateBill()">Generate Bill</a>
<a href="#" class="generate-btn" onclick="generateNewBill()">New Bill</a>
</div>
<!-- <div class="item-management">
<h3>Manage Items</h3>
<label for="item-name">Item Name:</label>
<input type="text" id="item-name" placeholder="Enter item name">
<label for="item-quantity">Item Quantity:</label>
<input type="number" id="item-quantity" placeholder="Enter quantity">
<label for="item-price">Item Price:</label>
<input type="number" id="item-price" placeholder="Enter price">
<button onclick="addItem()">Add Item</button>
</div> -->
<script src="app.js"></script>
</body>
</html>