-
-
Notifications
You must be signed in to change notification settings - Fork 393
Support simple arithmetic expressions in posting amounts #2648
Copy link
Copy link
Open
Labels
A-WISHSome kind of improvement request or proposal.Some kind of improvement request or proposal.bountyThar's some kind o' loot on offer..Thar's some kind o' loot on offer..journalThe journal file format, and its features.The journal file format, and its features.needs-codeTo unblock: needs code/code updatesTo unblock: needs code/code updates
Description
Metadata
Metadata
Assignees
Labels
A-WISHSome kind of improvement request or proposal.Some kind of improvement request or proposal.bountyThar's some kind o' loot on offer..Thar's some kind o' loot on offer..journalThe journal file format, and its features.The journal file format, and its features.needs-codeTo unblock: needs code/code updatesTo unblock: needs code/code updates
It would be useful if posting amounts could contain simple arithmetic expressions, for example:
Currently this fails with
unexpected '+', requiring the user to calculate and enter$-72.11manually.Supporting basic
+,-,*,/, and parentheses in posting amounts would make journal entries easier to audit because the original component amounts could remain visible.This would be incredibly useful for situations when I have 5 receipts in a section where each is split into base amount (price+tip) and tax (as second line item) which is common in accounting where I live.
Seeing the total at the bottom would make it easier to find the bill. Eg:
Thank you!