From 1d16c548115d25354a69e653695a363de0617cc8 Mon Sep 17 00:00:00 2001 From: ismail Date: Mon, 2 Jun 2025 14:30:03 +0300 Subject: [PATCH] more updates --- .../crm/opportunities/opportunity_detail.html | 28 ++++++++++++------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/templates/crm/opportunities/opportunity_detail.html b/templates/crm/opportunities/opportunity_detail.html index b84db598..f758cee0 100644 --- a/templates/crm/opportunities/opportunity_detail.html +++ b/templates/crm/opportunities/opportunity_detail.html @@ -1,6 +1,14 @@ {% extends 'base.html' %} {% load i18n static humanize %} {% block title %}{{ _("Opportunity Detail") }}{% endblock title %} +{% block customCSS %} + +{% endblock customCSS %} {% block content %}
@@ -79,12 +87,12 @@
    {% for event in opportunity.get_schedules %} -
  • -
    +
  • {{ event.scheduled_type|capfirst }} - {{ event.purpose }} -
-
{{ event.scheduled_at|naturaltime|capfirst }}
+
+ {{ event.purpose|capfirst }} + {{ event.scheduled_at|naturaltime|capfirst }} +
{% empty %}
  • {{ _("No upcoming events") }}
  • @@ -104,7 +112,7 @@
    {{ _("Lead") }}
    {% if opportunity.lead %} - {{ _("View Lead")}}  + {{ _("View Lead")}}  {% else %}

    {{ _("No Lead") }}

    {% endif %} @@ -114,7 +122,7 @@
    {{ _("Estimate") }}
    {% if opportunity.estimate %} - {{ _("View Quotation")}} + {{ _("View Quotation")}} {% else %}

    {{ _("No Estimate") }}

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

    {{ _("No Invoice") }}

    {% endif %} @@ -244,7 +252,7 @@ : - {{ opportunity.customer.phone_number }} + {{ opportunity.lead.phone_number }} @@ -254,7 +262,7 @@ : - {{ opportunity.customer.email}} + {{ opportunity.lead.email}}