Files
IncomeTaxSystem/templates/summary_reports.html

110 lines
2.6 KiB
HTML
Raw Normal View History

2025-09-18 11:33:28 +05:30
<!DOCTYPE html>
<html>
2025-09-18 11:33:28 +05:30
<head>
<title>Download Summary Report</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
background-color: white;
padding: 30px 40px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
text-align: center;
}
h2 {
margin-bottom: 20px;
color: #333;
}
form {
margin-top: 20px;
}
label {
font-weight: bold;
margin-right: 10px;
}
select {
padding: 8px 12px;
border: 1px solid #ccc;
border-radius: 5px;
margin-right: 10px;
}
button {
padding: 10px 16px;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
button:hover {
background-color: #0056b3;
}
.message {
color: rgb(0, 0, 0);
2025-09-18 11:33:28 +05:30
margin-top: 15px;
}
/* Back button styling */
.back-btn {
display: inline-block;
margin-bottom: 20px;
padding: 10px 18px;
background: #6c757d;
color: white;
font-size: 15px;
font-weight: 600;
border-radius: 6px;
text-decoration: none;
transition: background 0.3s ease;
}
.back-btn:hover {
background: #5a6268;
}
2025-09-18 11:33:28 +05:30
</style>
</head>
2025-09-18 11:33:28 +05:30
<body>
<div class="container">
<!-- Back to Dashboard Button -->
<a href="{{ url_for('index') }}" class="back-btn">← Back to Dashboard</a>
2025-09-18 11:33:28 +05:30
<h2>Download Year-wise Summary Report</h2>
{% if message %}
<p class="message">{{ message }}</p>
2025-09-18 11:33:28 +05:30
{% endif %}
<form method="GET" action="{{ url_for('summary_report') }}">
<label for="year">Select Year:</label>
<select name="year" id="year" required>
<option value="">-- Select Year --</option>
{% for year in years %}
<!-- <option value="{{ year }}">{{ year }}</option> -->
<option value="{{ year }}">AY {{ year }}-{{year +1 }}</option>
2025-09-18 11:33:28 +05:30
{% endfor %}
</select>
<button type="submit">Download Summary Report</button>
</form>
</div>
</body>
2025-09-18 11:33:28 +05:30
</html>