-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinventory.html
91 lines (88 loc) · 2.92 KB
/
inventory.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>F-Klubben's Lageroptælling</title>
<link rel="stylesheet" type="text/css" media="all" href="style.css">
<link rel="stylesheet" type="text/css" media="print" href="print.css">
</head>
<body>
<h1>F-Klubben's Lageroptælling</h1>
<div id="input-group">
<div>
<input type="text" id="product-id" placeholder="Stregkode" autofocus>
</div>
<div>
<img id="product-img" src="" style="float: left; border-style: solid;border-width: 1px; border-color: black;">
<h3 id="product-name" style="float: right;"></h3>
</div>
<textarea id="history_log" cols="80" rows="5" readonly></textarea>
<div>
</div>
</div>
<div id="inventory-group">
<h2>Lager</h2>
<div>
<button onclick="downloadInventoryCsv()">Download inventory csv</button>
<button onclick="resetInventory()">Reset inventory</button>
<button id="undo-scan">Undo latest scan</button>
</div>
<table id="inventory">
<thead>
<tr>
<th>Product name</th>
<th class="right">Quantity size 1</th>
<th class="right">Quantity size 2</th>
<th class="right">Quantity size 3</th>
<th>Summary</th>
<th>Total</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<div id="product-group">
<h2>Produkter</h2>
<div>
<button id="add-product-row">Add row</button>
<button id="test-btn">Generate barcodes</button>
</div>
<table id="products">
<thead>
<tr>
<th>Product name</th>
<th>Size 1 - Name</th>
<th>Size 1 - Barcode</th>
<th class="right">Size 1 - Quantity</th>
<th>Size 2 - Name</th>
<th>Size 2 - Barcode</th>
<th class="right">Size 2 - Quantity</th>
<th>Size 3 - Name</th>
<th>Size 3 - Barcode</th>
<th class="right">Size 3 - Quantity</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<div id="barcode-group">
<h2>Stregkoder</h2>
<table id="barcodes">
<thead>
<tr>
<th>Product name</th>
<th>Size 1</th>
<th>Size 2</th>
<th>Size 3</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
<script type="text/javascript" src="jquery-3.6.0.slim.min.js"></script>
<script type="text/javascript" src="JsBarcode.all.min.js"></script>
<script type="text/javascript" src="custom.js"></script>
</body>
</html>