{% extends "./template.html" %} {% block content %} {% load static %}

{{ organisation_results.organisation_name }}

{% csrf_token %}
{% if profile_picture %}
{% if organisation_permissions > 1 %} {{ organisation_information_form.update_profile_picture }} {% endif %}
{% else %}
{% if organisation_permissions > 1 %} {{ organisation_information_form.update_profile_picture }} {% endif %} {% endif %}
{{ organisation_information_form.organisation_name }}
{{ organisation_information_form.organisation_website }}
{{ organisation_information_form.organisation_email }}
{% if organisation_permissions > 1 %}
{% endif %}
{% if organisation_campus_permissions > 0 %}

Organisation Campus'

{% if organisation_campus_permissions > 1 %} New Campus {% endif %} {% for campus in campus_results %} {% endfor %}
Campus Nickname Campus Location Campus Address
{{ campus.campus_nickname }} {{ campus.campus_country_id }} - {{ campus.campus_region_id }} {{ campus.campus_address1 }}
{{ campus.campus_address2 }}
{{ campus.campus_address3 }}{{ campus.campus_suburb }}
{% endif %} {% if customer_permissions > 0 %}

Organisation Contacts

{% if customer_permissions > 1 %} New Customer {% endif %} {% for customer in customer_results %} {% endfor %}
Name Email
{{ customer.customer_first_name }} {{ customer.customer_last_name }} {{ customer.customer_email }}
{% endif %}

Contact History

Loading...

Email History

Loading...

Document Uploads

Loading...

Organisation Quotes

New Quote {% if quote_results %} {% for row in quote_results %} {% endfor %}
Quote Title Valid Till Quote Stage
{{ row.quote_title }} {{ row.quote_valid_till }} {{ row.quote_stage_id }}
{% endif %}

Associated Projects & Tasks

{% if organisation_permissions > 1 %}

Actions


{% endif %}

Assigned Projects

{% if project_results %} {% for row in project_results %} {% endfor %}
Project ID Project Name Project End Date Project Status
PRO{{ row.project_id }} {{ row.project_name }} {{ row.project_end_date }} {{ row.project_status }}
{% else %}

Sorry. There are currently no projects for this customer

{% endif %}

Assigned Tasks

{% if task_results %} {% for row in task_results %} {% endfor %}
Task ID Task Name Task End Date Task Status
TASK{{ row.task_id }} {{ row.task_short_description }} {{ row.task_end_date }} {{ row.task_status }}
{% else %}

Sorry. There are currently no tasks for this customer.

{% endif %}
{% if opportunity_results %}

Organisation Opportunities

{% for row in opportunity_results %} {% if row.customer_id.customer_id %} {% else %} {% endif %} {% endfor %}
Opportunity Name Customer Opportunity Stage Opportunity End Date
{{ row.opportunity_name }} {{ row.customer_id }} - {{ row.opportunity_stage_id }} {{ row.opportunity_expected_close_date }}
{% endif %} {% if organisation_permissions == 4 %}

DANGER ZONE!

Delete Organisation
{% endif %} {% endblock %}