bean-add icon indicating copy to clipboard operation
bean-add copied to clipboard

Add support for transactions with payees

Open pmarciniak opened this issue 1 year ago • 2 comments

This PR adds an option 'y'. If it's set, transaction entering flow will ask for a payee in addition to description. Entering payees has the same support for defaults and completion as entering descriptions.

Since either payee or description may now legitimately be empty, I've added a special value "-" to not accept the proposed default and enter an empty string instead.

Even with the 'y' option disabled, parsing of transactions is now aware of payees, so it no longer parses broken descriptions like Central Perk" "Scone.

pmarciniak avatar May 26 '23 21:05 pmarciniak

Why do you consider "descriptions" like Central Perk" "Scone broken? I've been using them to indicate payees for years.

simon-v avatar May 27 '23 16:05 simon-v

Yeah, I guess you can use them to enter new transactions, but when you want to search for a transaction with a given description/payee, it becomes a bit more messy. Also, some payees may have multiple descriptions associated with them, and vice versa (e.g. transactions with "Groceries" description may exist for multiple payees), which makes the auto-completion feature work in a suboptimal way.

pmarciniak avatar May 29 '23 08:05 pmarciniak