-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstock.html
More file actions
105 lines (101 loc) · 3.09 KB
/
Copy pathstock.html
File metadata and controls
105 lines (101 loc) · 3.09 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>LaundryKuy - Manajemen Stok</title>
<link rel="stylesheet" href="src/css/stock.css" />
<!-- SweetAlert2 CSS -->
<link
href="https://cdn.jsdelivr.net/npm/sweetalert2@11.5.6/dist/sweetalert2.min.css"
rel="stylesheet"
/>
</head>
<body>
<header>
<div class="header-container">
<div class="logo">
<img src="src/img/logo.png" alt="Logo Laundry POS" />
<h1>Laundry POS</h1>
</div>
<nav>
<ul class="nav-links">
<li><a href="dashboard.html">Dashboard</a></li>
<li><a href="datapelanggan.html">Data Pelanggan</a></li>
<li><a href="karyawan.html">Karyawan</a></li>
<li><a href="supplier.html">Supplier</a></li>
<li><a href="stock.html">Stock</a></li>
<li><a href="laporan.html">Laporan</a></li>
</ul>
<button class="burger" aria-label="Toggle menu">
<i class="fas fa-bars"></i>
</button>
</nav>
</div>
</header>
<div class="container">
<h1 class="title">LaundryKuy - Manajemen Stok</h1>
<form id="stock-form">
<div class="form-group">
<label for="item-id">ID Barang</label>
<input
type="text"
id="item-id"
placeholder="Masukkan ID Barang"
required
/>
</div>
<div class="form-group">
<label for="item-name">Nama Barang</label>
<input
type="text"
id="item-name"
placeholder="Masukkan nama barang"
required
/>
</div>
<div class="form-group">
<label for="item-stock">Stok</label>
<input
type="number"
id="item-stock"
placeholder="Masukkan jumlah stok"
min="0"
required
/>
</div>
<div class="form-group">
<label for="item-price">Harga per Unit</label>
<input
type="number"
id="item-price"
placeholder="Masukkan harga per unit"
min="0"
required
/>
</div>
<button type="submit" class="btn-save">Simpan</button>
</form>
<div class="container">
<h2 class="subtitle">Data Stok</h2>
<!-- Tabel untuk tampilan desktop -->
<table id="stock-table">
<thead>
<tr>
<th>ID Barang</th>
<th>Nama Barang</th>
<th>Stok</th>
<th>Harga per Unit</th>
<th>Actions</th>
</tr>
</thead>
<tbody></tbody>
</table>
<!-- List untuk tampilan mobile -->
<div class="stock-list"></div>
</div>
<!-- SweetAlert2 JS -->
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11.5.6/dist/sweetalert2.min.js"></script>
<script src="src/js/stock.js" type="module"></script>
</body>
</html>