Update templates/apply_rewards.html
Browse files- templates/apply_rewards.html +12 -26
templates/apply_rewards.html
CHANGED
|
@@ -3,35 +3,21 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>
|
| 7 |
<link rel="stylesheet" href="/static/styles.css">
|
| 8 |
</head>
|
| 9 |
<body>
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
<
|
| 13 |
-
<
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
<td>${{ discount }}</td>
|
| 21 |
-
</tr>
|
| 22 |
-
<tr>
|
| 23 |
-
<td>GST (18%):</td>
|
| 24 |
-
<td>${{ gst }}</td>
|
| 25 |
-
</tr>
|
| 26 |
-
<tr>
|
| 27 |
-
<td>Final Bill Amount:</td>
|
| 28 |
-
<td>${{ final_bill }}</td>
|
| 29 |
-
</tr>
|
| 30 |
-
<tr>
|
| 31 |
-
<td>Remaining Reward Points:</td>
|
| 32 |
-
<td>{{ updated_points }}</td>
|
| 33 |
-
</tr>
|
| 34 |
-
</table>
|
| 35 |
</div>
|
|
|
|
| 36 |
</body>
|
| 37 |
</html>
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Apply Rewards</title>
|
| 7 |
<link rel="stylesheet" href="/static/styles.css">
|
| 8 |
</head>
|
| 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>
|
| 23 |
</html>
|