{% extends "esign/base.html" %} {% block content %} {% load custom_tags %} eSign - Dashboard {% if messages %}
{% for message in messages %} {% if forloop.last %} {% endif %} {% endfor %}
{% endif %}

Documents List

{% for d in documents %} {% with flows=d.sign_flow.all %} {% endwith %} {% endfor %}
S. No. Document Title Signing Progress Sign Pending Created at Final Status Audit Report Action
{{ forloop.counter }} {{ d.title }} {% for f in flows %} {% if f.is_signed %} {{ f.recipient_email|slice:":1"|upper }} {% elif f.is_canceled %} {{ f.recipient_email|slice:":1"|upper }} {% elif f.is_viewed %} {{ f.recipient_email|slice:":1"|upper }} {% elif f.assigned_by %} {{ f.recipient_email|slice:":1"|upper }} {% endif %} {% empty %} N/A {% endfor %} {% for f in flows %} {% if not f.is_signed and not f.is_canceled and not f.is_viewed and not f.assigned_by %} {{ f.recipient_email|slice:":1"|upper }} {% endif %} {% empty %} N/A {% endfor %} {{ d.created_at }} {% if d.status == 'cancelled' %} Cancelled {% elif flows|has_pending %} Pending {% else %} Complete {% endif %} {% if d.show_edit %} {% else %} {% if d.status != 'cancelled' %} {% endif %} {% endif %}
Showing {{ documents.start_index }} to {{ documents.end_index }} of {{ documents.paginator.count }} entries
{% endblock %}