{% extends "base.html" %} {% block header %}Tally Ledger Mapping{% endblock %} {% block content %} {% set mapped_count = branches|selectattr("tally_ledger_name")|list|length %} {% set pending_count = branches|rejectattr("tally_ledger_name")|list|length %}
| Client | PAN | Branch | GST Details | Tally Ledger Name | Status | Action |
|---|---|---|---|---|---|---|
|
{{ client.company_name if client else '-' }}
{% if client %}
Client ID: {{ client.id }}
{% if client.client_type %}
{{ client.client_type }}
{% endif %}
{% if client.client_category %}
{{ client.client_category }}
{% endif %}
{% endif %}
|
{% if client and client.pan %} {{ client.pan }} {% else %} - {% endif %} |
{{ branch.branch_location or 'Branch' }}
{% if branch.city %}{{ branch.city }}{% endif %}
{% if branch.state %}
{% if branch.city %}, {% endif %}{{ branch.state }}
{% endif %}
{% if not branch.city and not branch.state %}
Location not available
{% endif %}
Branch ID: {{ branch.id }}
{% if branch.is_active %}
Active
{% else %}
Inactive
{% endif %}
|
GSTIN:
{% if branch.gst %}
{% if branch.gst_registration_type %}
{{ branch.gst }}
{% else %}
-
{% endif %}
{{ branch.gst_registration_type }}
{% endif %}
|
{% if branch.tally_ledger_name %} Mapped {% else %} Pending {% endif %} |