{% extends 'sales/base.html' %} {% load static %} {% load thumbnail %} {% block content %} {% block extralinks %} {% endblock extralinks %}
Overview
{{ case_record.name }}
{% if case_record.account %}
{{ case_record.account }}
{% endif %}
{% if case_record.contacts.all %}
{% for contact in case_record.contacts.all %}
{{ contact }}
{% endfor %}
{% endif %}
{% if case_record.closed_on %}
{{ case_record.closed_on|date }}
{% endif %}
{{ case_record.status }}
{{ case_record.priority }}
{% if case_record.case_type %}
{{ case_record.case_type }}
{% endif %}
{% if case_record.description %}
{{ case_record.description }}
{% endif %}
Created by {{ case_record.created_by }} created on {{ case_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 %}
Processing File...
{% endblock %} {% block js_block %} {% endblock js_block %}