From 0859bb325551ea43cc34bc001df9eb8883f2cd97 Mon Sep 17 00:00:00 2001 From: Faheedkhan Date: Wed, 18 Jun 2025 14:47:16 +0300 Subject: [PATCH] update3 --- templates/bill/bill_detail.html | 6 +- .../bill/transactions/tags/txs_table.html | 58 +++++++++---------- templates/purchase_orders/po_form.html | 2 +- 3 files changed, 33 insertions(+), 33 deletions(-) diff --git a/templates/bill/bill_detail.html b/templates/bill/bill_detail.html index 2d913320..31715ed9 100644 --- a/templates/bill/bill_detail.html +++ b/templates/bill/bill_detail.html @@ -152,7 +152,7 @@ {% trans 'PO' %} - + {% for bill_item in itemtxs_qs %} @@ -171,7 +171,7 @@ - {% currency_symbol %}{{ bill_item.unit_cost | currency_format }} + {{ bill_item.unit_cost | currency_format }} @@ -179,7 +179,7 @@ - {% currency_symbol %}{{ bill_item.total_amount | currency_format }} + {{ bill_item.total_amount | currency_format }} diff --git a/templates/bill/transactions/tags/txs_table.html b/templates/bill/transactions/tags/txs_table.html index c0e9cd70..019e9cf4 100644 --- a/templates/bill/transactions/tags/txs_table.html +++ b/templates/bill/transactions/tags/txs_table.html @@ -2,6 +2,7 @@ {% load django_ledger %} {% if style == 'detail' %} +
@@ -15,24 +16,24 @@ - + {% for transaction_model in transaction_model_qs %} - - - - - - - + + + + + + + {% endfor %} - - - - - + + + + +
{% trans 'Description' %}
{{ transaction_model.timestamp }}{{ transaction_model.account_code }}{{ transaction_model.account_name }}{% if transaction_model.entity_unit_name %}{{ transaction_model.entity_unit_name }}{% endif %}{% if transaction_model.is_credit %}${{ transaction_model.amount | currency_format }}{% endif %}{% if transaction_model.is_debit %}${{ transaction_model.amount | currency_format }}{% endif %}{% if transaction_model.description %}{{ transaction_model.description }}{% endif %}{{ transaction_model.timestamp }}{{ transaction_model.account_code }}{{ transaction_model.account_name }}{% if transaction_model.entity_unit_name %}{{ transaction_model.entity_unit_name }}{% endif %}{% if transaction_model.is_credit %}{{ transaction_model.amount | currency_format }}{% endif %}{% if transaction_model.is_debit %}{{ transaction_model.amount | currency_format }}{% endif %}{% if transaction_model.description %}{{ transaction_model.description }}{% endif %}
{% trans 'Total' %}{% currency_symbol %}{{ total_credits | currency_format }}{% currency_symbol %}{{ total_debits | currency_format }}{% trans 'Total' %}{% currency_symbol %}{{ total_credits | currency_format }}{% currency_symbol %}{{ total_debits | currency_format }}
@@ -42,29 +43,28 @@ - - - - - + + + + - + {% for transaction_model in transaction_model_qs %} - - - - - + + + + + {% endfor %} - - - - - + + + + +
{% trans 'Account' %}{% trans 'Account Name' %}{% trans 'Credit' %}{% trans 'Debit' %}{% trans 'Description' %}{% trans 'Account Name' %}{% trans 'Credit' %}{% trans 'Debit' %}{% trans 'Description' %}
{{ transaction_model.account_code }}{{ transaction_model.account_name }}{% if transaction_model.is_credit %}${{ transaction_model.amount | currency_format }}{% endif %}{% if transaction_model.is_debit %}${{ transaction_model.amount | currency_format }}{% endif %}{% if transaction_model.description %}{{ transaction_model.description }}{% endif %}{{ transaction_model.account_code }}{{ transaction_model.account_name }}{% if transaction_model.is_credit %}{{ transaction_model.amount | currency_format }}{% endif %}{% if transaction_model.is_debit %}{{ transaction_model.amount | currency_format }}{% endif %}{% if transaction_model.description %}{{ transaction_model.description }}{% endif %}
{% trans 'Total' %}{% currency_symbol %}{{ total_credits | currency_format }}{% currency_symbol %}{{ total_debits | currency_format }}{% trans 'Total' %}{% currency_symbol %}{{ total_credits | currency_format }}{% currency_symbol %}{{ total_debits | currency_format }}
diff --git a/templates/purchase_orders/po_form.html b/templates/purchase_orders/po_form.html index 044a59a8..e29d2dcf 100644 --- a/templates/purchase_orders/po_form.html +++ b/templates/purchase_orders/po_form.html @@ -10,7 +10,7 @@ {% endif %} {% endblock %} {% block content %} -
+