188 lines
7.3 KiB
HTML
188 lines
7.3 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Update AO Record{% endblock %}
|
|
|
|
{% block extra_css %}
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/add_model.css') }}">
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="container">
|
|
|
|
<h2>Update 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>
|
|
<label>Year:</label>
|
|
<input type="tex" name="year" value="{{record.year}}" class="auto" readonly>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group full-width inline-2">
|
|
<div>
|
|
<label>Gross Total Income:</label>
|
|
<input type="number" name="gross_total_income" step="any" value="{{ record.gross_total_income}}"
|
|
oninput="calculate()" required>
|
|
</div>
|
|
<div>
|
|
<label>Add :Disallowance u/s 14A:</label>
|
|
<input type="number" name="disallowance_14a" step="any" value="{{ record.disallowance_14a}}"
|
|
oninput="calculate()" required>
|
|
</div>
|
|
<div>
|
|
<label>Add :Disallowance u/s 37:</label>
|
|
<input type="number" name="disallowance_37" step="any" value="{{ record.disallowance_37}}"
|
|
oninput="calculate()" required>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group full-width inline-2">
|
|
<div>
|
|
<label>Less :Deduction 80IA Business Income:</label>
|
|
<input type="number" name="deduction_80ia_business" step="any"
|
|
value="{{ record.deduction_80ia_business}}" oninput="calculate()" required>
|
|
</div>
|
|
<div>
|
|
<label>Less :Deduction 80IA Misc:</label>
|
|
<input type="number" name="deduction_80ia_misc" step="any" value="{{ record.deduction_80ia_misc}}"
|
|
oninput="calculate()" required>
|
|
</div>
|
|
<div>
|
|
<label>Less :Deduction 80IA Other Operating Revenue:</label>
|
|
<input type="number" name="deduction_80ia_other" step="any" value="{{ record.deduction_80ia_other}}"
|
|
oninput="calculate()" required>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group full-width inline-2">
|
|
|
|
<div>
|
|
<label>Less :Deduction Sec 37 Disallowance:</label>
|
|
<input type="number" name="deduction_sec37_disallowance" step="any"
|
|
value="{{ record.deduction_sec37_disallowance}}" oninput="calculate()" required>
|
|
</div>
|
|
<div>
|
|
<label>Less: Deduction 80G: </label>
|
|
<input type="number" name="deduction_80g" step="any" value="{{ record.deduction_80g}}"
|
|
oninput="calculate()" required>
|
|
</div>
|
|
|
|
</div>
|
|
<div class=" form-group">
|
|
<label>Net Taxable Income:</label>
|
|
<input type="number" name="net_taxable_income" class="auto" step="any"
|
|
value="{{ record.net_taxable_income}}" readonly>
|
|
</div>
|
|
|
|
|
|
<div class=" form-group full-width inline-2">
|
|
<div>
|
|
<label>Tax @ 30% (A):</label>
|
|
<input type="number" name="tax_30_percent" step="any" value="{{ record.tax_30_percent}}"
|
|
oninput="calculate()" required>
|
|
</div>
|
|
<div>
|
|
<label>Tax @ 18.5% on Book Profit (B):</label>
|
|
<input type="number" name="tax_book_profit_18_5" step="any" value="{{ record.tax_book_profit_18_5}}"
|
|
oninput="calculate()" required>
|
|
</div>
|
|
<div>
|
|
<label>Tax Payable (Higher of A or B):</label>
|
|
<input type="number" name="tax_payable" class="auto" step="any" value="{{ record.tax_payable}}"
|
|
readonly>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group full-width inline-2">
|
|
<div>
|
|
<label>Enter Percentage (%) Surcharge:</label>
|
|
<input type="number" name="persentage" step="any" value="{{ record.persentage}}" oninput="calculate()">
|
|
</div>
|
|
<div>
|
|
<label>Surcharge:</label>
|
|
<input type="number" name="surcharge_12" class="auto" value="{{ record.surcharge_12}}" readonly>
|
|
</div>
|
|
|
|
<div>
|
|
<label>Education Cess @ 3%:</label>
|
|
<input type="number" name="edu_cess_3" class="auto" step="any" value="{{ record.edu_cess_3}}" readonly>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group full-width inline-2">
|
|
|
|
<div>
|
|
<label>Total tax Payable:</label>
|
|
<input type="number" name="total_tax_payable" class="auto" step="any"
|
|
value="{{ record.total_tax_payable}}" readonly>
|
|
</div>
|
|
|
|
<div>
|
|
<label>Less :Mat Credit Utilized:</label>
|
|
<input type="number" name="mat_credit" step="any" value="{{ record.mat_credit}}" oninput="calculate()"
|
|
required>
|
|
</div>
|
|
<div>
|
|
<label>Add :Interest 234c:</label>
|
|
<input type="number" name="interest_234c" step="any" value="{{ record.interest_234c}}"
|
|
oninput="calculate()" required>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group full-width inline-2">
|
|
<div>
|
|
<label>Total Tax:</label>
|
|
<input type="number" name="total_tax" step="any" class="auto" value="{{ record.total_tax}}" readonly>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group full-width inline-2">
|
|
<div>
|
|
<label>Advance Tax:</label>
|
|
<input type="number" name="advance_tax" step="any" value="{{ record.advance_tax}}" oninput="calculate()"
|
|
required>
|
|
</div>
|
|
<div>
|
|
<label>TDS :</label>
|
|
<input type="number" name="tds" step="any" value="{{ record.tds}}" oninput="calculate()" required>
|
|
</div>
|
|
<div>
|
|
<label>TCS :</label>
|
|
<input type="number" name="tcs" step="any" value="{{ record.tcs}}" oninput="calculate()" required>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group full-width inline-2">
|
|
<div>
|
|
<label>SAT :</label>
|
|
<input type="number" name="sat" step="any" value="{{ record.sat}}" oninput="calculate()" required>
|
|
</div>
|
|
<div>
|
|
<label>Tax on Regular Assessment:</label>
|
|
<input type="number" name="tax_on_assessment" step="any" value="{{ record.tax_on_assessment}}"
|
|
oninput="calculate()" required>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label>Refund:</label>
|
|
<input type="number" name="refund" class="auto" step="any" value="{{ record.refund}}" readonly>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label>Remarks:</label>
|
|
<input type="text" name="Remarks" value="{{ record.remarks}}">
|
|
</div>
|
|
|
|
<button type="submit">Update Record</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
{% endblock %} |