tgrosinger / ledger-obsidian

Plain text accounting in Obsidian.md
GNU General Public License v3.0
388 stars 38 forks source link

Fix «Add to ledger» → «Income» #72

Open JoshuaLonuzzo opened 2 months ago

JoshuaLonuzzo commented 2 months ago

Discussed in https://github.com/tgrosinger/ledger-obsidian/discussions/65

Originally posted by **Light-Feather79** December 17, 2023 Hello, bro! Thank you very much for your plugin! I have found one little mistake in the plugin. I've been studying C# for 4 months and don't know JS syntax at all. However, I tried to solve this problem, and I believe I've succeeded. The issue was adding income to the 'Expense Account' instead of the 'Income Account.' I've changed two lines, and I believe it works correctly now. The modified lines are shown in the screens. ![image](https://github.com/tgrosinger/ledger-obsidian/assets/116806093/37f1bf03-378c-41fc-bea2-2d987d3cc953) ![image](https://github.com/tgrosinger/ledger-obsidian/assets/116806093/83633f8c-5b11-4f0d-b243-fc0fbb3e64f1) ![image](https://github.com/tgrosinger/ledger-obsidian/assets/116806093/2f9a3c9d-3713-4895-b862-e0e9fb404c49)