From 75808b633b160ae5edeed3a0026954a90116f71d Mon Sep 17 00:00:00 2001 From: Faheedkhan Date: Mon, 2 Jun 2025 16:40:10 +0300 Subject: [PATCH] changes on 2/06 --- .../crm/opportunities/opportunity_detail.html | 48 +++++++------------ 1 file changed, 16 insertions(+), 32 deletions(-) diff --git a/templates/crm/opportunities/opportunity_detail.html b/templates/crm/opportunities/opportunity_detail.html index 68929db0..4c6d700e 100644 --- a/templates/crm/opportunities/opportunity_detail.html +++ b/templates/crm/opportunities/opportunity_detail.html @@ -1,14 +1,6 @@ {% extends 'base.html' %} {% load i18n static humanize %} {% block title %}{{ _("Opportunity Detail") }}{% endblock title %} -{% block customCSS %} - -{% endblock customCSS %} {% block content %}
@@ -87,12 +79,12 @@
    {% for event in opportunity.get_schedules %} -
  • +
  • +
    {{ event.scheduled_type|capfirst }} -
    - {{ event.purpose|capfirst }} - {{ event.scheduled_at|naturaltime|capfirst }} -
    + {{ event.purpose }} +
    +
    {{ event.scheduled_at|naturaltime|capfirst }}
  • {% empty %}
  • {{ _("No upcoming events") }}
  • @@ -107,22 +99,12 @@

    {{ _("Related Records")}}

    -
    -
    -
    {{ _("Lead") }}
    -
    - {% if opportunity.lead %} - {{ _("View Lead")}}  - {% else %} -

    {{ _("No Lead") }}

    - {% endif %} -
    {{ _("Estimate") }}
    {% if opportunity.estimate %} - {{ _("View Quotation")}} + {{ _("View Quotation")}} {% else %}

    {{ _("No Estimate") }}

    {% endif %} @@ -132,7 +114,7 @@
    {{ _("Invoice") }}
    {% if opportunity.estimate.invoice %} - {{ _("View Invoice")}} + {{ _("View Invoice")}} {% else %}

    {{ _("No Invoice") }}

    {% endif %} @@ -183,7 +165,7 @@
    -
    {{CURRENCY}}
    +
    {{CURRENCY}}

    {{ _("Amount") }}

    {{opportunity.amount}}

    @@ -192,7 +174,7 @@
    -
    {{CURRENCY}}
    +
    {{CURRENCY}}

    {{ _("Expected Revenue") }}

    {{opportunity.expected_revenue}}

    @@ -252,7 +234,7 @@
    : - {{ opportunity.lead.phone_number }} + {{ opportunity.customer.phone_number }} @@ -262,7 +244,7 @@
    : - {{ opportunity.lead.email}} + {{ opportunity.customer.email}}
    @@ -450,7 +432,7 @@
    - {% for metting in opportunity.get_meetings %} + {% for metting in opportunity.lead.get_meetings %}
    @@ -472,10 +454,12 @@

    Call

    +
    +
    {{opportunity.get_all_notes}}
    @@ -487,7 +471,7 @@ - {% for call in opportunity.get_calls %} + {% for call in opportunity.lead.get_calls %} @@ -559,7 +543,7 @@ - {% for email in opportunity.get_emails %} + {% for email in opportunity.lead.get_emails %}
    {{call.purpose}} {{call.scheduled_by}}