2025-12-29 15:22:15 +05:30
|
|
|
|
{% extends "base.html" %}
|
2025-12-04 17:31:12 +05:30
|
|
|
|
|
2025-12-29 15:22:15 +05:30
|
|
|
|
{% block title %}AO Records{% endblock %}
|
2025-12-04 17:31:12 +05:30
|
|
|
|
|
2025-12-29 15:22:15 +05:30
|
|
|
|
{% block content %}
|
2025-12-04 17:31:12 +05:30
|
|
|
|
|
2025-12-29 15:22:15 +05:30
|
|
|
|
<!-- Load only display_itr CSS -->
|
2026-01-24 02:11:19 +05:30
|
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/display_model.css') }}">
|
2025-12-29 15:22:15 +05:30
|
|
|
|
<div class="container">
|
2025-12-04 17:31:12 +05:30
|
|
|
|
|
2025-12-29 15:22:15 +05:30
|
|
|
|
<h2 style="text-align: center;">Assessing Officer Records 👨💼</h2>
|
2025-12-04 17:31:12 +05:30
|
|
|
|
|
2025-12-29 15:22:15 +05:30
|
|
|
|
<!-- Add AO Record Button -->
|
|
|
|
|
|
<div style="text-align: right; margin-bottom: 10px;">
|
|
|
|
|
|
<a href="{{ url_for('add_ao') }}" class="btn btn-add">➕ Add AO Record</a>
|
|
|
|
|
|
</div>
|
2025-12-04 17:31:12 +05:30
|
|
|
|
|
|
|
|
|
|
{% if ao_records %}
|
|
|
|
|
|
<div class="table-wrapper">
|
2025-12-29 15:22:15 +05:30
|
|
|
|
<table>
|
|
|
|
|
|
<thead>
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
<th>Year</th>
|
|
|
|
|
|
<th>Gross Total Income</th>
|
|
|
|
|
|
<th>Net Taxable Income</th>
|
|
|
|
|
|
<th>Total Tax</th>
|
|
|
|
|
|
<th>Actions</th>
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
</thead>
|
|
|
|
|
|
<tbody>
|
|
|
|
|
|
{% for ao in ao_records %}
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
<td>AY {{ ao.year }}-{{ ao.year+1 }}</td>
|
|
|
|
|
|
<td>{{ ao.gross_total_income }}</td>
|
|
|
|
|
|
<td>{{ ao.net_taxable_income }}</td>
|
|
|
|
|
|
<td>{{ ao.total_tax }}</td>
|
|
|
|
|
|
<td>
|
|
|
|
|
|
<a href="{{ url_for('update_ao', id=ao.id) }}" class="btn btn-update">Edit</a>
|
|
|
|
|
|
|
|
|
|
|
|
<form action="{{ url_for('delete_ao', id=ao.id) }}" method="POST" style="display:inline">
|
|
|
|
|
|
<button class="btn btn-delete" onclick="return confirm('Are you sure?');">Delete</button>
|
|
|
|
|
|
</form>
|
|
|
|
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
{% endfor %}
|
|
|
|
|
|
</tbody>
|
|
|
|
|
|
</table>
|
2025-11-30 16:24:49 +05:30
|
|
|
|
</div>
|
2025-12-04 17:31:12 +05:30
|
|
|
|
{% else %}
|
2025-12-29 15:22:15 +05:30
|
|
|
|
<p style="text-align: center; margin-top: 20px;" class="no-record">No AO records found.</p>
|
2025-12-04 17:31:12 +05:30
|
|
|
|
{% endif %}
|
2025-12-29 15:22:15 +05:30
|
|
|
|
</div>
|
|
|
|
|
|
{% endblock %}
|