diff --git a/static/js/ao_calc.js b/static/js/ao_calc.js new file mode 100644 index 0000000..e702fd9 --- /dev/null +++ b/static/js/ao_calc.js @@ -0,0 +1,93 @@ +document.addEventListener("DOMContentLoaded", function () { + + // All fields that must trigger calculation + const fields = [ + "gross_total_income", "disallowance_14a", "disallowance_37", + "deduction_80ia_business", "deduction_sec37_disallowance", "deduction_80g", + "net_taxable_income", "tax_30_percent", "tax_book_profit_18_5", + "surcharge_12", "edu_cess_3", "total_tax_payable", "mat_credit", + "interest_234c", "total_tax", "advance_tax", "tds", "tcs", + "tax_on_assessment", "refund" + ]; + + function getVal(id) { + return parseFloat(document.getElementsByName(id)[0].value) || 0; + } + + function setVal(id, value) { + document.getElementsByName(id)[0].value = Number(value).toFixed(2); + } + + function calculate() { + + // 1️ Base Values + let gross_total_income = getVal("gross_total_income"); + let disallowance_14a = getVal("disallowance_14a"); + let disallowance_37 = getVal("disallowance_37"); + + // 2️ Deductions + let d80_business = getVal("deduction_80ia_business"); + let deduction_sec37 = getVal("deduction_sec37_disallowance"); + let deduction_80g = getVal("deduction_80g"); + + // 3️ Formula: TOTAL DEDUCTION + let total_deductions = d80_business + deduction_sec37; + // (deduction_80ia_business + deduction_sec37_disallowance) + + // 4️ Net Taxable Income + let net_taxable_income = + (gross_total_income + disallowance_14a + disallowance_37) + - total_deductions + - deduction_80g; + + setVal("net_taxable_income", net_taxable_income); + + // 5️ Tax @ 30% + let tax_30_percent = net_taxable_income * 0.30; + setVal("tax_30_percent", tax_30_percent); + + // 6️ Book Profit – Tax Payable + let tax_payable = getVal("tax_book_profit_18_5"); + // (tax_payable = tax_book_profit_18_5) + + // 7️ Surcharge + let surcharge_12 = tax_30_percent * 0.12; + setVal("surcharge_12", surcharge_12); + + // 8️ Education Cess + let edu_cess_3 = (tax_30_percent + surcharge_12) * 0.03; + setVal("edu_cess_3", edu_cess_3); + + // 9️ Total Tax Payable + let total_tax_payable = tax_30_percent + surcharge_12 + edu_cess_3; + setVal("total_tax_payable", total_tax_payable); + + // MAT Credit & Interest + let mat_credit = getVal("mat_credit"); + let interest_234c = getVal("interest_234c"); + + // 1️1️ Total Tax + let total_tax = total_tax_payable + mat_credit + interest_234c; + setVal("total_tax", total_tax); + + // 1️2️ Assessment side – Advance Tax, TDS, TCS + let advance_tax = getVal("advance_tax"); + let tds = getVal("tds"); + let tcs = getVal("tcs"); + + let tax_on_assessment = advance_tax + tds + tcs; + setVal("tax_on_assessment", tax_on_assessment); + + // 1️3️ Refund / Payable + let refund = total_tax - tax_on_assessment; + setVal("refund", refund); + } + + // Attach input listeners + fields.forEach(id => { + let input = document.getElementsByName(id)[0]; + if (input) { + input.addEventListener("input", calculate); + } + }); +}); diff --git a/static/js/itr_calc.js b/static/js/itr_calc.js new file mode 100644 index 0000000..ee601c5 --- /dev/null +++ b/static/js/itr_calc.js @@ -0,0 +1,83 @@ +document.addEventListener("DOMContentLoaded", function () { + const fields = [ + "gross_total_income", "disallowance_14a", "disallowance_37", + "deduction_80ia_business", "deduction_80ia_misc", "deduction_80ia_other", + "deduction_sec37_disallowance", "deduction_80g", "net_taxable_income", + "tax_30_percent", "tax_book_profit_18_5", "tax_payable", "surcharge_12", + "edu_cess_3", "total_tax_payable", "mat_credit", "interest_234c", + "total_tax", "advance_tax", "tds", "tcs", "tax_on_assessment", "refund" + ]; + + function getValue(id) { + return parseFloat(document.getElementsByName(id)[0].value) || 0; + } + + function setValue(id, val) { + document.getElementsByName(id)[0].value = val.toFixed(2); + } + + function calculate() { + + let gross_total_income = getValue("gross_total_income"); + let disallowance_14a = getValue("disallowance_14a"); + let disallowance_37 = getValue("disallowance_37"); + + // FORMULAS + setValue("gross_total_income", disallowance_37 + gross_total_income); + setValue("disallowance_37", disallowance_14a + disallowance_37); + + // Deductions + let d80_business = getValue("deduction_80ia_business"); + let d80_misc = getValue("deduction_80ia_misc"); + let d80_other = getValue("deduction_80ia_other"); + + let deduction_sec37 = d80_business + d80_misc + d80_other - 1.35; + setValue("deduction_sec37_disallowance", deduction_sec37); + + let deduction_80g = getValue("deduction_80g"); + + // Net taxable income + let net_taxable_income = gross_total_income - deduction_sec37 - deduction_80g; + setValue("net_taxable_income", net_taxable_income); + + // Tax calculations + setValue("tax_30_percent", net_taxable_income * 0.30); + + let tax_book_profit = getValue("tax_book_profit_18_5"); + setValue("tax_payable", tax_book_profit); + + let surcharge = tax_book_profit * 0.12; + setValue("surcharge_12", surcharge); + + let edu_cess = (tax_book_profit + surcharge) * 0.03; + setValue("edu_cess_3", edu_cess); + + let total_tax_payable = tax_book_profit + surcharge + edu_cess; + setValue("total_tax_payable", total_tax_payable); + + let mat_credit = getValue("mat_credit"); + let interest_234c = getValue("interest_234c"); + + let total_tax = total_tax_payable + mat_credit + interest_234c; + setValue("total_tax", total_tax); + + // Assessment + let adv_tax = getValue("advance_tax"); + let tds = getValue("tds"); + let tcs = getValue("tcs"); + + let tax_on_assessment = adv_tax + tds + tcs; + setValue("tax_on_assessment", tax_on_assessment); + + let refund = total_tax - tax_on_assessment; + setValue("refund", refund); + } + + // Attach event listeners + fields.forEach(id => { + const element = document.getElementsByName(id)[0]; + if (element) { + element.addEventListener("input", calculate); + } + }); +}); diff --git a/templates/add_ao.html b/templates/add_ao.html index af1e681..003e6fa 100644 --- a/templates/add_ao.html +++ b/templates/add_ao.html @@ -1,8 +1,11 @@ + AO Form Entry + + +
+ + ← Back to Dashboard +

AO Form Entry

{% for field in [ - "gross_total_income", "disallowance_14a", "disallowance_37", - "deduction_80ia_business", "deduction_sec37_disallowance", "deduction_80g", - "net_taxable_income", "tax_30_percent", "tax_book_profit_18_5", - "surcharge_12", "edu_cess_3", "total_tax_payable", "mat_credit", - "interest_234c", "total_tax", "advance_tax", "tds", "tcs", - "tax_on_assessment", "refund" + "gross_total_income", "disallowance_14a", "disallowance_37", + "deduction_80ia_business", "deduction_sec37_disallowance", "deduction_80g", + "net_taxable_income", "tax_30_percent", "tax_book_profit_18_5", + "surcharge_12", "edu_cess_3", "total_tax_payable", "mat_credit", + "interest_234c", "total_tax", "advance_tax", "tds", "tcs", + "tax_on_assessment", "refund" ] %} - - + + {% endfor %}
@@ -124,4 +149,5 @@ } - + + \ No newline at end of file diff --git a/templates/add_cit.html b/templates/add_cit.html index 09af9b7..61d748a 100644 --- a/templates/add_cit.html +++ b/templates/add_cit.html @@ -1,5 +1,6 @@ + CIT Form Entry @@ -74,6 +75,24 @@ background-color: #0056b3; } + /* 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; + } + @media (max-width: 600px) { .container { padding: 20px; @@ -93,24 +112,28 @@ } +
-

CIT Form Entry

-
- - + + ← Back to Dashboard - {% for field in [ - "gross_total_income", "deduction_80ia_business", "deduction_sec37_disallowance", - "deduction_80g", "net_taxable_income", "tax_30_percent", "tax_book_profit_18_5", - "tax_payable", "surcharge_12", "edu_cess_3", "total_tax_payable", "mat_credit", - "interest_234c", "total_tax", "advance_tax", "tds", "tcs", "tax_on_assessment", "refund" - ] %} - - - {% endfor %} - -
+

CIT Form Entry

+
+ + + + {% for field in [ + "gross_total_income", "deduction_80ia_business", "deduction_sec37_disallowance", + "deduction_80g", "net_taxable_income", "tax_30_percent", "tax_book_profit_18_5", + "tax_payable", "surcharge_12", "edu_cess_3", "total_tax_payable", "mat_credit", + "interest_234c", "total_tax", "advance_tax", "tds", "tcs", "tax_on_assessment", "refund" + ] %} + + + {% endfor %} + +
@@ -121,4 +144,5 @@ } - + + \ No newline at end of file diff --git a/templates/add_itat.html b/templates/add_itat.html index 4d56bc0..568361a 100644 --- a/templates/add_itat.html +++ b/templates/add_itat.html @@ -1,5 +1,6 @@ + ITAT Form Entry @@ -74,6 +75,24 @@ background-color: #0056b3; } + /* 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; + } + @media (max-width: 600px) { .container { padding: 20px; @@ -93,8 +112,12 @@ } +
+ + ← Back to Dashboard +

ITAT Form Entry

@@ -123,4 +146,5 @@ } - + + \ No newline at end of file diff --git a/templates/add_itr.html b/templates/add_itr.html index ec64556..168fcd2 100644 --- a/templates/add_itr.html +++ b/templates/add_itr.html @@ -4,6 +4,8 @@ Add New Income Tax Return Record + + +
+ + ← Back to Dashboard +

AO Form Entry

{% for field in [ - "gross_total_income", "disallowance_14a", "disallowance_37", - "deduction_80ia_business", "deduction_sec37_disallowance", "deduction_80g", - "net_taxable_income", "tax_30_percent", "tax_book_profit_18_5", - "surcharge_12", "edu_cess_3", "total_tax_payable", "mat_credit", - "interest_234c", "total_tax", "advance_tax", "tds", "tcs", - "tax_on_assessment", "refund" + "gross_total_income", "disallowance_14a", "disallowance_37", + "deduction_80ia_business", "deduction_sec37_disallowance", "deduction_80g", + "net_taxable_income", "tax_30_percent", "tax_book_profit_18_5", + "surcharge_12", "edu_cess_3", "total_tax_payable", "mat_credit", + "interest_234c", "total_tax", "advance_tax", "tds", "tcs", + "tax_on_assessment", "refund" ] %} - - + + {% endfor %} @@ -124,4 +148,5 @@ } - + + \ No newline at end of file diff --git a/templates/ao_reports.html b/templates/ao_reports.html index 4447d7d..d7d3252 100644 --- a/templates/ao_reports.html +++ b/templates/ao_reports.html @@ -1,5 +1,6 @@ + Download AO Reports @@ -17,7 +18,7 @@ padding: 30px; background-color: white; border-radius: 10px; - box-shadow: 0 2px 10px rgba(0,0,0,0.1); + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); text-align: center; } @@ -51,10 +52,32 @@ button:hover { background-color: #0056b3; } + + /* 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; + } +
+ + ← Back to Dashboard +

Download AO Report

@@ -63,7 +86,7 @@

@@ -71,4 +94,5 @@
- + + \ No newline at end of file diff --git a/templates/cit_form.html b/templates/cit_form.html index 17553a9..ba40745 100644 --- a/templates/cit_form.html +++ b/templates/cit_form.html @@ -1,5 +1,6 @@ + CIT Form Entry @@ -74,6 +75,24 @@ background-color: #0056b3; } + /* 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; + } + @media (max-width: 600px) { .container { padding: 20px; @@ -93,21 +112,25 @@ } +
+ + ← Back to Dashboard +

CIT Form Entry

{% for field in [ - "gross_total_income", "deduction_80ia_business", "deduction_sec37_disallowance", - "deduction_80g", "net_taxable_income", "tax_30_percent", "tax_book_profit_18_5", - "tax_payable", "surcharge_12", "edu_cess_3", "total_tax_payable", "mat_credit", - "interest_234c", "total_tax", "advance_tax", "tds", "tcs", "tax_on_assessment", "refund" + "gross_total_income", "deduction_80ia_business", "deduction_sec37_disallowance", + "deduction_80g", "net_taxable_income", "tax_30_percent", "tax_book_profit_18_5", + "tax_payable", "surcharge_12", "edu_cess_3", "total_tax_payable", "mat_credit", + "interest_234c", "total_tax", "advance_tax", "tds", "tcs", "tax_on_assessment", "refund" ] %} - - + + {% endfor %}
@@ -120,4 +143,5 @@ } - + + \ No newline at end of file diff --git a/templates/cit_reports.html b/templates/cit_reports.html index 3047463..19d39db 100644 --- a/templates/cit_reports.html +++ b/templates/cit_reports.html @@ -1,5 +1,6 @@ + Download CIT Reports @@ -17,7 +18,7 @@ padding: 30px; background-color: white; border-radius: 10px; - box-shadow: 0 2px 10px rgba(0,0,0,0.1); + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); text-align: center; } @@ -51,10 +52,32 @@ button:hover { background-color: #0056b3; } + + /* 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; + } +
+ + ← Back to Dashboard +

Download CIT Report

@@ -63,7 +86,7 @@

@@ -71,4 +94,5 @@
- + + \ No newline at end of file diff --git a/templates/display_ao.html b/templates/display_ao.html index 0797bec..dbc1982 100644 --- a/templates/display_ao.html +++ b/templates/display_ao.html @@ -1,78 +1,190 @@ + - - AO Records - + + + ← Back to Dashboard + + AO Records + + -
-

Assessing Officer Records 👨‍💼

+
+ + - - {% with messages = get_flashed_messages(with_categories=true) %} - {% if messages %} - {% for category, message in messages %} -
{{ message }}
- {% endfor %} - {% endif %} - {% endwith %} - ➕ Add AO Record +

Assessing Officer Records 👨‍💼

- {% if ao_records %} -
- - - - - - - - - - - - - {% for ao in ao_records %} - - - - - - - - - {% endfor %} - -
IDYearGross Total IncomeNet Taxable IncomeTotal TaxActions
{{ ao.id }}{{ ao.year }}{{ ao.gross_total_income }}{{ ao.net_taxable_income }}{{ ao.total_tax }} - Edit -
- -
-
-
- {% else %} -

No AO records found. Add one above!

- {% endif %} + + {% with messages = get_flashed_messages(with_categories=true) %} + {% if messages %} + {% for category, message in messages %} +
{{ message }}
+ {% endfor %} + {% endif %} + {% endwith %} + + ➕ Add AO Record + + {% if ao_records %} +
+ + + + + + + + + + + + + {% for ao in ao_records %} + + + + + + + + + {% endfor %} + +
IDYearGross Total IncomeNet Taxable IncomeTotal TaxActions
{{ ao.id }}{{ ao.year }}{{ ao.gross_total_income }}{{ ao.net_taxable_income }}{{ ao.total_tax }} + Edit +
+ +
+
+ {% else %} +

No AO records found. Add one above!

+ {% endif %} +
- + + \ No newline at end of file diff --git a/templates/display_cit.html b/templates/display_cit.html index 163fd1d..77aab11 100644 --- a/templates/display_cit.html +++ b/templates/display_cit.html @@ -1,66 +1,160 @@ + CIT Records +
+ + ← Back to Dashboard + +

CIT Records 🧾

➕ Add New Record {% if cit_records %} -
- - - - - - - - - - - - - {% for record in cit_records %} - - - - - - - + + {% endfor %} + +
YearGross Total IncomeNet Taxable IncomeTotal Tax PayableRefundActions
{{ 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 +
+ + + + + + + + + + + + + {% for record in cit_records %} + + + + + + + - - {% endfor %} - -
YearGross Total IncomeNet Taxable IncomeTotal Tax PayableRefundActions
{{ 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 -
- -
-
-
+
+ +
+
+
{% else %} -

No records found. Click the button above to add one!

+

No records found. Click the button above to add one!

{% endif %}
- + + \ No newline at end of file diff --git a/templates/display_itat.html b/templates/display_itat.html index 7362f76..51f10e7 100644 --- a/templates/display_itat.html +++ b/templates/display_itat.html @@ -1,75 +1,169 @@ + ITAT Records +
+ + + ← Back to Dashboard +

ITAT Records 📄

➕ Add New Record {% with messages = get_flashed_messages(with_categories=true) %} - {% if messages %} - {% for category, message in messages %} -
{{ message }}
- {% endfor %} - {% endif %} + {% if messages %} + {% for category, message in messages %} +
{{ message }}
+ {% endfor %} + {% endif %} {% endwith %} {% if records %} -
- - - - - - - - - - - - - {% for record in records %} - - - - - - - + + {% endfor %} + +
YearMAT Tax CreditSurchargeCessTotal CreditActions
{{ record.year }}{{ "{:,.2f}".format(record.mat_tax_credit) }}{{ "{:,.2f}".format(record.surcharge) }}{{ "{:,.2f}".format(record.cess) }}{{ "{:,.2f}".format(record.total_credit) }} - Edit +
+ + + + + + + + + + + + + {% for record in records %} + + + + + + + - - {% endfor %} - -
YearMAT Tax CreditSurchargeCessTotal CreditActions
{{ record.year }}{{ "{:,.2f}".format(record.mat_tax_credit) }}{{ "{:,.2f}".format(record.surcharge) }}{{ "{:,.2f}".format(record.cess) }}{{ "{:,.2f}".format(record.total_credit) }} + Edit -
- -
-
-
+
+ +
+
+
{% else %} -

No ITAT records found. Click the button above to add one!

+

No ITAT records found. Click the button above to add one!

{% endif %}
- + + \ No newline at end of file diff --git a/templates/display_itr.html b/templates/display_itr.html index bd3d85f..6087ea8 100644 --- a/templates/display_itr.html +++ b/templates/display_itr.html @@ -1,66 +1,159 @@ + ITR Records +
+ + ← Back to Dashboard +

Income Tax Return Records 🧾

➕ Add New Record {% if records %} -
- - - - - - - - - - - - - {% for record in records %} - - - - - - - + + {% endfor %} + +
YearGross Total IncomeNet Taxable IncomeTotal Tax PayableRefundActions
{{ 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 +
+ + + + + + + + + + + + + {% for record in records %} + + + + + + + - - {% endfor %} - -
YearGross Total IncomeNet Taxable IncomeTotal Tax PayableRefundActions
{{ 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 -
- -
-
-
+
+ +
+
+
{% else %} -

No records found. Click the button above to add one!

+

No records found. Click the button above to add one!

{% endif %}
+ \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 8eb3a00..a1ce37a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,5 +1,6 @@ + Dashboard | Income Tax Utilities @@ -10,12 +11,14 @@ padding: 0; box-sizing: border-box; } + body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #f4f7f6; color: #333; line-height: 1.6; } + .container { max-width: 750px; margin: 50px auto; @@ -24,6 +27,7 @@ border-radius: 12px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08); } + .header { text-align: center; margin-bottom: 40px; @@ -31,9 +35,11 @@ color: #2c3e50; font-weight: 600; } + .section { margin-bottom: 35px; } + .section h3 { font-size: 22px; color: #0056b3; @@ -41,13 +47,16 @@ padding-bottom: 10px; border-bottom: 2px solid #e9ecef; } + ul { list-style: none; padding-left: 5px; } + li { margin: 15px 0; } + a { display: block; text-decoration: none; @@ -59,26 +68,33 @@ transition: all 0.3s ease; box-shadow: 0 4px 6px rgba(0, 123, 255, 0.1); } + a:hover { background-color: #0056b3; transform: translateY(-2px) scale(1.01); box-shadow: 0 6px 12px rgba(0, 91, 179, 0.2); } + + + /* Responsive */ @media (max-width: 600px) { .container { margin: 20px; padding: 25px; } + .header { font-size: 26px; } + a { font-size: 16px; } } +

Dashboard 🏛️

@@ -110,8 +126,8 @@ @@ -126,4 +142,5 @@
+ \ No newline at end of file diff --git a/templates/itat_form.html b/templates/itat_form.html index 4d56bc0..568361a 100644 --- a/templates/itat_form.html +++ b/templates/itat_form.html @@ -1,5 +1,6 @@ + ITAT Form Entry @@ -74,6 +75,24 @@ background-color: #0056b3; } + /* 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; + } + @media (max-width: 600px) { .container { padding: 20px; @@ -93,8 +112,12 @@ } +
+ + ← Back to Dashboard +

ITAT Form Entry

@@ -123,4 +146,5 @@ } - + + \ No newline at end of file diff --git a/templates/itat_reports.html b/templates/itat_reports.html index 548b457..31c3f45 100644 --- a/templates/itat_reports.html +++ b/templates/itat_reports.html @@ -1,5 +1,6 @@ + Download ITAT Reports @@ -17,7 +18,7 @@ padding: 30px; background-color: white; border-radius: 10px; - box-shadow: 0 2px 10px rgba(0,0,0,0.1); + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); text-align: center; } @@ -51,10 +52,34 @@ button:hover { background-color: #0056b3; } + + /* 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; + } + +
+ + ← Back to Dashboard + +

Download ITAT Report

@@ -63,7 +88,7 @@

@@ -71,4 +96,5 @@
- + + \ No newline at end of file diff --git a/templates/itr_form.html b/templates/itr_form.html index da75292..b6b25cd 100644 --- a/templates/itr_form.html +++ b/templates/itr_form.html @@ -149,6 +149,23 @@ } + /* 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; + } @media (max-width: 600px) { @@ -191,6 +208,10 @@
+ + ← Back to Dashboard + +

Income Tax Return Form

diff --git a/templates/itr_reports.html b/templates/itr_reports.html index 321d3fe..07ad1d2 100644 --- a/templates/itr_reports.html +++ b/templates/itr_reports.html @@ -1,5 +1,6 @@ + Download ITR Reports @@ -17,7 +18,7 @@ padding: 30px; background-color: white; border-radius: 10px; - box-shadow: 0 2px 10px rgba(0,0,0,0.1); + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); text-align: center; } @@ -51,10 +52,33 @@ button:hover { background-color: #0056b3; } + + /* 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; + } +
+ + + ← Back to Dashboard +

Download ITR Report

@@ -63,7 +87,7 @@

@@ -71,4 +95,5 @@
- + + \ No newline at end of file diff --git a/templates/reports.html b/templates/reports.html index 2e2fa8a..07a88cc 100644 --- a/templates/reports.html +++ b/templates/reports.html @@ -1,5 +1,6 @@ + Reports Of Stages @@ -17,7 +18,7 @@ padding: 30px; background-color: white; border-radius: 10px; - box-shadow: 0 2px 10px rgba(0,0,0,0.1); + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } h2 { @@ -65,7 +66,9 @@ margin-top: 20px; } - table, th, td { + table, + th, + td { border: 1px solid #ccc; } @@ -108,23 +111,44 @@ } ul li a:hover { - text-decorat + text-decoration: none; + } + + + .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; } + - + + \ No newline at end of file diff --git a/templates/stage_reports.html b/templates/stage_reports.html index 34247f1..c743c4b 100644 --- a/templates/stage_reports.html +++ b/templates/stage_reports.html @@ -1,5 +1,6 @@ + {{ stage }} Reports @@ -61,7 +62,8 @@ font-size: 15px; } - th, td { + th, + td { padding: 12px; border: 1px solid #ddd; text-align: left; @@ -102,10 +104,32 @@ 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; + } +
+ + ← Back to Dashboard +

{{ stage }} Reports

@@ -114,33 +138,34 @@
{% if documents %} - - - - - - - - - {% for doc in documents %} - - - - - {% endfor %} - -
YearAction
{{ doc.year }} - Download -
+ + + + + + + + + {% for doc in documents %} + + + + + {% endfor %} + +
YearAction
{{ doc.year }} + Download +
{% else %} -

No reports found for this selection.

+

No reports found for this selection.

{% endif %}
- + + \ No newline at end of file diff --git a/templates/summary_reports.html b/templates/summary_reports.html index 3067cec..901c4e0 100644 --- a/templates/summary_reports.html +++ b/templates/summary_reports.html @@ -1,5 +1,6 @@ + Download Summary Report +
+ + ← Back to Dashboard +

Download Year-wise Summary Report

{% if message %} -

{{ message }}

+

{{ message }}

{% endif %}
@@ -73,11 +97,12 @@
+ \ No newline at end of file diff --git a/templates/update_ao.html b/templates/update_ao.html index 180c7c3..5d03b6e 100644 --- a/templates/update_ao.html +++ b/templates/update_ao.html @@ -55,11 +55,31 @@ button:hover { background-color: #0056b3; } + + /* 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; + }
+ + ← Back to Dashboard

Update AO Record for Year {{ record.year }}

{% for field in record.keys() if field != 'id' %} diff --git a/templates/update_cit.html b/templates/update_cit.html index 090cae8..e85632a 100644 --- a/templates/update_cit.html +++ b/templates/update_cit.html @@ -55,11 +55,32 @@ button[type="submit"]:hover { background-color: #0056b3; } + + /* 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; + }
+ + ← Back to Dashboard +

Update CIT Record for Year {{ record.year }}

{% for field in record.keys() if field != 'id' %} diff --git a/templates/update_itat.html b/templates/update_itat.html index 68dc3ea..148b25e 100644 --- a/templates/update_itat.html +++ b/templates/update_itat.html @@ -1,11 +1,16 @@ + Update ITAT Record +
+ + ← Back to Dashboard +

Update ITAT Record for Year {{ record.year }}

@@ -27,4 +32,5 @@
- + + \ No newline at end of file diff --git a/templates/update_itr.html b/templates/update_itr.html index 62a48de..b31087f 100644 --- a/templates/update_itr.html +++ b/templates/update_itr.html @@ -1,21 +1,44 @@ + Update ITR Record - + +
+ + ← Back to Dashboard

Update ITR Record for Year {{ record.year }}

{% for field in record.keys() if field != 'id' %} - - + + {% endfor %}
+ \ No newline at end of file diff --git a/templates/upload.html b/templates/upload.html index c41eec7..a3cbb79 100644 --- a/templates/upload.html +++ b/templates/upload.html @@ -1,5 +1,6 @@ + Upload Documents @@ -79,6 +80,24 @@ background-color: #0056b3; } + /* 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; + } + @media (max-width: 600px) { .container { padding: 20px; @@ -88,7 +107,8 @@ font-size: 22px; } - input, select { + input, + select { font-size: 15px; } @@ -98,8 +118,13 @@ } +
+ + + ← Back to Dashboard +

Upload Income Tax Documents

@@ -120,4 +145,5 @@
- + + \ No newline at end of file diff --git a/templates/view_docs.html b/templates/view_docs.html index cb926f0..aebdae5 100644 --- a/templates/view_docs.html +++ b/templates/view_docs.html @@ -98,6 +98,24 @@ text-decoration: underline; } + /* 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; + } + @media (max-width: 768px) { form { flex-direction: column; @@ -113,6 +131,10 @@
+ + + ← Back to Dashboard +

Document Records

diff --git a/templates/welcome.html b/templates/welcome.html index b7e5b4f..759845b 100644 --- a/templates/welcome.html +++ b/templates/welcome.html @@ -1,6 +1,7 @@ + Welcome - Laxmi Civil Engineering Pvt. Ltd @@ -44,12 +45,15 @@ } + - +

Welcome to Laxmi Civil Engineering Pvt. Ltd

Income Tax Filing and Compliance

Go To Dashboard - + + \ No newline at end of file