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 %}ITAT Records{% endblock %}
|
2025-12-04 17:31:12 +05:30
|
|
|
|
|
2025-12-29 15:22:15 +05:30
|
|
|
|
<!-- Load page-specific CSS -->
|
|
|
|
|
|
{% block extra_css %}
|
|
|
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/display_itat.css') }}">
|
|
|
|
|
|
{% endblock %}
|
2025-12-04 17:31:12 +05:30
|
|
|
|
|
2025-12-29 15:22:15 +05:30
|
|
|
|
{% block content %}
|
|
|
|
|
|
<div class="main">
|
2025-11-30 16:24:49 +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;">Income Tax Appellate Tribunal Records 📄</h2>
|
|
|
|
|
|
<div style="text-align: right; margin-bottom: 10px;">
|
|
|
|
|
|
|
|
|
|
|
|
<a href="{{ url_for('add_itat') }}" class="btn btn-add">➕ Add New Record</a>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- FLASH MESSAGES -->
|
|
|
|
|
|
{% with messages = get_flashed_messages(with_categories=true) %}
|
|
|
|
|
|
{% if messages %}
|
|
|
|
|
|
{% for category, message in messages %}
|
|
|
|
|
|
<div class="alert alert-{{ category }}">{{ message }}</div>
|
|
|
|
|
|
{% endfor %}
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
{% endwith %}
|
|
|
|
|
|
|
|
|
|
|
|
<!-- TABLE -->
|
|
|
|
|
|
{% if records %}
|
|
|
|
|
|
<div class="table-wrapper">
|
|
|
|
|
|
<table>
|
|
|
|
|
|
<thead>
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
<th>Year</th>
|
|
|
|
|
|
<th>MAT Tax Credit</th>
|
|
|
|
|
|
<th>Surcharge</th>
|
|
|
|
|
|
<th>Cess</th>
|
|
|
|
|
|
<th>Total Credit</th>
|
|
|
|
|
|
<th>Actions</th>
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
</thead>
|
|
|
|
|
|
<tbody>
|
|
|
|
|
|
{% for record in records %}
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
<td>AY {{ record.year }}-{{ record.year+1 }}</td>
|
2026-01-06 15:52:08 +05:30
|
|
|
|
<td>{{ "{:,.2f}".format(record.gross_total_income) }}</td>
|
|
|
|
|
|
<td>{{ "{:,.2f}".format(record.net_taxable_income) }}</td>
|
|
|
|
|
|
<td>{{ "{:,.2f}".format(record.total_tax_payable) }}</td>
|
2026-01-07 17:22:18 +05:30
|
|
|
|
<td>{{ "{:,.2f}".format(record.refund) }}</td>
|
2025-12-29 15:22:15 +05:30
|
|
|
|
|
|
|
|
|
|
<td class="action-cell">
|
|
|
|
|
|
<a href="{{ url_for('update_itat', id=record.id) }}" class="btn btn-update">Edit</a>
|
|
|
|
|
|
|
|
|
|
|
|
<form action="{{ url_for('delete_itat', id=record.id) }}" method="post"
|
|
|
|
|
|
onsubmit="return confirm('Are you sure you want to delete this record?');">
|
|
|
|
|
|
<button type="submit" class="btn btn-delete">Delete</button>
|
|
|
|
|
|
</form>
|
|
|
|
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
{% endfor %}
|
|
|
|
|
|
</tbody>
|
|
|
|
|
|
</table>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
|
|
<p class="no-record">No ITAT records found. Click the button above to add one!</p>
|
|
|
|
|
|
{% endif %}
|
2025-12-04 17:31:12 +05:30
|
|
|
|
|
|
|
|
|
|
</div>
|
2025-11-30 16:24:49 +05:30
|
|
|
|
</div>
|
2026-01-07 17:22:18 +05:30
|
|
|
|
</div>
|
|
|
|
|
|
{% endblock %}
|