Yaswanth56 commited on
Commit
53bddd1
·
verified ·
1 Parent(s): ba90fc5

Update templates/apply_rewards.html

Browse files
Files changed (1) hide show
  1. templates/apply_rewards.html +24 -8
templates/apply_rewards.html CHANGED
@@ -9,14 +9,30 @@
9
  <body>
10
 
11
  <div class="apply-rewards-container">
12
- <h1>Apply Your Rewards</h1>
13
- <p class="apply-rewards-details">Total Bill: <strong>${{ original_bill }}</strong></p>
14
- <p class="apply-rewards-details">Discount: <strong>${{ discount }}</strong></p>
15
- <p class="apply-rewards-details">GST: <strong>${{ gst }}</strong></p>
16
- <p class="apply-rewards-details">Final Bill: <strong>${{ final_bill }}</strong></p>
17
-
18
- <button class="apply-rewards-button">Confirm Payment 🍽️</button>
19
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  </div>
21
 
22
  </body>
 
9
  <body>
10
 
11
  <div class="apply-rewards-container">
12
+ <h1>Bill Summary</h1>
13
+ <p>{{ message }}</p>
14
+ <table>
15
+ <tr>
16
+ <td>Original Bill Amount:</td>
17
+ <td>${{ original_bill }}</td>
18
+ </tr>
19
+ <tr>
20
+ <td>Discount:</td>
21
+ <td>${{ discount }}</td>
22
+ </tr>
23
+ <tr>
24
+ <td>GST (18%):</td>
25
+ <td>${{ gst }}</td>
26
+ </tr>
27
+ <tr>
28
+ <td>Final Bill Amount:</td>
29
+ <td>${{ final_bill }}</td>
30
+ </tr>
31
+ <tr>
32
+ <td>Remaining Reward Points:</td>
33
+ <td>{{ updated_points }}</td>
34
+ </tr>
35
+ </table>
36
  </div>
37
 
38
  </body>