-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinventory.html
36 lines (32 loc) · 1.24 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Inventory Management</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="inventory">
<button onclick="logout()">Logout</button>
<h2>Inventory Management</h2>
<div id="inventory">
<button onclick="addItem()">Add New Item</button>
<ul id="itemList"></ul>
</div>
<div id="receipt" style="display:none; border:1px solid #ddd; padding:20px; margin-top:20px;">
<h3>Receipt Invoice</h3>
<p>Customer Name: <span id="customerName"></span></p>
<p>Purchase Date: <span id="purchaseDate"></span></p>
<ul id="purchasedItems"></ul>
<p>Total Amount: GHC<span id="totalAmount"></span></p>
<button onclick="printReceipt()">Print Receipt</button>
</div>
<h3>Sales Reports</h3>
<p>Daily Sales Total: GHC<span id="dailySalesTotal">0.00</span></p>
<p>Monthly Sales Total: GHC<span id="monthlySalesTotal">0.00</span></p>
</div>
<script src="sales.js"></script>
<script src="inventory.js"></script>
<script src="auth.js"></script>
</body>
</html>