bradyt / cone

A ledger.
https://cone.tangential.info
20 stars 5 forks source link

Entering metadata to transactions #88

Open octvs opened 1 year ago

octvs commented 1 year ago

I would like to enter some metadata to entries I'm logging, this could be done as if it is another account taking part in the transaction without an amount accompanying it. As here:

account0, 10.00 
account1, -10.00 
; :TAG:, <null>

where each line corresponds to a line on the transaction entry view of the app. Without a metadata line the same transaction could have been logged as:

account0, 10.00 
account1, <null>

This is expected and compatible with ledger syntax, since the second amount would be assumed as -10. It would be more practical to parse the ; there so that it is excepted from the balance requirement and the entry could have been done as here:

account0, 10.00 
account1, <null>
; :TAG:, <null>

Which is a bit more practical and would look leaner on the ledger file. Currently an attempt to create such a transaction has the save button grayed out.

Please let me know if it is already possible in another way, which I couldn't figure out.

Note: I couldn't reach to the webpage or find where the IRC channel would be so the question ended up here.

version: 0.2.20 on Android