-
-
+{% endblock %}
\ No newline at end of file
diff --git a/templates/display_cit.html b/templates/display_cit.html
index 77aab11..7c700bb 100644
--- a/templates/display_cit.html
+++ b/templates/display_cit.html
@@ -1,122 +1,18 @@
-
-
+{% extends "base.html" %}
-
-
-
CIT Records
-
-
-
-
+{% block content %}
+
+
+
-
-
β Back to Dashboard
-
-
-
CIT Records π§Ύ
-
β Add New Record
+
CIT Recordsπ§Ύ
+
{% if cit_records %}
@@ -133,14 +29,13 @@
{% for record in cit_records %}
- {{ record.year }}
+ AY {{ record.year }}-{{ record.year+1 }}
{{ "{:,.2f}".format(record.gross_total_income) }}
{{ "{:,.2f}".format(record.net_taxable_income) }}
{{ "{:,.2f}".format(record.total_tax_payable) }}
{{ "{:,.2f}".format(record.refund) }}
Edit
-
Delete
@@ -151,10 +46,16 @@
+
{% else %}
-
No records found. Click the button above to add one!
+
+ No records found. Click the button above to add one!
+
{% endif %}
-
+
+{% endblock %}
-
\ No newline at end of file
+{% block scripts %}
+
+{% endblock %}
\ No newline at end of file
diff --git a/templates/display_itat.html b/templates/display_itat.html
index 51f10e7..37c7245 100644
--- a/templates/display_itat.html
+++ b/templates/display_itat.html
@@ -1,169 +1,75 @@
-
-
+{% extends "base.html" %}
-
-
-
ITAT Records
-
-
-
-
+{% block content %}
+
-
-
β Back to Dashboard
+
Income Tax Appellate Tribunal Records π
+
-
ITAT Records π
-
β Add New Record
+
β Add New Record
- {% with messages = get_flashed_messages(with_categories=true) %}
- {% if messages %}
- {% for category, message in messages %}
-
{{ message }}
- {% endfor %}
- {% endif %}
- {% endwith %}
+
+ {% with messages = get_flashed_messages(with_categories=true) %}
+ {% if messages %}
+ {% for category, message in messages %}
+
{{ message }}
+ {% endfor %}
+ {% endif %}
+ {% endwith %}
- {% if records %}
-
-
-
-
- Year
- MAT Tax Credit
- Surcharge
- Cess
- Total Credit
- Actions
-
-
-
- {% for record in records %}
-
- {{ record.year }}
- {{ "{:,.2f}".format(record.mat_tax_credit) }}
- {{ "{:,.2f}".format(record.surcharge) }}
- {{ "{:,.2f}".format(record.cess) }}
- {{ "{:,.2f}".format(record.total_credit) }}
-
- Edit
+
+ {% if records %}
+
+
+
+
+ Year
+ MAT Tax Credit
+ Surcharge
+ Cess
+ Total Credit
+ Actions
+
+
+
+ {% for record in records %}
+
+ AY {{ record.year }}-{{ record.year+1 }}
+ {{ "{:,.2f}".format(record.mat_tax_credit) }}
+ {{ "{:,.2f}".format(record.surcharge) }}
+ {{ "{:,.2f}".format(record.cess) }}
+ {{ "{:,.2f}".format(record.total_credit) }}
+
+ Edit
+
+
+ Delete
+
+
+
+ {% endfor %}
+
+
+
+
+ {% else %}
+ No ITAT records found. Click the button above to add one!
+ {% endif %}
-
- Delete
-
-
-
- {% endfor %}
-
-
- {% else %}
-
No ITAT records found. Click the button above to add one!
- {% endif %}
-
+ {% endblock %}
-
\ No newline at end of file
+ {% block scripts %}
+
+ {% endblock %}
\ No newline at end of file
diff --git a/templates/display_itr.html b/templates/display_itr.html
index 6087ea8..85beb5f 100644
--- a/templates/display_itr.html
+++ b/templates/display_itr.html
@@ -1,159 +1,56 @@
-
-
+{% extends "base.html" %}
-
-
-
ITR Records
-
-
-
-
-
-
-
β Back to Dashboard
-
-
Income Tax Return Records π§Ύ
+
Income Tax Return Records π§Ύ
+
β Add New Record
-
- {% if records %}
-
-
-
-
- Year
- Gross Total Income
- Net Taxable Income
- Total Tax Payable
- Refund
- Actions
-
-
-
- {% for record in records %}
-
- {{ record.year }}
- {{ "{:,.2f}".format(record.gross_total_income) }}
- {{ "{:,.2f}".format(record.net_taxable_income) }}
- {{ "{:,.2f}".format(record.total_tax_payable) }}
- {{ "{:,.2f}".format(record.refund) }}
-
- Edit
-
-
- Delete
-
-
-
- {% endfor %}
-
-
-
- {% else %}
-
No records found. Click the button above to add one!
- {% endif %}
-
-
\ No newline at end of file
+ {% if records %}
+
+
+
+
+ Year
+ Gross Total Income
+ Net Taxable Income
+ Total Tax Payable
+ Refund
+ Actions
+
+
+
+ {% for record in records %}
+
+ AY {{ record.year }}-{{record.year+1}}
+ {{ "{:,.2f}".format(record.gross_total_income) }}
+ {{ "{:,.2f}".format(record.net_taxable_income) }}
+ {{ "{:,.2f}".format(record.total_tax_payable) }}
+ {{ "{:,.2f}".format(record.refund) }}
+
+ Edit
+
+ Delete
+
+
+
+ {% endfor %}
+
+
+
+ {% else %}
+
+ No records found. Click the button above to add one!
+
+ {% endif %}
+
+{% endblock %}
\ No newline at end of file
diff --git a/templates/index.html b/templates/index.html
index a1ce37a..948d9f3 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,146 +1,12 @@
-
-
+{% extends "base.html" %}
-
-
-
Dashboard | Income Tax Utilities
-
-
-
-
-
-
-
-
-
-
ITR (Income Tax Return)
-
-
-
-
-
AO (Assessing Officer)
-
-
-
-
-
CIT (Commissioner of Income Tax)
-
-
-
-
-
ITAT (Income Tax Appellate Tribunal)
-
-
-
-
-
Documents & Reports π
-
-
-
-
-
-
\ No newline at end of file
+{% block content %}
+
+
+
+ Welcome to Income Tax Utilities Dashboard
+
+
+{% endblock %}
diff --git a/templates/itat_reports.html b/templates/itat_reports.html
index 7126daf..f10600f 100644
--- a/templates/itat_reports.html
+++ b/templates/itat_reports.html
@@ -1,83 +1,41 @@
-
-
+{% extends "base.html" %}
-
-
Download ITAT Reports
-
-
-
-
-
-
+{% block content %}
+
-
-
β Back to Dashboard
-
Download ITAT Report
+
- Select Year:
-
+ Select Year:
+
-- Select Year --
{% for y in years %}
-
- AY {{ y }}-{{y +1 }}
+ AY {{ y }} - {{ y + 1 }}
{% endfor %}
-
- Download Excel
-
-
-
-
\ No newline at end of file
+
+
+
Download Excel
+
+
+
+
+
+{% block scripts %}
+
+
+{% endblock %}
+
+{% block extra_js %}
+{% endblock %}
+{% endblock %}
diff --git a/templates/itr_reports.html b/templates/itr_reports.html
index 80fd396..2628a9c 100644
--- a/templates/itr_reports.html
+++ b/templates/itr_reports.html
@@ -1,82 +1,42 @@
-
-
+{% extends "base.html" %}
-
-
Download ITR Reports
-
-
-
-
-
+{% block content %}
+
-
-
β Back to Dashboard
-
Download ITR Report
+
- Select Year:
-
+ Select Year:
-- Select Year --
{% for y in years %}
-
- AY {{ y }}-{{y +1 }}
+ AY {{ y }} - {{ y + 1 }}
{% endfor %}
-
- Download Excel
-
-
-
-
\ No newline at end of file
+
+
+
+ Download Excel
+
+
+
+
+
+
+{% block scripts %}
+
+
+{% endblock %}
+
+{% block extra_js %}
+{% endblock %}
+{% endblock %}
diff --git a/templates/login.html b/templates/login.html
new file mode 100644
index 0000000..db9b763
--- /dev/null
+++ b/templates/login.html
@@ -0,0 +1,85 @@
+
+
+
+
+
LCEPL Income Tax
+
+
+
+
+
Laxmi Civil Engineering Services
+
LOGIN
+
+ {% with messages = get_flashed_messages(with_categories=true) %} {% if
+ messages %} {% for category, message in messages %}
+
{{ message }}
+ {% endfor %} {% endif %} {% endwith %}
+
+
+
+
+ Login
+
+
+
+
diff --git a/templates/reports.html b/templates/reports.html
index 07a88cc..986c871 100644
--- a/templates/reports.html
+++ b/templates/reports.html
@@ -1,154 +1,19 @@
-
-
+{% extends "base.html" %}
-
-
Reports Of Stages
-
-
-
-
-
+{% block title %}Reports Of Stages{% endblock %}
+{% block extra_css %}
+
+{% endblock %}
+{% block content %}
+
-
-
-
\ No newline at end of file
+
+{% endblock %}
diff --git a/templates/stage_reports.html b/templates/stage_reports.html
index c743c4b..4fd933f 100644
--- a/templates/stage_reports.html
+++ b/templates/stage_reports.html
@@ -128,7 +128,7 @@
-
β Back to Dashboard
+
{{ stage }} Reports
diff --git a/templates/summary_reports.html b/templates/summary_reports.html
index 311d7d8..7238a5c 100644
--- a/templates/summary_reports.html
+++ b/templates/summary_reports.html
@@ -1,90 +1,17 @@
-
-
+{% extends "base.html" %}
-
-
Download Summary Report
-
-
-
-
+{% block content %}
+
-
-
β Back to Dashboard
+
+
Download Year-wise Summary Report
@@ -93,18 +20,24 @@
{% endif %}
- Select Year:
+ Select Year:
-- Select Year --
{% for year in years %}
-
- AY {{ year }}-{{year +1 }}
-
+ AY {{ year }}-{{ year + 1 }}
{% endfor %}
+
Download Summary Report
-
-
-
\ No newline at end of file
+
+
+{% block scripts %}
+
+
+{% endblock %}
+
+{% block extra_js %}
+{% endblock %}
+{% endblock %}
diff --git a/templates/update_ao.html b/templates/update_ao.html
index 942f0bf..d75558b 100644
--- a/templates/update_ao.html
+++ b/templates/update_ao.html
@@ -1,28 +1,48 @@
-
-
+{% extends "base.html" %}
-
-
-
Update AO Record
-
+{% block title %}Update AO Record{% endblock %}
-
+{% block extra_css %}
+
+{% endblock %}
-
+{% block content %}
+
+{% endblock %}
-
\ No newline at end of file
+{% block extra_js %}
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/templates/update_cit.html b/templates/update_cit.html
index 881fec8..2953221 100644
--- a/templates/update_cit.html
+++ b/templates/update_cit.html
@@ -1,26 +1,49 @@
-
-
+{% extends "base.html" %}
-
-
-
Update CIT Record
-
-
+{% block title %}Update CIT Record{% endblock %}
-
-
-
-
β Back to Dashboard
+{% block extra_css %}
+
+{% endblock %}
-
Update CIT Record for Year {{ record.year }}
-
- {% for field in record.keys() if field != 'id' %}
- {{ field.replace("_", " ").title() }}:
-
- {% endfor %}
- Update Record
-
-
-
+{% block content %}
-
\ No newline at end of file
+
+
+
Update CIT Record for AY {{ record.year }}
+
+
+
+ Year:
+
+
+ {% for field in record.keys() if field not in ['id', 'year'] %}
+ {{ field.replace("_", " ").title() }}:
+
+ {% endfor %}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Update Record
+
+
+
+
+
+{% endblock %}
+
+{% block extra_js %}
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/templates/update_itat.html b/templates/update_itat.html
index 148b25e..21f80d8 100644
--- a/templates/update_itat.html
+++ b/templates/update_itat.html
@@ -1,36 +1,41 @@
-
-
+{% extends "base.html" %}
+{% block title %}Update ITAT Record{% endblock %}
+{% block extra_css %}
+
+
+{% endblock %}
+{% block content %}
-
-
Update ITAT Record
-
-
+
-
-
-
+
Total Credit:
+
-
\ No newline at end of file
+
Update Record
+
+
+
+
+{% endblock %}
+
+{% block extra_js %}
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/templates/update_itr.html b/templates/update_itr.html
index f88c57d..6ec2025 100644
--- a/templates/update_itr.html
+++ b/templates/update_itr.html
@@ -1,26 +1,48 @@
-
-
+{% extends "base.html" %}
-
-
-
Update ITR Record
-
+{% block title %}Update ITR Record{% endblock %}
-
+{% block extra_css %}
+
+{% endblock %}
-
+{% block content %}
+
+
+{% endblock %}
+
+{% block extra_js %}
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/templates/upload.html b/templates/upload.html
index 8e1e2ec..4e3a475 100644
--- a/templates/upload.html
+++ b/templates/upload.html
@@ -1,42 +1,47 @@
-
-
+{% extends "base.html" %}
-
-
-
-
β Back to Dashboard
-
Upload Income Tax Documents
-
-
-
- Year:
-
-
-
- Stage:
-
- ITR
- AO
- CIT
- ITAT
-
-
- Select Documents:
+
+
+ Year:
+
+
+
+
+ Stage:
+
+ ITR
+ AO
+ CIT
+ ITAT
+
+
+ Select Documents:
Upload
-
-
-
\ No newline at end of file
+
+
+{% endblock %}
+
+{% block scripts %}
+
+
+{% endblock %}
+
+{% block extra_js %}
+
+{% endblock %}
\ No newline at end of file
diff --git a/templates/view_docs.html b/templates/view_docs.html
index aebdae5..eef5833 100644
--- a/templates/view_docs.html
+++ b/templates/view_docs.html
@@ -1,148 +1,25 @@
-
-
+{% extends "base.html" %}
-
-
-
-
β Back to Dashboard
-
Document Records
+
Filter by Year:
All
{% for y in years %}
- {{ y }}
+ AY {{ y }}-{{ y+1 }}
{% endfor %}
@@ -158,6 +35,7 @@
Apply
+
@@ -170,22 +48,33 @@
View
+
{% for doc in documents %}
{{ doc.filename }}
{{ doc.filetype }}
{{ doc.stage }}
- {{ doc.year }}
+ AY {{ doc.year }}-{{ doc.year +1 }}
{{ doc.uploaded_at }}
- Download
- View
+
+
+
+ Download
+
+
+
+
+
+ View
+
+
{% endfor %}
-
-
-
\ No newline at end of file
+
+
+
+{% endblock %}
\ No newline at end of file