Summary: | No support for check forms with split protocol | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Ralf Habacker <ralf.habacker> |
Component: | exporter | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | 4.8.4 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | All | ||
Latest Commit: | https://commits.kde.org/kmymoney/d12a2e01a35a44e584fae3e3ef1dd545af74d34a | Version Fixed In: | 4.8.5,5.0.8 |
Sentry Crash Report: | |||
Attachments: | test case |
Description
Ralf Habacker
2019-12-20 19:15:13 UTC
Git commit 9ae5d7c17654dc57b396571ddd630305674ff3a2 by Ralf Habacker. Committed on 20/12/2019 at 19:22. Pushed by habacker into branch '4.8'. printcheck: avoid incorrect replacement of split values Template parameters for split values are now replaced in descending order. If we replace the template parameter 'SPLITVALUE1' before 'SPLITVALUE10', the latter is erroneously overwritten with the value from the former, followed by '0'. M +2 -2 kmymoney/plugins/printcheck/printcheck.cpp https://commits.kde.org/kmymoney/9ae5d7c17654dc57b396571ddd630305674ff3a2 Git commit d12a2e01a35a44e584fae3e3ef1dd545af74d34a by Ralf Habacker, on behalf of Phil Hopkins. Committed on 20/12/2019 at 19:21. Pushed by habacker into branch '4.8'. Adding additional variable to check printing When using check forms that contain a log for record keeping it is needed to print out all of the splits associated with a transaction when printing a check. This cannot be done since the split variables are not present in the check printing plugin. This patch will add the variables SplitAccountName and SplitValue for up to 10 splits within a transaction. The check template will then be able to access the split variables and print them when printing a check. Differential Revision: https://phabricator.kde.org/D23369 FIXED-IN:4.8.5,5.0.7 M +18 -0 kmymoney/plugins/printcheck/printcheck.cpp https://commits.kde.org/kmymoney/d12a2e01a35a44e584fae3e3ef1dd545af74d34a Git commit 8674a3c6471b6c5427910b6773273dcb1490c0f6 by Ralf Habacker. Committed on 20/12/2019 at 19:23. Pushed by habacker into branch '4.8'. print check plugin: Add supported fields to check_all_fields.html template M +12 -0 kmymoney/plugins/printcheck/check_all_fields.html https://commits.kde.org/kmymoney/8674a3c6471b6c5427910b6773273dcb1490c0f6 Git commit 3ed3238d0cbd5f1cf8f51e8adfd4c779448c5585 by Ralf Habacker. Committed on 20/12/2019 at 22:08. Pushed by habacker into branch '4.8'. printcheck plugin: Always replace $MEMO1|2 to avoid being replaced by the value of $MEMO. M +2 -4 kmymoney/plugins/printcheck/printcheck.cpp https://commits.kde.org/kmymoney/3ed3238d0cbd5f1cf8f51e8adfd4c779448c5585 Git commit 3227834a97fc62537a3b60d91c91de1f7ce2dfe7 by Ralf Habacker. Committed on 21/12/2019 at 12:26. Pushed by habacker into branch '5.0'. checkprinting: avoid incorrect replacement of split values Template parameters for split values are now replaced in descending order. If we replace the template parameter 'SPLITVALUE1' before 'SPLITVALUE10', the latter is erroneously overwritten with the value from the former, followed by '0'. Cherry picked from commit 9ae5d7c17654dc57b396571ddd630305674ff3a2 Reviewed By: tbaumgart Differential Revision: https://phabricator.kde.org/D26134 M +2 -2 kmymoney/plugins/checkprinting/checkprinting.cpp https://commits.kde.org/kmymoney/3227834a97fc62537a3b60d91c91de1f7ce2dfe7 Created attachment 124639 [details]
test case
Git commit 2309eb945c2bffb00b874ac8c57dfc73d7b13838 by Thomas Baumgart. Committed on 25/12/2019 at 09:21. Pushed by tbaumgart into branch 'master'. checkprinting: avoid incorrect replacement of split values Template parameters for split values are now replaced in descending order. If we replace the template parameter 'SPLITVALUE1' before 'SPLITVALUE10', the latter is erroneously overwritten with the value from the former, followed by '0'. Cherry picked from commit 9ae5d7c17654dc57b396571ddd630305674ff3a2 Reviewed By: tbaumgart Differential Revision: https://phabricator.kde.org/D26134 (cherry picked from commit 3227834a97fc62537a3b60d91c91de1f7ce2dfe7) M +2 -2 kmymoney/plugins/checkprinting/checkprinting.cpp https://commits.kde.org/kmymoney/2309eb945c2bffb00b874ac8c57dfc73d7b13838 |