Files
IncomeTaxSystem/templates/update_cit.html

26 lines
854 B
HTML
Raw Normal View History

2025-11-30 16:24:49 +05:30
<!DOCTYPE html>
<html lang="en">
2025-12-03 10:49:31 +05:30
2025-11-30 16:24:49 +05:30
<head>
<meta charset="UTF-8">
<title>Update CIT Record</title>
<link rel="stylesheet" href="{{ url_for('static', filename='index.css') }}">
</head>
2025-12-03 10:49:31 +05:30
2025-11-30 16:24:49 +05:30
<body>
<div class="container">
<!-- Back to Dashboard Button -->
<a href="{{ url_for('index') }}" class="back-btn">← Back to Dashboard</a>
2025-11-30 16:24:49 +05:30
<h2>Update CIT Record for Year {{ record.year }}</h2>
<form method="POST" action="{{ url_for('update_cit', id=record.id) }}">
{% for field in record.keys() if field != 'id' %}
2025-12-03 10:49:31 +05:30
<label>{{ field.replace("_", " ").title() }}:</label>
<input type="number" name="{{ field }}" step="0.01" value="{{ record[field] }}" required>
2025-11-30 16:24:49 +05:30
{% endfor %}
<button type="submit">Update Record</button>
</form>
</div>
</body>
2025-12-03 10:49:31 +05:30
</html>