-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinventory.html
More file actions
140 lines (137 loc) · 3.89 KB
/
Copy pathinventory.html
File metadata and controls
140 lines (137 loc) · 3.89 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style>
table {
width: 100%;
}
.inv {
display: flex;
flex-direction: column;
}
.top {
display: flex;
justify-content: space-between;
gap: 10px;
}
td {
text-align: center;
}
.form {
display: flex;
flex-direction: column;
gap: 10px;
}
.form > div {
display: flex;
}
.form label {
min-width: 160px;
margin-right: 10px;
text-align: right;
}
.form > button {
margin-left: 100px;
width: 240px;
}
</style>
</head>
<body>
<div class="inv">
<div class="top">
<div id="date">date</div>
<div class="search">
<input type="text" /><button class="search">Search</button>
<button class="add">+</button> <button class="minus">-</button>
</div>
</div>
<div class="form">
<div class="name">
<label for="name">Name :</label>
<input type="text" name="name" id="name" />
</div>
<div class="quantity">
<label for="quantity">Quantity :</label>
<input type="number" name="quantity" id="quantity" />
</div>
<div class="invoicedate">
<label for="invoiceDate">Invoice Date :</label>
<input type="date" name="invoiceDate" id="invoiceDate" />
</div>
<div class="manudate">
<label for="manuDate">Manufactoring Date :</label>
<input type="date" name="manuDate" id="manuDate" />
</div>
<div class="expdate">
<label for="expDate">Expired Date :</label>
<input type="date" name="expDate" id="expDate" />
</div>
<div class="uprice">
<label for="uPrice">Unit Price(RM) :</label>
<input type="number" step="0.01" name="uPrice" id="uPrice" />
</div>
<div class="cprice">
<label for="cPrice">Cost Price(RM) :</label>
<input type="number" step="0.01" name="cPrice" id="cPrice" />
</div>
<div class="sprice">
<label for="sPrice">Sell Price(RM) :</label>
<input type="number" step="0.01" name="sPrice" id="sPrice" />
</div>
<div class="code">
<label for="code">Code :</label>
<input type="text" name="code" id="code" />
</div>
<div class="category">
<label for="category">Category :</label>
<input type="text" name="category" id="category" />
</div>
<div class="supp">
<label for="supp">Supplier :</label>
<input type="text" name="supp" id="supp" />
</div>
<button onclick="add()">Add</button>
</div>
<div class="table">
Inventory
<table border="1">
<thead>
<tr>
<th>No.</th>
<th>Product name</th>
<th>Quantity</th>
<th>Invoice date</th>
<th>Manufactoring date</th>
<th>Expiry date</th>
<th>Unit. price</th>
<th>Cost price (RM)</th>
<th>Sell price(RM)</th>
<th>Code</th>
<th>Category</th>
<th>Supplier</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>ayam goreng</td>
<td>2</td>
<td>10/2/24</td>
<td>10/2/24</td>
<td>10/2/24</td>
<td>2.50</td>
<td>2.50</td>
<td>2.50</td>
<td>AG</td>
<td>Makanan</td>
</tr>
</tbody>
</table>
</div>
<div class="footer"></div>
</div>
</body>
</html>