From dbd2153b182578df5871aba49b97f38e0cdf8429 Mon Sep 17 00:00:00 2001 From: Faheed Date: Thu, 11 Sep 2025 20:42:18 +0300 Subject: [PATCH] new saudi icon missing --- templates/bill/bill_detail.html | 17 ++++++++------- templates/bill/includes/card_bill.html | 10 ++++----- templates/bill/tags/bill_item_formset.html | 6 +++--- templates/bill/tags/bill_table.html | 4 ++-- .../bill/transactions/tags/txs_table.html | 8 +++---- .../crm/opportunities/opportunity_detail.html | 14 ++++++------- .../partials/opportunity_grid.html | 21 ++++++++++++++++--- templates/inventory/car_detail.html | 7 ++++--- templates/ledger/reports/car_sale_report.html | 2 +- templates/ledger/reports/purchase_report.html | 5 +++-- .../purchase_orders/includes/card_po.html | 8 +++---- .../purchase_orders/includes/po_table.html | 3 ++- templates/purchase_orders/po_detail.html | 1 + 13 files changed, 63 insertions(+), 43 deletions(-) diff --git a/templates/bill/bill_detail.html b/templates/bill/bill_detail.html index 391ccc45..c68457ef 100644 --- a/templates/bill/bill_detail.html +++ b/templates/bill/bill_detail.html @@ -3,6 +3,7 @@ {% load static %} {% load django_ledger %} {% load custom_filters %} +{% load tenhal_tag %} {% block title %}{% trans "Bill Details" %}{% endblock %} {% block content %}
@@ -24,7 +25,7 @@ {% endif %}

- {% currency_symbol %}{{ bill.get_amount_cash | absolute | currency_format }} + {{ bill.get_amount_cash | absolute | currency_format }}

{% if bill.accrue %} @@ -39,7 +40,7 @@ {% endif %}

- {% currency_symbol %}{{ bill.get_amount_prepaid | currency_format }} + {{ bill.get_amount_prepaid | currency_format }}

@@ -53,18 +54,18 @@ {% endif %}

- {% currency_symbol %}{{ bill.get_amount_unearned | currency_format }} + {{ bill.get_amount_unearned | currency_format }}

{% trans 'Accrued' %} {{ bill.get_progress | percentage }}
-

{% currency_symbol %}{{ bill.get_amount_earned | currency_format }}

+

{{ bill.get_amount_earned | currency_format }}

{% else %}
{% trans 'You Still Owe' %}

- {% currency_symbol %}{{ bill.get_amount_open | currency_format }} + {{ bill.get_amount_open | currency_format }}

{% endif %} @@ -109,13 +110,13 @@ - {{ bill_item.unit_cost | currency_format }} + {{ bill_item.unit_cost | currency_format }} {{ bill_item.quantity }} - {{ bill_item.total_amount | currency_format }} + {{ bill_item.total_amount | currency_format }} {% if bill_item.po_model_id %} @@ -137,7 +138,7 @@ {% trans 'Total' %} - {% currency_symbol %}{{ total_amount__sum | currency_format }} + {{ total_amount__sum | currency_format }} diff --git a/templates/bill/includes/card_bill.html b/templates/bill/includes/card_bill.html index 99ac835d..4873cba1 100644 --- a/templates/bill/includes/card_bill.html +++ b/templates/bill/includes/card_bill.html @@ -33,10 +33,10 @@

- {% trans 'Amount Due' %}: {% currency_symbol %}{{ bill.get_amount_open | currency_format }} + {% trans 'Amount Due' %}: {{ bill.get_amount_open | currency_format }}

- {% trans 'Amount Paid' %}: {% currency_symbol %}{{ bill.amount_paid | currency_format }} + {% trans 'Amount Paid' %}:  {{ bill.amount_paid | currency_format }}

{% trans 'Progress' %}: {{ bill.get_progress | percentage }}

@@ -116,7 +116,7 @@

{% trans 'Amount Due' %}: - {% currency_symbol %}{{ bill.amount_due | currency_format }} + {{ bill.amount_due | currency_format }}

{% trans 'Due Date' %}: @@ -178,7 +178,7 @@

{% trans 'Amount Paid' %}: - {% currency_symbol %}{{ bill.amount_paid | currency_format }} + {{ bill.amount_paid | currency_format }}

{% trans 'Paid Date' %}: @@ -192,7 +192,7 @@

{% trans 'Bill Amount' %}: - {% currency_symbol %}{{ bill.amount_due | currency_format }} + {{ bill.amount_due | currency_format }}

{{ bill.get_bill_status_display | upper }}

diff --git a/templates/bill/tags/bill_item_formset.html b/templates/bill/tags/bill_item_formset.html index cd26fb00..b834cfb1 100644 --- a/templates/bill/tags/bill_item_formset.html +++ b/templates/bill/tags/bill_item_formset.html @@ -61,7 +61,7 @@ {% if f.instance.po_total_amount %}
- {% currency_symbol %}{{ f.instance.po_total_amount | currency_format }} + {{ f.instance.po_total_amount | currency_format }} {% trans 'View PO' %} @@ -82,7 +82,7 @@ - {% currency_symbol %}{{ f.instance.total_amount | currency_format }} + {{ f.instance.total_amount | currency_format }} @@ -100,7 +100,7 @@ {% trans 'Total' %} - {% currency_symbol %}{{ total_amount__sum | currency_format }} + {{ total_amount__sum | currency_format }} diff --git a/templates/bill/tags/bill_table.html b/templates/bill/tags/bill_table.html index 60159fde..d5121933 100644 --- a/templates/bill/tags/bill_table.html +++ b/templates/bill/tags/bill_table.html @@ -21,8 +21,8 @@ {{ bill.get_bill_status_display }} {{ bill.get_status_action_date }} {{ bill.vendor.vendor_name }} - {% currency_symbol %}{{ bill.amount_due | currency_format }} - {% currency_symbol %}{{ bill.amount_paid | currency_format }} + {{ bill.amount_due | currency_format }} + {{ bill.amount_paid | currency_format }} {% if bill.is_past_due %} {% icon 'bi:check-circle-fill' 24 %} diff --git a/templates/bill/transactions/tags/txs_table.html b/templates/bill/transactions/tags/txs_table.html index ca08fa59..9a9c6e45 100644 --- a/templates/bill/transactions/tags/txs_table.html +++ b/templates/bill/transactions/tags/txs_table.html @@ -38,9 +38,9 @@ {% trans 'Total' %} - {% currency_symbol %}{{ total_credits | currency_format }} + {{ total_credits | currency_format }} - {% currency_symbol %}{{ total_debits | currency_format }} + {{ total_debits | currency_format }} @@ -76,8 +76,8 @@ {% trans 'Total' %} - {% currency_symbol %}{{ total_credits | currency_format }} - {% currency_symbol %}{{ total_debits | currency_format }} + {{ total_credits | currency_format }} + {{ total_debits | currency_format }} diff --git a/templates/crm/opportunities/opportunity_detail.html b/templates/crm/opportunities/opportunity_detail.html index 7ad94a70..3a53ee6f 100644 --- a/templates/crm/opportunities/opportunity_detail.html +++ b/templates/crm/opportunities/opportunity_detail.html @@ -73,7 +73,7 @@
{% if opportunity.car.marked_price %}
- {{ opportunity.car.total }} + {{ opportunity.car.marked_price }}
{% endif %}
@@ -229,7 +229,7 @@
-
+ {% comment %}
@@ -268,7 +268,7 @@
-
+
{% endcomment %}
@@ -513,11 +513,11 @@ data-sort="subject" style="width:31%; min-width:350px">{% trans "Notes" %} - {% trans "Assigned to" %} + min-width:130px">{% trans "Assigned to" %} {% endcomment %}
-
+ {% comment %}

@@ -551,7 +551,7 @@
-
+
{% endcomment %}
diff --git a/templates/crm/opportunities/partials/opportunity_grid.html b/templates/crm/opportunities/partials/opportunity_grid.html index 7594c988..ebe06229 100644 --- a/templates/crm/opportunities/partials/opportunity_grid.html +++ b/templates/crm/opportunities/partials/opportunity_grid.html @@ -24,9 +24,9 @@ {% endif %}
{% if opportunity.customer %} -
Opportunity for {{ opportunity.customer }}
+
{% trans "Opportunity for" %} {{ opportunity.customer }}
{% elif opportunity.organization %} -
Opportunity for {{ opportunity.organization }}
+
{% trans "Opportunity for" %} {{ opportunity.organization }}
{% endif %}
@@ -71,7 +71,7 @@
- + {% comment %} + {% endcomment %} + + +
@@ -83,6 +83,21 @@ {{ opportunity.expected_revenue }}

+
+

+ {% trans "Marked Price" %} +

+ +
+
+

+ {{ opportunity.car.marked_price }} +

+
diff --git a/templates/inventory/car_detail.html b/templates/inventory/car_detail.html index 4b8b0c68..1de0c5a4 100644 --- a/templates/inventory/car_detail.html +++ b/templates/inventory/car_detail.html @@ -1,5 +1,6 @@ {% extends 'base.html' %} {% load i18n static custom_filters %} +{% load tenhal_tag %} {% block title %}{{ _("Car Details") }}{% endblock %} {% block customCSS %}