{% extends "ui/templates/base/layout.html" %}{% block content %}

Sales & Income

Customer Intelligence

GSTIN-first customer identity and reviewer-confirmed customer → Sales/Income ledger learning.

{% if selected_client %}
{% for label,value in [('Customer mappings',summary.mapping_count),('Reviewed',summary.review_confirmed),('High confidence',summary.high_confidence),('Historical pairs',summary.historical_rows)] %}
{{ label }}
{{ value }}
{% endfor %}
{% for m in mappings %}{% else %}{% endfor %}
CustomerGSTINTally CustomerSales LedgerEvidenceConfidence
{{ m.customer_name }}{{ m.customer_gstin or '—' }}{{ m.tally_customer_ledger_name or '—' }}{{ m.sales_ledger_name or '—' }}{{ m.evidence_count }} · {{ m.source }}{{ m.confidence_percent }}%
No customer mappings yet.
{% endif %}
{% endblock %}