Spaces:
Sleeping
Sleeping
Update templates/rewards.html
Browse files- templates/rewards.html +2 -21
templates/rewards.html
CHANGED
|
@@ -10,27 +10,8 @@
|
|
| 10 |
|
| 11 |
<div class="rewards-container">
|
| 12 |
<h1>Your Reward Points</h1>
|
| 13 |
-
<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>
|
| 35 |
|
| 36 |
</body>
|
|
|
|
| 10 |
|
| 11 |
<div class="rewards-container">
|
| 12 |
<h1>Your Reward Points</h1>
|
| 13 |
+
<p>You have <strong>{{ points }}</strong> reward points.</p>
|
| 14 |
+
<a href="/apply_rewards" class="apply-rewards-link">Apply Rewards</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
</div>
|
| 16 |
|
| 17 |
</body>
|