Re: [GNC-dev] Customising Transaction Report

2021-08-30 Thread Derek Atkins
Hi, On Mon, August 30, 2021 10:30 am, flywire wrote: > I have modified trep-engine.scm and added two options to the Display tab: > > 1. "Include zero balance accounts" > 2. "Omit zero balance figures" > > (I'd still be happy for an explanation of the correct way of doing it.) > > What code do I ne

Re: [GNC-dev] Customising Transaction Report

2021-08-30 Thread flywire
I have modified trep-engine.scm and added two options to the Display tab: 1. "Include zero balance accounts" 2. "Omit zero balance figures" (I'd still be happy for an explanation of the correct way of doing it.) What code do I need to add to use these options? I have accounts and transactions wi

Re: [GNC-dev] Customising Transaction Report

2021-08-30 Thread flywire
I probably should have added this comment in the source code. I'm not clear how the Transaction Report relates to a derived report: https://github.com/Gnucash/gnucash/blob/maint/gnucash/report/trep-engine.scm#L491 ;; (Feb 2018) Note to future hackers - this gnc:trep-options-generator ;; define

[GNC-dev] Customising Transaction Report

2021-08-30 Thread flywire
The Income Statement (Profit and Loss) has Display Options (Are they called widgets?) for "Include accounts with zero total balances" and "Omit zero balance figures". I assume Transaction Report is an old report developed before these options. Looking through transaction.scm it is very brief, cert