diff --git a/app/modules/accounting/templates/accounting/tds_compliance.html b/app/modules/accounting/templates/accounting/tds_compliance.html index bd332d9..5865371 100644 --- a/app/modules/accounting/templates/accounting/tds_compliance.html +++ b/app/modules/accounting/templates/accounting/tds_compliance.html @@ -1,4 +1,4 @@ -{% extends "base.html" %} +{% extends "ui/templates/base/layout.html" %} {% block content %}

TDS & Withholding Tax

TDS Compliance Review

Read-only Tally scan across expenses, purchases, capital/service purchases, journals and creditor postings. Rules and thresholds come from the editable TDS Rule Master.

{% if error %}
{{ error }}
{% endif %}
{% if review %}
{% for k,v in review.summary.items() %}
{{ k|replace('_',' ') }}
{{ v }}
{% endfor %}
{% for x in review.transactions %}{% endfor %}
DatePartyLedger / RuleBaseExpectedActualLiabilityStatus
{{ x.date }}{{ x.party }}{{ x.nature_ledger }}
{{ x.rule_name }} · {{ x.legacy_section }}
{{ '%.2f'|format(x.taxable_base) }}{{ '%.2f'|format(x.expected_tds) }}{{ '%.2f'|format(x.actual_tds) }}{{ '%.2f'|format(x.liability) }}{{ x.status }}
{% endif %}
diff --git a/app/modules/accounting/templates/accounting/tds_liability.html b/app/modules/accounting/templates/accounting/tds_liability.html index 7d98339..9f9f8fb 100644 --- a/app/modules/accounting/templates/accounting/tds_liability.html +++ b/app/modules/accounting/templates/accounting/tds_liability.html @@ -1,4 +1,4 @@ -{% extends "base.html" %} +{% extends "ui/templates/base/layout.html" %} {% block content %}

TDS & Withholding Tax

TDS Entry & Liability

Calculate missing/short TDS, prepare structured ERP posting instructions, then post only after explicit user action. Prepared instructions are future-agent ready and idempotently referenced.

Tally
{% if saved %}
TDS instruction updated.
{% endif %}{% if error %}
{{ error }}
{% endif %}
{% if review %}

Unbooked / short TDS

{% for x in review.transactions if x.liability>0 %}
Party
{{ x.party }}
Voucher
{{ x.date }} · {{ x.voucher_number }}
Rule
{{ x.rule_name }}
Expected
{{ '%.2f'|format(x.expected_tds) }}
Already booked
{{ '%.2f'|format(x.actual_tds) }}
{% else %}
No positive liability identified in this scan.
{% endfor %}
{% endif %}{% if instructions %}

Prepared / Posted Instructions

{% for i in instructions %}
{{ i.erp_reference }} · {{ i.party_ledger }}
{{ i.statutory_reference }} · Status {{ i.status }}
₹{{ '%.2f'|format(i.liability_amount) }}
{% if i.status!='posted' %}
{% else %}
Posted to Tally{% if i.tally_voucher_id %} · Voucher {{ i.tally_voucher_id }}{% endif %}
{% endif %}
{% endfor %}
{% endif %}
diff --git a/app/modules/accounting/templates/accounting/tds_reconciliation.html b/app/modules/accounting/templates/accounting/tds_reconciliation.html index 710589b..efae26a 100644 --- a/app/modules/accounting/templates/accounting/tds_reconciliation.html +++ b/app/modules/accounting/templates/accounting/tds_reconciliation.html @@ -1,4 +1,4 @@ -{% extends "base.html" %} +{% extends "ui/templates/base/layout.html" %} {% block content %}

TDS & Withholding Tax

TDS Reconciliation

Compare live Tally TDS with return/form, challan and TRACES totals. Paste exports as one row per line: PAN, section/code, amount.

Tally
{% if error %}
{{ error }}
{% endif %}
{% if result %}
{% for label,value in [('Tally booked TDS',result.tally_actual),('Expected TDS',result.tally_expected),('Return / Forms',result.return_total),('Challans',result.challan_total),('TRACES',result.traces_total)] %}
{{ label }}
₹{{ '%.2f'|format(value) }}
{% endfor %}
Tally − Return: ₹{{ '%.2f'|format(result.tally_vs_return) }}
Return − Challan: ₹{{ '%.2f'|format(result.return_vs_challan) }}
Return − TRACES: ₹{{ '%.2f'|format(result.return_vs_traces) }}
{% endif %}
diff --git a/app/modules/accounting/templates/accounting/tds_rules.html b/app/modules/accounting/templates/accounting/tds_rules.html index 38ffd7f..a10f678 100644 --- a/app/modules/accounting/templates/accounting/tds_rules.html +++ b/app/modules/accounting/templates/accounting/tds_rules.html @@ -1,4 +1,4 @@ -{% extends "base.html" %} +{% extends "ui/templates/base/layout.html" %} {% block content %}

TDS & Withholding Tax

TDS Rule Master

Default rules are seeded for each firm and remain editable. Historical effective-date versions can be retained instead of hard-coding thresholds in Python.

Back to Tally