-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
63 lines (55 loc) · 1.61 KB
/
Copy pathindex.html
File metadata and controls
63 lines (55 loc) · 1.61 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTNA Invoice System</title>
<link rel="stylesheet" href="style.css">
<script src="script.js" defer></script>
</head>
<body>
<div class="container">
<div class="header">
<img src="assets/logo.png" class="logo">
<h1>Invoice Generator</h1>
</div>
<div class="invoice-info">
<label>Client Name:</label>
<input type="text" id="clientName">
<label>Select Month:</label>
<input type="month" id="invoiceMonth">
<br>
<label><b>Invoice Period:</b></label>
<select id="periodType">
<option value="full">Full Month</option>
<option value="first">First Half (1–15)</option>
<option value="second">Second Half (16–End)</option>
</select>
<br><br>
>
<label>Invoice Date:</label>
<input type="date" id="invoiceDate">
</div>
<table id="invoiceTable">
<thead>
<tr>
<th>Date</th>
<th>Day</th>
<th>Hours</th>
<th>Rate (USD)</th>
<th>Total (USD)</th>
<th>Action</th>
</tr>
</thead>
<tbody></tbody>
</table>
<div class="controls">
<button onclick="generateMonth()">Auto Generate Month</button>
<button onclick="addRow()">Add Row</button>
<button onclick="saveInvoice()">Save</button>
<button onclick="window.print()">Print / Save PDF</button>
</div>
<h2>Total Amount: $<span id="grandTotal">0.00</span></h2>
</div>
</body>
</html>