{% extends 'base.html' %} {% load i18n static %} {% block title %}{{ _('Leads')|capfirst }}{% endblock title %} {% block content %}
| {{ _("Lead Name")|capfirst }} |
{{ _("Car")|capfirst }}
|
{{ _("email")|capfirst }}
|
{{ _("Phone Number") }}
|
{{ _("Schedule") }}
|
{{ _("Current Action")|capfirst }}
|
{{ _("Next Action")|capfirst }}
|
{{ _("Next Action Date")|capfirst }}
|
{{ _("Assigned To")|capfirst }}
|
{{ _("Source")|capfirst }}
|
{{ _("Channel")|capfirst }}
|
{{ _("Stage")|capfirst }}
|
{{ _("Is Opportunity")|capfirst }}
|
{{ _("Create date") }} | |||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
{{lead.full_name}}
{% if lead.status == "new" %}
{{_("New")}}
{% elif lead.status == "pending" %}
{{_("Pending")}}
{% elif lead.status == "in_progress" %}
{{_("In Progress")}}
{% elif lead.status == "qualified" %}
{{_("Qualified")}}
{% elif lead.status == "contacted" %}
{{_("Contacted")}}
{% elif lead.status == "canceled" %}
{{_("Canceled")}}
{% endif %}
|
{{ lead.id_car_make.get_local_name }} - {{ lead.id_car_model.get_local_name }} {{ lead.year }} | {{ lead.email }} | {{ lead.phone_number }} |
|
{{ lead.get_status|upper }} | {% if lead.next_action %}{{ lead.next_action|upper }}{% endif %} | {% if lead.next_action %}{{ lead.next_action_date|upper }}{% endif %} | {{ lead.staff|upper }} | {{ lead.source|upper }} | {{ lead.channel|upper }} | {% if lead.opportunity.stage == "prospect" %} {{ lead.opportunity.stage|upper }} {% elif lead.opportunity.stage == "proposal" %} {{ lead.opportunity.stage|upper }} {% elif lead.opportunity.stage == "negotiation" %} {{ lead.opportunity.stage|upper }} {% elif lead.opportunity.stage == "closed_won" %} {{ lead.opportunity.stage|upper }} {% elif lead.opportunity.stage == "closed_lost" %} {{ lead.opportunity.stage|upper }} {% endif %} | {% if lead.opportunity %} View Details {% else %} {{ _("No") }} {% endif %} |
{% if user == lead.staff.user or request.is_dealer %}
{% if perms.inventory.change_lead %}
{% trans "Edit" %}
{% endif %}
{% trans "Send Email" %}
{% trans "Schedule Event" %}
{% if not lead.opportunity %}
{% trans "Convert" %}
{% endif %}
{% if perms.inventory.delete_lead %}
{% endif %}
|