modification of report, froms, models
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<h2 style="text-align:center;">New AO Form</h2>
|
||||
<h2 style="text-align:center;">New Assessing Officer(AO) Form</h2>
|
||||
<form id="ao" method="POST" enctype="multipart/form-data">
|
||||
<input type="hidden" name="stage" value="ao">
|
||||
<div class="form-group full-width inline-2">
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<h2 style="text-align:center;">New Income Tax Appellate Tribunal Form</h2>
|
||||
<h2 style="text-align:center;">New Income Tax Appellate Tribunal(ITAT) Form</h2>
|
||||
<form id="itat" method="POST" enctype="multipart/form-data" onsubmit="return showSuccessMessage()">
|
||||
<input type="hidden" name="stage" value="itr">
|
||||
<div class="form-group full-width inline-2">
|
||||
|
||||
@@ -172,7 +172,7 @@
|
||||
|
||||
<div class="form-group full-width inline-2">
|
||||
<div>
|
||||
<label>Less :Mat Credit Created:</label>
|
||||
<label>Add :Mat Credit Created:</label>
|
||||
<input type="number" name="mat_credit_created" step="any" value="0.00" oninput="calculate()" required>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<h2>Download AO Report</h2>
|
||||
<h2>Download Assessing Officer(AO) Report</h2>
|
||||
<form method="GET" action="{{ url_for('ao_report') }}" target="_blank">
|
||||
<label for="year">Select Year:</label><br>
|
||||
<select name="year" id="year" required>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<h2 style="text-align: center;">Assessing Officer Records 👨💼</h2>
|
||||
<h2 style="text-align: center;">Assessing Officer(AO) Records 👨💼</h2>
|
||||
<!-- 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>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<h2 style="text-align: center;">Income Tax Appellate Tribunal Records 📄</h2>
|
||||
<h2 style="text-align: center;">Income Income Tax Appellate Tribunal(ITAT) Records 📄</h2>
|
||||
<div style="text-align: right; margin-bottom: 10px;">
|
||||
|
||||
<a href="{{ url_for('add_itat') }}" class="btn btn-add">➕ Add New Record</a>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<h2>Download ITAT Report</h2>
|
||||
<h2>Download Income Tax Appellate Tribunal(ITAT) Report</h2>
|
||||
<form method="GET" action="{{ url_for('itat_report') }}" target="_blank">
|
||||
<label for="year">Select Year:</label><br>
|
||||
<select name="year" id="year" required>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<h2>Download ITR Report</h2>
|
||||
<h2>Download Income Tax Return(ITR) Report</h2>
|
||||
<form method="GET" action="{{ url_for('itr_report') }}" target="_blank">
|
||||
<label for="year">Select Year:</label><br>
|
||||
<select name="year" id="year" required>
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
<tr id="tableHeader">
|
||||
<th>AY</th>
|
||||
<th>MAT Credit</th>
|
||||
<th>Opening balance</th>
|
||||
|
||||
{% for y in added_years %}
|
||||
<th>Utilized {{ y }}</th>
|
||||
@@ -44,6 +45,7 @@
|
||||
<tr>
|
||||
<td contenteditable="false">{{ row.financial_year }}-{{ row.financial_year | int + 1 }}</td>
|
||||
<td><input value="{{ row.mat_credit }}"></td>
|
||||
<td><input value="{{ row.opening_balance }}"></td>
|
||||
|
||||
{% for y in added_years %}
|
||||
<td>
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
<div class="container">
|
||||
<h2>Reports</h2>
|
||||
<ul>
|
||||
<li><a href="{{ url_for('itr_report') }}">→ View ITR Reports</a></li>
|
||||
<li><a href="{{ url_for('ao_report') }}">→ View AO Reports</a></li>
|
||||
<li><a href="{{ url_for('itr_report') }}">→ View Income Tax Return(ITR) Reports</a></li>
|
||||
<li><a href="{{ url_for('ao_report') }}">→ View Assessing Officer(AO) Reports</a></li>
|
||||
<li><a href="{{ url_for('cit_report') }}">→ View CIT Reports</a></li>
|
||||
<li><a href="{{ url_for('itat_report') }}">→ View ITAT Reports</a></li>
|
||||
<li><a href="{{ url_for('itat_report') }}">→ View Income Tax Appellate Tribunal(ITAT) Reports</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -1,169 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>{{ stage }} Reports</title>
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='index.css') }}">
|
||||
<style>
|
||||
body {
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
background-color: #f0f2f5;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 960px;
|
||||
margin: 40px auto;
|
||||
padding: 30px;
|
||||
background-color: #fff;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: #333;
|
||||
text-align: center;
|
||||
margin-bottom: 30px;
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
form {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 15px;
|
||||
margin-bottom: 30px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
label {
|
||||
font-weight: 600;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
select {
|
||||
padding: 8px 14px;
|
||||
font-size: 16px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 6px;
|
||||
outline: none;
|
||||
transition: border 0.2s;
|
||||
}
|
||||
|
||||
select:focus {
|
||||
border-color: #007bff;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin-top: 20px;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
padding: 12px;
|
||||
border: 1px solid #ddd;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
th {
|
||||
background-color: #007bff;
|
||||
color: white;
|
||||
}
|
||||
|
||||
tr:nth-child(even) td {
|
||||
background-color: #f9fbfc;
|
||||
}
|
||||
|
||||
tr:hover td {
|
||||
background-color: #eef5ff;
|
||||
}
|
||||
|
||||
.btn-download {
|
||||
background-color: #28a745;
|
||||
color: white;
|
||||
border: none;
|
||||
padding: 7px 14px;
|
||||
border-radius: 5px;
|
||||
text-decoration: none;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.btn-download:hover {
|
||||
background-color: #218838;
|
||||
}
|
||||
|
||||
.no-data {
|
||||
text-align: center;
|
||||
color: #777;
|
||||
font-size: 16px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
|
||||
<h2>{{ stage }} Reports</h2>
|
||||
|
||||
<form method="GET">
|
||||
<input type="hidden" name="stage" value="{{ stage }}">
|
||||
<label for="year">Select Year:</label>
|
||||
<select name="year" id="year" onchange="this.form.submit()">
|
||||
<option value="">-- All Years --</option>
|
||||
{% for y in years %}
|
||||
<option value="{{ y }}" {% if y==request.args.get('year') %}selected{% endif %}>{{ y }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</form>
|
||||
|
||||
{% if documents %}
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Year</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for doc in documents %}
|
||||
<tr>
|
||||
<td>{{ doc.year }}</td>
|
||||
<td>
|
||||
<a class="btn-download" href="{{ url_for('download_report', doc_id=doc.id) }}">Download</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% else %}
|
||||
<p class="no-data">No reports found for this selection.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<h2>Update AO Record for Year {{ record.year }} - {{ record.year + 1 }}</h2>
|
||||
<h2>Update Assessing Officer(AO) Record for Year {{ record.year }} - {{ record.year + 1 }}</h2>
|
||||
<form method="POST" action="{{ url_for('update_ao', id=record.id) }}">
|
||||
<div class="form-group full-width inline-2">
|
||||
<div>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
{% block content %}
|
||||
|
||||
<div class="container">
|
||||
<h2>Update ITAT Record for Year {{ record.year }}</h2>
|
||||
<h2>Update Income Tax Appellate Tribunal(ITAT) Record for Year {{ record.year }}</h2>
|
||||
<form method="POST" action="{{ url_for('update_itat', id=record.id) }}">
|
||||
<div class="form-group full-width inline-2">
|
||||
<div>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<h2>Update ITR Record for Year {{record.year}} - {{record.year+1}}</h2>
|
||||
<h2>Update Income Tax Return (ITR) Record for Year {{record.year}} - {{record.year+1}}</h2>
|
||||
<form method="POST" action="{{ url_for('update_itr', id=record.id) }}">
|
||||
<div class="form-group full-width inline-2">
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user