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 'Description' %} | - + {% for transaction_model in transaction_model_qs %}|||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ 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 }} | +|||||
| {% 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 }} | +