From d53d2fb44e347b30ff6c3cce784a9d2f8bb88e3d Mon Sep 17 00:00:00 2001 From: Mark Whalley Date: Sat, 16 Nov 2024 16:06:57 +0000 Subject: [PATCH] fix(#6954): split notes reporting for transaction detail --- contrib.txt | 1 + src/filtertrans.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib.txt b/contrib.txt index bff280a7b0..5ce5c404b0 100644 --- a/contrib.txt +++ b/contrib.txt @@ -248,6 +248,7 @@ Stephan Kasslatter Panagiotis Theodosopoulos Antonis Vithoulkas Jean-Michel Louiset +Marino Lippi ### 2023 Renato diff --git a/src/filtertrans.cpp b/src/filtertrans.cpp index 9a75f6fe83..caea2de4a1 100644 --- a/src/filtertrans.cpp +++ b/src/filtertrans.cpp @@ -1,5 +1,5 @@ /******************************************************* -Copyright (C) 2021-2022 Mark Whalley (mark@ipx.co.uk) +Copyright (C) 2021-2024 Mark Whalley (mark@ipx.co.uk) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -155,6 +155,7 @@ wxString mmFilterTransactions::getHTML() { full_tran.CATEGNAME = Model_Category::full_name(split.CATEGID); full_tran.TRANSAMOUNT = split.SPLITTRANSAMOUNT; + full_tran.NOTES.Append((tran.NOTES.IsEmpty() ? "" : " ") + split.NOTES); _trans.push_back(full_tran); } }