-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbill.html
More file actions
68 lines (63 loc) · 2.26 KB
/
bill.html
File metadata and controls
68 lines (63 loc) · 2.26 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Your Bill</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<div class="bill-view">
<h1 id="shopName">Shop Name</h1>
<div class="bill-info">
<div>Date: <span id="billDate"></span></div>
<div>Bill No: <span id="billNumber"></span></div>
</div>
<div class="customer-info">
<h3>Customer Details</h3>
<div>Name: <span id="customerName"></span></div>
<div>Phone: <span id="customerPhone"></span></div>
</div>
<table class="bill-items">
<thead>
<tr>
<th>Item</th>
<th>Qty</th>
<th>Price</th>
<th>Total</th>
</tr>
</thead>
<tbody id="billItems">
<!-- Items will be added here -->
</tbody>
<tfoot>
<tr>
<td colspan="3">Subtotal</td>
<td id="subtotal">0.00</td>
</tr>
<tr>
<td colspan="3">Tax (10%)</td>
<td id="tax">0.00</td>
</tr>
<tr class="grand-total">
<td colspan="3">Total</td>
<td id="total">0.00</td>
</tr>
</tfoot>
</table>
<div class="thank-you">
Thank you for your purchase!
</div>
<div class="payment-info">
<p>Payment Status: <span id="paymentStatus">Pending</span></p>
<p>Scan to pay:</p>
<div id="paymentQR"></div>
</div>
</div>
</div>
<script src="bill.js"></script>
</body>
</html>