-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbilling.html
44 lines (43 loc) · 1.64 KB
/
billing.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Billing</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<link rel="stylesheet" href="./styles/footer.css">
<link rel="stylesheet" href="./styles/navbar.css">
<link rel="stylesheet" href="./styles/styles.css">
<link rel="stylesheet" href="./styles/billing.css">
</head>
<body>
<div class="main-container">
<div id="navbar-container"></div>
<div class="billing-container">
<h2>Your Cart</h2>
<table class="item-table">
<tr class="item-row">
<th class="item-row-heading">Warm Dishes</th>
<th class="item-row-heading">Quantity</th>
<th class="item-row-heading"> Price</th>
</tr>
</table>
<div id="cart-items"></div>
<div class="cart-total">
<h2>Total: <span id="cart-total">₹ 0.00</span></h2>
</div>
<button id="checkout-btn">Checkout</button>
</div>
<div id="footer-div"></div>
</div>
<script src="./scripts/main.js" type="module"></script>
<script type="module">
import billing from './scripts/billing.js';
// Initialize the billing page when DOM is ready
document.addEventListener('DOMContentLoaded', () => {
billing.init(); // Initialize the billing page functionality
});
</script>
<script src="https://js.stripe.com/v3/"></script>
</body>
</html>