{% extends "crm/business/list.html" %} {% load i18n %} {% load markup %} {% block title %}{{ business }}{% endblock %} {% block breadcrumb %} {{ block.super }} {% load breadcrumb_tags %} {% if business %} {% add_crumb business 'view_business' business.pk %} {% endif %} {% endblock %} {% block javascript %} {% endblock %} {% block content %}

{{ business }}

{% for location in business.locations.all %} {% for address in location.addresses.all %} {% endfor %} {% for phone in location.phones.all %} {% endfor %} {% endfor %} {% if business.description %} {% endif %} {% if business.notes %} {% endif %}
{{ location.type|capfirst }} Address: {{ address }}
{{ location.type|capfirst }} {{ phone.type|capfirst }}: {{ phone }}
Description: {{ business.description|textile }}
Notes: {{ business.notes|textile }}
{% ifequal business.business_projects.count 0 %}

No projects exist for this {% trans "business" %}. Create one now...

{% else %}

Projects

{% for project in business.business_projects.all %} {% endfor %}
Name Type Status Point Person Description
{{ project.name }} {{ project.type }} {{ project.status }} {{ project.point_person }} {{ project.description }}

New project for {{ business }}...

{% endifequal %} {# {% include 'crm/business/_exchange_list.html' %} #} {% endblock %}