testing_1 / templates /rewards.html
Yaswanth56's picture
Update templates/rewards.html
fefa689 verified
raw
history blame
1.1 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rewards</title>
<link rel="stylesheet" href="/static/styles.css">
</head>
<body>
<div class="rewards-container">
<h1>Your Reward Points</h1>
<p class="reward-details">You currently have <strong>{{ points }}</strong> reward points!</p>
<!-- Display remaining details after login -->
{% if total_bill %}
<p class="reward-details">Total Bill: <strong>${{ total_bill }}</strong></p>
{% endif %}
{% if discount %}
<p class="reward-details">Discount: <strong>${{ discount }}</strong></p>
{% endif %}
{% if gst %}
<p class="reward-details">GST: <strong>${{ gst }}</strong></p>
{% endif %}
{% if final_bill %}
<p class="reward-details">Final Bill: <strong>${{ final_bill }}</strong></p>
{% endif %}
<button class="reward-button">Use Your Rewards 🍽️</button>
</div>
</body>
</html>