Yaswanth56 commited on
Commit
fefa689
·
verified ·
1 Parent(s): 39a8d8e

Update templates/rewards.html

Browse files
Files changed (1) hide show
  1. templates/rewards.html +17 -0
templates/rewards.html CHANGED
@@ -12,6 +12,23 @@
12
  <h1>Your Reward Points</h1>
13
  <p class="reward-details">You currently have <strong>{{ points }}</strong> reward points!</p>
14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  <button class="reward-button">Use Your Rewards 🍽️</button>
16
 
17
  </div>
 
12
  <h1>Your Reward Points</h1>
13
  <p class="reward-details">You currently have <strong>{{ points }}</strong> reward points!</p>
14
 
15
+ <!-- Display remaining details after login -->
16
+ {% if total_bill %}
17
+ <p class="reward-details">Total Bill: <strong>${{ total_bill }}</strong></p>
18
+ {% endif %}
19
+
20
+ {% if discount %}
21
+ <p class="reward-details">Discount: <strong>${{ discount }}</strong></p>
22
+ {% endif %}
23
+
24
+ {% if gst %}
25
+ <p class="reward-details">GST: <strong>${{ gst }}</strong></p>
26
+ {% endif %}
27
+
28
+ {% if final_bill %}
29
+ <p class="reward-details">Final Bill: <strong>${{ final_bill }}</strong></p>
30
+ {% endif %}
31
+
32
  <button class="reward-button">Use Your Rewards 🍽️</button>
33
 
34
  </div>