From be9f4f3d83c29e2763a77de1b2c9263c5bac7df3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Mon, 13 Apr 2026 16:53:45 +0800 Subject: [PATCH] Fix the receipt and transfer journal entry details to show credit_total instead of debit_total for the credit section total --- .../templates/accounting/journal-entry/receipt/detail.html | 4 ++-- .../templates/accounting/journal-entry/transfer/detail.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/accounting/templates/accounting/journal-entry/receipt/detail.html b/src/accounting/templates/accounting/journal-entry/receipt/detail.html index 6ebd9e2..18d225c 100644 --- a/src/accounting/templates/accounting/journal-entry/receipt/detail.html +++ b/src/accounting/templates/accounting/journal-entry/receipt/detail.html @@ -2,7 +2,7 @@ The Mia! Accounting Project detail.html: The cash receipt journal entry detail - Copyright (c) 2023 imacat. + Copyright (c) 2023-2026 imacat. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -41,7 +41,7 @@ First written: 2023/2/26
  • {{ A_("Total") }}
    -
    {{ currency.debit_total|accounting_format_amount }}
    +
    {{ currency.credit_total|accounting_format_amount }}
  • diff --git a/src/accounting/templates/accounting/journal-entry/transfer/detail.html b/src/accounting/templates/accounting/journal-entry/transfer/detail.html index c6502a4..786b722 100644 --- a/src/accounting/templates/accounting/journal-entry/transfer/detail.html +++ b/src/accounting/templates/accounting/journal-entry/transfer/detail.html @@ -2,7 +2,7 @@ The Mia! Accounting Project detail.html: The transfer journal entry detail - Copyright (c) 2023 imacat. + Copyright (c) 2023-2026 imacat. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -53,7 +53,7 @@ First written: 2023/2/26
  • {{ A_("Total") }}
    -
    {{ currency.debit_total|accounting_format_amount }}
    +
    {{ currency.credit_total|accounting_format_amount }}