From c7c76c2e0b4869d1af6e0c8eef225898798ab821 Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Fri, 18 Oct 2019 18:29:16 +0800 Subject: [PATCH] Bug 797462 - gnc:strify reports the amount and value incorrectly amt and val were incorrectly labelled. swap to match label. --- gnucash/report/report-system/report-utilities.scm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gnucash/report/report-system/report-utilities.scm b/gnucash/report/report-system/report-utilities.scm index 973608af96..c7f506f272 100644 --- a/gnucash/report/report-system/report-utilities.scm +++ b/gnucash/report/report-system/report-utilities.scm @@ -1113,15 +1113,15 @@ flawed. see report-utilities.scm. please update reports.") (format #f "Split" (qof-print-date (xaccTransGetDate txn)) (xaccAccountGetName (xaccSplitGetAccount spl)) - (gnc:monetary->string - (gnc:make-gnc-monetary - (xaccTransGetCurrency txn) - (xaccSplitGetValue spl))) (gnc:monetary->string (gnc:make-gnc-monetary (xaccAccountGetCommodity (xaccSplitGetAccount spl)) - (xaccSplitGetAmount spl)))))) + (xaccSplitGetAmount spl))) + (gnc:monetary->string + (gnc:make-gnc-monetary + (xaccTransGetCurrency txn) + (xaccSplitGetValue spl)))))) (define (trans->str txn) (format #f "Txn" (qof-print-date (xaccTransGetDate txn)))) (define (account->str acc)