nagasurendra commited on
Commit
5618501
·
verified ·
1 Parent(s): 98312f8

Create customer_details.html

Browse files
Files changed (1) hide show
  1. templates/customer_details.html +29 -0
templates/customer_details.html ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Customer Details</title>
7
+ <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
8
+ </head>
9
+ <body>
10
+ <div class="container mt-4">
11
+ <h1>Customer Details</h1>
12
+
13
+ <div class="card">
14
+ <div class="card-body">
15
+ <h5 class="card-title">Customer Name: {{ customer.name }}</h5>
16
+ <p class="card-text"><strong>Email:</strong> {{ customer.email }}</p>
17
+ <p class="card-text"><strong>Phone:</strong> {{ customer.phone }}</p>
18
+ <p class="card-text"><strong>Referral Code:</strong> {{ customer.referral_code }}</p>
19
+ <p class="card-text"><strong>Reward Points:</strong> {{ customer.reward_points }}</p>
20
+
21
+ <!-- Edit Profile Button -->
22
+ <a href="/edit_customer" class="btn btn-primary">Edit Profile</a>
23
+ </div>
24
+ </div>
25
+ </div>
26
+
27
+ <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
28
+ </body>
29
+ </html>