{% extends 'sales/base.html' %} {% load static %} {% load thumbnail %} {% block breadcrumb %} {% block extralinks %} {% endblock extralinks %} {% endblock breadcrumb %} {% block content %}
Overview
{% if account_record.name %}
{% endif %} {% if account_record.phone %}
{% endif %} {% if account_record.status %}
{% endif %}
{% if account_record.email %}
{% endif %} {% if account_record.website %}
{% endif %} {% if account_record.contacts.all %}
{% for contact in account_record.contacts.all %} {% endfor %}
{% endif %} {% if account_record.lead %}
{% endif %}
{% if account_record.billing_address_line or account_record.billing_street or account_record.billing_city or account_record.billing_state or account_record.billing_postcode or account_record.billing_country %}
{% endif %}
{% if account_record.assigned_to.all %}
{% for user in account_record.assigned_to.all %} {% endfor %}
{% endif %}
{% if account_record.description %}
{% endif %} {% if account_record.tags.all %}
{% endif %}
Created by {{ account_record.created_by }} created on {{ account_record.created_on_arrow }}
Attachments
{% csrf_token %}

    {% 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
{% csrf_token %}

    {% 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 %}

{% csrf_token %}
Contacts {% if contacts|length > 0 %} {% endif %}
{% if contacts|length > 0 %} {% endif %} {% for contact in contacts %} {% endfor %}
S.No Contact Name Phone Email Actions
{{ forloop.counter }} {{ contact.first_name }} {{ contact.last_name }} {{ contact.phone }} {{ contact.email }} View Edit Remove
{% ifequal contacts|length 0 %}
No Contact Records Found
{% endifequal %}

{% csrf_token %}
Opportunities
{% if opportunity_list|length > 0 %} {% endif %} {% for opportunity in opportunity_list %} {% endfor %}
S.No Name Stage Probability Actions
{{ forloop.counter }} {{opportunity.name}} {{opportunity.stage}} {{opportunity.probability}} {% if opportunity.probability %} % {% endif %} View Edit Remove
{% ifequal opportunity_list|length 0 %}
No Opportunity Records Found
{% endifequal %}

{% csrf_token %}
Cases
{% if cases|length > 0 %} {% endif %} {% for case in cases %} {% endfor %}
S.No Name Status Priority Actions
{{ forloop.counter }} {{ case.name }} {{ case.status }} {{ case.priority }} View Edit Remove
{% ifequal cases|length 0 %}
No Case Records Found
{% endifequal %}

{% csrf_token %}
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 %}

{% csrf_token %}
Invoices
{% if invoices|length > 0 %} {% endif %} {% for invoice in invoices %} {% endfor %}
S.No Title Email Status Actions
{{ forloop.counter }} {{invoice.invoice_title}} {{invoice.email}} {{invoice.status}} {% if task.probability %} % {% endif %} View Edit Remove
{% ifequal invoices|length 0 %}
No invoices Records Found
{% endifequal %}

{% csrf_token %}
Sent Mails
{% if emails|length > 0 %} {% endif %} {% for email in emails %} {% endfor %}
S.No From mail Contact Subject Created On View
{{ forloop.counter }} {{email.from_email}} {{email.recipients.count}} {{email.message_subject}} {{email.created_on}} View
{% ifequal emails|length 0 %}
No Emails Records Found
{% endifequal %}

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