2025-11-30 16:24:49 +05:30
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html>
|
2025-12-04 17:31:12 +05:30
|
|
|
|
2025-11-30 16:24:49 +05:30
|
|
|
<head>
|
|
|
|
|
<title>CIT Form Entry</title>
|
2025-12-06 23:17:22 +05:30
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/add_cit.css') }}">
|
2025-12-04 21:09:07 +05:30
|
|
|
<script src="/static/js/cit_calc.js"></script>
|
2025-12-06 23:17:22 +05:30
|
|
|
<script src="/static/js/year_dropdown.js"></script>
|
2025-12-04 17:31:12 +05:30
|
|
|
|
2025-11-30 16:24:49 +05:30
|
|
|
</head>
|
2025-12-04 17:31:12 +05:30
|
|
|
|
2025-11-30 16:24:49 +05:30
|
|
|
<body>
|
|
|
|
|
<div class="container">
|
2025-12-04 17:31:12 +05:30
|
|
|
<!-- Back to Dashboard Button -->
|
|
|
|
|
<a href="{{ url_for('index') }}" class="back-btn">← Back to Dashboard</a>
|
|
|
|
|
|
2025-11-30 16:24:49 +05:30
|
|
|
<h2>CIT Form Entry</h2>
|
2025-12-04 17:31:12 +05:30
|
|
|
<form method="POST">
|
2025-12-06 23:17:22 +05:30
|
|
|
<!-- <label>Year:</label>
|
|
|
|
|
<input type="number" name="year" required value="{{ record.year if record else '' }}"> -->
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label> Year:</label>
|
|
|
|
|
<select id="year" name="year" required></select>
|
|
|
|
|
</div>
|
2025-12-04 17:31:12 +05:30
|
|
|
|
|
|
|
|
{% 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"
|
|
|
|
|
] %}
|
|
|
|
|
<label for="{{ field }}">{{ field.replace("_", " ").title() }}:</label>
|
|
|
|
|
<input type="number" name="{{ field }}" step="0.01" required value="{{ record[field] if record else '' }}">
|
|
|
|
|
{% endfor %}
|
|
|
|
|
<button type="submit">{{ 'Update' if record else 'Submit' }}</button>
|
|
|
|
|
</form>
|
2025-11-30 16:24:49 +05:30
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
function showSuccessMessage() {
|
|
|
|
|
alert("Form submitted successfully!");
|
|
|
|
|
return true; // continue with form submission
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
</body>
|
2025-12-04 17:31:12 +05:30
|
|
|
|
|
|
|
|
</html>
|