{% extends 'base.html' %} {% load static %} {% load utils_filters %} {% block title %}Documents - HAVEN GRAZURI ADVANCE{% endblock %} {% block content %}

Documents

Manage and organize all your business documents in one place. Total Documents: {{ total_documents }}

๐Ÿ”
๐Ÿ‘ฅCustomer Documents
{% for doc_type, doc_name in document_types %} {% with docs=documents|get_item:doc_type %} {% if docs %}

{% if doc_type == 'loan_agreement' %} {% elif doc_type == 'id_document' %} ๐Ÿชช {% elif doc_type == 'selfie' %} ๐Ÿ‘ค {% elif doc_type == 'utility_bill' %} ๐Ÿงพ {% elif doc_type == 'bank_statement' %} {% elif doc_type == 'business_license' %} {% elif doc_type == 'tax_return' %} ๐Ÿ“„ {% elif doc_type == 'payslip' %} ๐Ÿ’ต {% elif doc_type == 'contract' %} {% elif doc_type == 'logbook' %} {% elif doc_type == 'title_deed' %} ๐Ÿ  {% elif doc_type == 'signature' %} {% else %} ๐Ÿ“‚ {% endif %} {{ doc_name }} Documents ({{ docs|length }})

{% for doc in docs %}
{% if doc.source == 'kyc' %} {% if doc.file.url|lower|slice:"-4:" in '.pdf,.doc,.docx' %}
{% else %} {{ doc.name }} {% endif %} {% else %} {% if doc.file.url|lower|slice:"-4:" in '.pdf,.doc,.docx' %}
{% else %} {{ doc.name }} {% endif %} {% endif %}

{{ doc.name }}

{{ doc.created_at|date:"M d, Y" }}

{% if doc.source == 'kyc' %}

{{ doc.client_name }}

{% endif %}
{% if doc.source == 'kyc' %} KYC Document {% endif %} {% for tag in doc.tags.all %} {{ tag.name }} {% endfor %}
โฌ‡๏ธ {% if doc.source != 'kyc' %} {% if user.is_staff %} {% endif %} {% endif %}
{% endfor %}
{% endif %} {% endwith %} {% endfor %}
{% endblock %} {% block scripts %} {% endblock %}