diff --git a/car_inventory/__pycache__/settings.cpython-311.pyc b/car_inventory/__pycache__/settings.cpython-311.pyc
index b9c2ef37..e19a2f9c 100644
Binary files a/car_inventory/__pycache__/settings.cpython-311.pyc and b/car_inventory/__pycache__/settings.cpython-311.pyc differ
diff --git a/static/images/.DS_Store b/static/images/.DS_Store
index f18dfd41..9d90f072 100644
Binary files a/static/images/.DS_Store and b/static/images/.DS_Store differ
diff --git a/templates/sales/estimates/estimate_detail.html b/templates/sales/estimates/estimate_detail.html
index b6b53fa5..1eccd8f6 100644
--- a/templates/sales/estimates/estimate_detail.html
+++ b/templates/sales/estimates/estimate_detail.html
@@ -212,27 +212,27 @@
| {% trans "Vat" %} ({{data.vat|percentage}}) |
- + {{data.total_vat_amount|floatformat}}
+ + {{data.total_vat_amount|floatformat}} {{ CURRENCY }}
|
| {% trans "Discount Amount" %} |
- - {{data.total_discount|floatformat}}
+ - {{data.total_discount|floatformat}} {{ CURRENCY }}
|
| {% trans "Additional Services" %} |
{% for service in data.additionals %}
- + {{service.name}} - {{service.price_|floatformat}}
+ + {{service.name}} - {{service.price_|floatformat}} {{ CURRENCY }}
{% endfor %}
|
| {% trans "Grand Total" %} |
- {{data.grand_total|floatformat}}
+ {{data.grand_total|floatformat}} {{ CURRENCY }}
|
diff --git a/templates/sales/invoices/invoice_detail.html b/templates/sales/invoices/invoice_detail.html
index 31f0a1bb..66a8dccd 100644
--- a/templates/sales/invoices/invoice_detail.html
+++ b/templates/sales/invoices/invoice_detail.html
@@ -158,9 +158,9 @@
{% trans 'Due Amount' %}
{% if invoice.is_paid %}
-
{{invoice.amount_due}} {{ CURRENCY }}
+
{{invoice.amount_due|floatformat}} {{ CURRENCY }}
{% else %}
-
{{invoice.amount_due}} {{ CURRENCY }}
+
{{invoice.amount_due|floatformat}} {{ CURRENCY }}
{% endif %}
@@ -260,27 +260,27 @@
| {% trans "Discount Amount" %} |
- - {{data.total_discount}}
+ - {{data.total_discount|floatformat}} {{ CURRENCY }}
|
| {% trans "VAT" %} ({{data.vat}}%) |
- + {{data.total_vat_amount}}
+ + {{data.total_vat_amount|floatformat}} {{ CURRENCY }}
|
| {% trans "Additional Services" %} |
{% for service in data.additionals %}
- + {{service.name}} - {{service.price_}}
+ + {{service.name}} - {{service.price_|floatformat}} {{ CURRENCY }}
{% endfor %}
|
| {% trans "Grand Total" %} |
- {{data.grand_total}}
+ {{data.grand_total|floatformat}} {{ CURRENCY }}
|
diff --git a/templates/sales/invoices/invoice_preview.html b/templates/sales/invoices/invoice_preview.html
index 2ff17de8..29b905ec 100644
--- a/templates/sales/invoices/invoice_preview.html
+++ b/templates/sales/invoices/invoice_preview.html
@@ -195,16 +195,16 @@
{{ item.make }} - {{ item.model }} - {{ item.trim }} |
{{ item.year }} |
{{ item.vin }} |
- {{ item.quantity|floatformat:-1 }} |
- {{ item.unit_price|floatformat:2 }} |
- {{ item.total_vat|floatformat:2 }} |
+ {{ item.quantity|floatformat }} |
+ {{ item.unit_price|floatformat }} |
+ {{ item.total_vat|floatformat }} |
{% endfor %}
|
- {{ data.quantity|floatformat:-1 }} |
- {{ data.total_price|floatformat:2 }} |
- {{ data.total_vat|floatformat:2 }} |
+ {{ data.quantity|floatformat }} |
+ {{ data.total_price|floatformat }} |
+ {{ data.total_vat|floatformat }} |
@@ -229,8 +229,8 @@
{% for item in data.additionals %}
| {{ item.name }} |
- {{ item.price|floatformat:2 }} |
- {{ item.price_|floatformat:2 }} |
+ {{ item.price|floatformat }} |
+ {{ item.price_|floatformat }} |
{% endfor %}
@@ -242,12 +242,12 @@
| VAT |
- {{ data.total_vat_amount|floatformat:2 }} {{ CURRENCY }} |
+ {{ data.total_vat_amount|floatformat }} {{ CURRENCY }} |
ضريبة القيمة المضافة |
| Total |
- {{ data.grand_total|floatformat:2 }} {{ CURRENCY }} |
+ {{ data.grand_total|floatformat }} {{ CURRENCY }} |
الإجمالي |
diff --git a/templates/sales/orders/purchase_order.html b/templates/sales/orders/purchase_order.html
index a7353cbc..f0a9b386 100644
--- a/templates/sales/orders/purchase_order.html
+++ b/templates/sales/orders/purchase_order.html
@@ -1,3 +1,4 @@
+{% load i18n custom_filters %}
{% block customCSS %}