rewards_app / templates /rewards_below.html
Yaswanth56's picture
Rename flask-salesforce-app/templates/rewards_below.html to templates/rewards_below.html
4a66d96 verified
raw
history blame contribute delete
855 Bytes
<!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="form-container">
<h1>Reward Points</h1>
<p>Available Points: <strong>{{ points }}</strong></p>
<p>You have less than 500 points. You cannot apply rewards, but you will earn points for your next purchase!</p>
<form action="/apply_rewards" method="POST">
<input type="hidden" name="customer_id" value="{{ customer_id }}">
<label for="bill_amount">Enter Bill Amount:</label>
<input type="number" name="bill_amount" id="bill_amount" required>
<button type="submit">Proceed</button>
</form>
</div>
</body>
</html>