Fix the receipt and transfer journal entry details to show credit_total instead of debit_total for the credit section total

This commit is contained in:
2026-04-13 16:53:45 +08:00
parent dc42a05959
commit be9f4f3d83
2 changed files with 4 additions and 4 deletions
@@ -2,7 +2,7 @@
The Mia! Accounting Project The Mia! Accounting Project
detail.html: The cash receipt journal entry detail 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"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@@ -41,7 +41,7 @@ First written: 2023/2/26
<li class="list-group-item accounting-journal-entry-line-item accounting-journal-entry-line-item-total"> <li class="list-group-item accounting-journal-entry-line-item accounting-journal-entry-line-item-total">
<div class="d-flex justify-content-between"> <div class="d-flex justify-content-between">
<div>{{ A_("Total") }}</div> <div>{{ A_("Total") }}</div>
<div>{{ currency.debit_total|accounting_format_amount }}</div> <div>{{ currency.credit_total|accounting_format_amount }}</div>
</div> </div>
</li> </li>
</ul> </ul>
@@ -2,7 +2,7 @@
The Mia! Accounting Project The Mia! Accounting Project
detail.html: The transfer journal entry detail 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"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@@ -53,7 +53,7 @@ First written: 2023/2/26
<li class="list-group-item accounting-journal-entry-line-item accounting-journal-entry-line-item-total"> <li class="list-group-item accounting-journal-entry-line-item accounting-journal-entry-line-item-total">
<div class="d-flex justify-content-between"> <div class="d-flex justify-content-between">
<div>{{ A_("Total") }}</div> <div>{{ A_("Total") }}</div>
<div>{{ currency.debit_total|accounting_format_amount }}</div> <div>{{ currency.credit_total|accounting_format_amount }}</div>
</div> </div>
</li> </li>
</ul> </ul>