{% extends 'base.html' %} {% load i18n static %} {% block content %}

{{ _("Opportunity details")}}

{% if opportunity.car %}

{{ opportunity.car.id_car_make.get_local_name }} - {{ opportunity.car.id_car_model.get_local_name }} - {{ opportunity.car.year }}

{% endif %}

{{ opportunity.customer.customer_name }}

{% if opportunity.car.finances %}
{{ opportunity.car.finances.total }} {{ CURRENCY }}
{% endif %}
{% if opportunity.car.id_car_make.logo %} {% endif %}
{{ opportunity.staff.get_local_name}}
{{ opportunity.get_stage_display }}{{ opportunity.get_status_display }}

{{ opportunity.get_status_display }}

{{ opportunity.created}}

{{ _("Other Information")}}

{{ _("Status") }}
{{ _("Update Status")}}
{{status_form.status}}
{{ _("Stage") }}
{{ _("Update Stage")}}
{{status_form.stage}}

{{ _("Quotation Amount") }}

{% if opportunity.estimate %} {{ opportunity.estimate.get_invoiced_amount.invoice_amount_paid__sum }} {% endif %}

Code

PHO1234

Type

New Business

Probability (%)

:

{{ opportunity.probability }}

{{ _("Estimated Revenue") }}

:{{opportunity.estimate.get_revenue_estimate}}

{{ opportunity.car.finances.revenue }}

{{ _("Phone Number") }}

: {{ opportunity.customer.phone }}

{{ _("Email") }}

: {{ opportunity.customer.email}}

{{ _("Contact Name")}}

:
{{ opportunity.customer.get_full_name}}

{{ _("Staff") }}

:
{{ opportunity.staff.get_local_name}}

{{ _("Create Date")}}

:
{{ opportunity.created|date}}

{{ _("Closing Date")}}

:
{{ opportunity.closing_date|date}}

Activity

{% for activity in opportunity.lead.get_activities %}
{% if activity.activity_type == "call" %} {% elif activity.activity_type == "email" %} {% elif activity.activity_type == "visit" %} {% elif activity.activity_type == "whatsapp" %} {% endif %}
{{activity.created}}

{% endfor %}

Notes

{% csrf_token %}
{% for note in notes %}

{{ note.note }}

{{note.created}}

by{{note.created_by}}

{% endfor %}

Meeting

23 tasks

{% for metting in opportunity.lead.get_meetings %}

{{metting.purpose}}

{{metting.scheduled_at}} - {{meeting.duration}}
{% endfor %}

Call

{% for call in opportunity.lead.get_calls %} {% endfor %}
Purpose Scheduled By Created at
{{call.purpose}} {{call.scheduled_by}} {{call.created_at}}

Emails

{% for email in opportunity.lead.get_emails %} {% endfor %}
Subject Sent by Date Action Status
{{email.subject}}
{{email.to_email}}
{{email.from_email}} {{email.created}} Call sent

Attachments

Silly_sight_1.png

768kB| Shantinan Mekalan | 21st Dec, 12:56 PM

All_images.zip

12.8 mB|Yves Tanguy | 19th Dec, 08:56 PM

Project.txt

123 kB| Shantinan Mekalan | 12th Dec, 12:56 PM

{% endblock %}