Keep categories on Zero amount transactions

Discussions about iCompta on macOS
Post Reply
AlecFasani
Posts: 72
Joined: 07 August 2014, 20:23

Keep categories on Zero amount transactions

Post by AlecFasani »

Hi Angeman,

Hope you are well.

That's just a simple question/suggestion/request.

Is there a way to keep the splits category on Zero amount transactions?
At the moment if a transaction has the amount 0 the category disappears.

Sometimes I need to record or schedule transactions with Zero amount so I can know that there is/was no expense related to that category on that particular month.

Having the transaction there, even with 0 amount helps on reports, charts and searches by category not to mention calculating averages.

Cheers
Have a good day.
User avatar
Angeman
Administrateur
Posts: 2302
Joined: 28 December 2008, 21:28
Location: Toulouse, France
Contact:

Re: Keep categories on Zero amount transactions

Post by Angeman »

It's already the case. The "categories progress bar" in the transactions list remains gray when the amount is 0, this is normal but the category is still there.
AlecFasani
Posts: 72
Joined: 07 August 2014, 20:23

Re: Keep categories on Zero amount transactions

Post by AlecFasani »

Angeman wrote: 04 August 2022, 17:47 It's already the case. The "categories progress bar" in the transactions list remains gray when the amount is 0, this is normal but the category is still there.
Ok, I see that.
Is there any particular reason why the progress bar can't keep the category?
Just asking ;-)

Cheers
User avatar
Angeman
Administrateur
Posts: 2302
Joined: 28 December 2008, 21:28
Location: Toulouse, France
Contact:

Re: Keep categories on Zero amount transactions

Post by Angeman »

The progress bar uses the "ratio" field of the splits to draw itself. When the transaction uses the sum of the splits to computes its amount (this box is checked by default), the ratio of the split can't be computed because we have 0 (split amount) divided by 0 (transaction amount). This is why it's not drawn.
AlecFasani
Posts: 72
Joined: 07 August 2014, 20:23

Re: Keep categories on Zero amount transactions

Post by AlecFasani »

Angeman wrote: 12 August 2022, 02:52 The progress bar uses the "ratio" field of the splits to draw itself. When the transaction uses the sum of the splits to computes its amount (this box is checked by default), the ratio of the split can't be computed because we have 0 (split amount) divided by 0 (transaction amount). This is why it's not drawn.
Got it. Thanks ;-)
Post Reply