{% extends 'sales/base.html' %} {% load static %} {% load thumbnail %} {% block breadcrumb %} {% block extralinks %} {% endblock extralinks %} {% endblock %} {% block content %}
Overview
{{ contact_record.first_name }} {{ contact_record.last_name }}
{{ contact_record.phone }}
{{ contact_record.email }}
{% if contact_record.address.address_line or contact_record.address.street or contact_record.address.city or contact_record.address.state or contact_record.address.postcode or contact_record.address.country %}
{{contact_record.address.get_complete_address}}
{% endif %}
{% if contact_record.description %}
{{ contact_record.description }}
{% endif %}
Created by {{ contact_record.created_by }} created on {{ contact_record.created_on_arrow }}
Attachments

    {% for attachment in attachments %}
  • {% if request.user.is_superuser or request.user.role == 'ADMIN' or request.user == attachment.created_by %}
    {% endif %}
    {% if attachment.attachment %} {% if 'image' in attachment.file_type %} {% thumbnail attachment.attachment "80x80" crop="center" as im %} {% endthumbnail %} {% endif %} {% endif %}
     {{attachment.file_name}}  Download
    Uploaded by :{{ attachment.created_by }}
    {{ attachment.created_on_arrow }}
  • {% endfor %}
Comments

    {% for comment in comments %}
  • {% if request.user.is_superuser or request.user.role == 'ADMIN' or request.user == comment.commented_by %}
    {% endif %}
    {{ comment.comment }}
    {{ comment.commented_by }}
    {{ comment.commented_on_arrow }}
  • {% endfor %}

Tasks
{% if tasks|length > 0 %} {% endif %} {% for task in tasks %} {% endfor %}
S.No Title Status Priority Actions
{{ forloop.counter }} {{task.title}} {{task.status}} {{task.priority}} {% if task.probability %} % {% endif %} View Edit Remove
{% ifequal tasks|length 0 %}
No tasks Records Found
{% endifequal %}

Processing File...
{% endblock%} {% block js_block %} {% endblock js_block %}