gnucash stable: Bug 799602 - Unit Price on Invoice will NOT display as decimals
John Ralls
jralls at code.gnucash.org
Mon May 12 17:39:56 EDT 2025
Updated via https://github.com/Gnucash/gnucash/commit/2219befd (commit)
from https://github.com/Gnucash/gnucash/commit/9ea1734c (commit)
commit 2219befd984e8708f712c74cd34045fc45b6cdb5
Author: John Ralls <jralls at ceridwen.us>
Date: Sun May 11 14:39:02 2025 -0700
Bug 799602 - Unit Price on Invoice will NOT display as decimals
Add a new form gnc:price->string to complement gnc:monetary->string
that uses the gnc-price-print-info and so observes the
price-force-decimal preference. Add an eguile form fmtprice that wraps
it and replace fmtmoney with fmtprice when printing the unit price in
the tas invoice report.
diff --git a/gnucash/report/reports/support/taxinvoice.eguile.scm b/gnucash/report/reports/support/taxinvoice.eguile.scm
index e3483f570a..7c358a3b8a 100644
--- a/gnucash/report/reports/support/taxinvoice.eguile.scm
+++ b/gnucash/report/reports/support/taxinvoice.eguile.scm
@@ -331,7 +331,7 @@
<td align="right"><?scm:d (fmtnumeric qty) ?></td>
<?scm )) ?>
<?scm (if (or units? qty? discount?) (begin ?>
- <td align="right"><?scm:d (fmtmoney currency each) ?></td>
+ <td align="right"><?scm:d (nbsp (gnc:default-price-renderer currency each)) ?></td>
<?scm )) ?>
<?scm (if discount? (begin ?>
<?scm (if (equal? disctype GNC-AMT-TYPE-VALUE) (begin ?>
Summary of changes:
gnucash/report/reports/support/taxinvoice.eguile.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list