Files
IncomeTaxSystem/templates/update_ao.html

34 lines
1.1 KiB
HTML
Raw Normal View History

{% extends "base.html" %}
2025-11-30 20:38:41 +05:30
{% block title %}Update AO Record{% endblock %}
2025-11-30 20:38:41 +05:30
{% block extra_css %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/add_ao.css') }}">
{% endblock %}
2025-11-30 20:38:41 +05:30
{% block content %}
<div class="main">
2025-11-30 16:24:49 +05:30
<div class="container">
2025-11-30 20:38:41 +05:30
<h2>Update AO Record for Year {{ record.year }}</h2>
2025-11-30 20:38:41 +05:30
<form method="POST" action="{{ url_for('update_ao', id=record.id) }}">
<label for="year">Year:</label>
<input type="text" id="year" name="year" value="{{ record.year }}" readonly class="readonly-field">
{% for field in record.keys() if field not in ['id', 'year', 'remarks'] %}
<label for="{{ field }}">{{ field.replace("_", " ").title() }}:</label>
<input type="number" id="{{ field }}" name="{{ field }}" step="any" value="{{ record[field] }}" required>
2025-11-30 20:38:41 +05:30
{% endfor %}
<label for="Remarks">Remarks:</label>
<input type="text" id="Remarks" name="Remarks" value="{{ record.remarks}}">
2025-11-30 20:38:41 +05:30
<button type="submit">Update Record</button>
2025-11-30 20:38:41 +05:30
</form>
2025-11-30 16:24:49 +05:30
</div>
</div>
{% endblock %}