Yaswanth56 commited on
Commit
f746ccc
·
verified ·
1 Parent(s): 0c294aa

Create rewards_below.html

Browse files
flask-salesforce-app/templates/rewards_below.html ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>Rewards</title>
7
+ <link rel="stylesheet" href="/static/styles.css">
8
+ </head>
9
+ <body>
10
+ <div class="form-container">
11
+ <h1>Reward Points</h1>
12
+ <p>Available Points: <strong>{{ points }}</strong></p>
13
+ <p>You have less than 500 points. You cannot apply rewards, but you will earn points for your next purchase!</p>
14
+ <form action="/apply_rewards" method="POST">
15
+ <input type="hidden" name="customer_id" value="{{ customer_id }}">
16
+ <label for="bill_amount">Enter Bill Amount:</label>
17
+ <input type="number" name="bill_amount" id="bill_amount" required>
18
+ <button type="submit">Proceed</button>
19
+ </form>
20
+ </div>
21
+ </body>
22
+ </html>