-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
93 lines (93 loc) · 5.28 KB
/
index.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
92
93
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Kumar Cables Service & Fibre Internet</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">
<a class="navbar-brand" href="#">Kumar Cables Service & Fibre Internet</a>
</nav>
<div class="container my-4">
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-header bg-primary text-white">
<h5 class="card-title mb-0">Bills</h5>
</div>
<div class="card-body">
<div class="mb-3">
<button class="btn btn-primary" id="addBillBtn">Add Bill</button>
<button class="btn btn-secondary ml-2" id="billListBtn">Bill List</button>
<button class="btn btn-info float-right" id="exportBtn">Export</button>
</div>
<div id="addBillForm" style="display: none;">
<h4>Add Bill</h4>
<form>
<div class="form-group">
<label for="name">Name:</label>
<input type="text" class="form-control" id="name" required>
<div class="invalid-feedback">Please enter a name.</div>
</div>
<div class="form-group">
<label for="caid">CAID:</label>
<input type="text" class="form-control" id="caid" required>
<div class="invalid-feedback">Please enter a CAID.</div>
</div>
<div class="form-group">
<label for="opDbm">OP DBM:</label>
<input type="text" class="form-control" id="opDbm" required>
<div class="invalid-feedback">Please enter an OP DBM.</div>
</div>
<div class="form-group">
<label for="payDate">Pay Date:</label>
<input type="date" class="form-control" id="payDate" required>
<div class="invalid-feedback">Please select a pay date.</div>
</div>
<div class="form-group">
<label for="nextDueDate">Next Due Date:</label>
<input type="date" class="form-control" id="nextDueDate" required>
<div class="invalid-feedback">Please select a next due date.</div>
</div>
<div class="form-group">
<label for="price">Price:</label>
<input type="number" class="form-control" id="price" required>
<div class="invalid-feedback">Please enter a price.</div>
</div>
<button type="submit" class="btn btn-primary">Save Bill</button>
</form>
</div>
<div id="billList" style="display: none;">
<h4>Bill List</h4>
<div class="form-group">
<input type="text" class="form-control" id="searchCaid" placeholder="Search by CAID">
</div>
<table class="table table-striped">
<thead>
<tr>
<th>S.No</th>
<th>Name</th>
<th>CAID</th>
<th>OP DBM</th>
<th>Action</th>
</tr>
</thead>
<tbody id="billTableBody"></tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.16.9/xlsx.full.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.3.1/jspdf.umd.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="script.js"></script>
</body>
</html>