-
Notifications
You must be signed in to change notification settings - Fork 1
/
bill-gen.html
79 lines (73 loc) · 3.14 KB
/
bill-gen.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Generate Bill</title>
<link rel="stylesheet" href="/assets/bootstrap/css/bootstrap.css">
<link rel="stylesheet" href="/styles/bill-gen.css">
<script src="assets/bootstrap/js/bootstrap.bundle.js" defer></script>
<script src="/scripts/bill-gen.js" defer></script>
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
</head>
<body>
<div class="container-fluid" id="top-section">
<div class="row">
<div class="col" id="logo">
<img src="/assets/logo.png" alt="Biller Bee Logo">
</div>
<div class="col" id="header">
INVOICE ENTRY
</div>
</div>
</div>
<div class="container-fluid" id="cust-info">
<form action="">
<!-- add JS function to get details -->
<div class="row" id="cust-name-box">
<div class="col">
<!-- <label for="custName">Customer Name : </label> -->
<input type="text" id="custName" name="custName" placeholder="Customer Name">
</div>
<div class="col">
<!-- <label for="custPhNum">Customer Phone Number : </label> -->
<input type="tel" id="custPhNum" name="custPhNum" placeholder="Customer Phone Number">
</div>
</div>
</form>
</div>
<!-- adding items to bill -->
<form>
<div id="billDetails" class="container">
<div id="innerBillDetails">
<div id="innerBillElement">
<label for="itemId">Item Code </label>
<input type="number" id="itemId" name="itemId">
<label for="itemName">Item </label> <!-- JS function fetches item name from item code and puts it here -->
<input type="text" id="itemName" name="itemName">
<label for="itemPrice"> Price </label>
<input type="number" id="itemPrice" name="itemPrice">
<label for="itemQty">Quantity </label>
<input type="number" id="itemQty" name="itemQty">
</div>
<br>
</div>
<button type="button" class="btn btn-primary" id="addBillItem" onclick="addBillItem()">
<span class="material-symbols-outlined">
add_circle
</span>
</button>
</div>
<div class="container-fluid" id="footer-section">
<div class="row">
<div class="col" id="billTotal">TOTAL BILL : </div>
<div class="col" id="submit-button-div">
<button type="submit" class="btn btn-primary" id="submitDetails">Proceed</button>
</div>
</div>
</div>
</form>
</body>
</html>