ananthakumaran / paisa

Paisa – Personal Finance Manager. https://paisa.fyi demo: https://demo.paisa.fyi
https://paisa.fyi
GNU Affero General Public License v3.0
2.24k stars 111 forks source link

Budgets not working #185

Closed Noisycall closed 4 months ago

Noisycall commented 4 months ago

Describe your Environment OS: Ubuntu 22.04 Paisa Version: 0.6.6 App Variant: CLI

Describe the bug The budgets page does not show anything despite configuring budgets

To Reproduce Steps to reproduce the behavior:

  1. Add a periodic budget entry (of any kind, something as simple as ~ Monthly)
  2. Save the ledger
  3. Navigate to Expenses>Budget
  4. Shows that I need to configure budgets

Expected behavior Should be able to see the budgets that I had configured

Screenshots Main Budget image

Budget Page image

Journal

2024/02/01 Example Transaction
    Expenses    5000 INR
    Assets:Checking
~ Monthly
    Expenses                                   50000 INR
    Assets:Checking
ananthakumaran commented 4 months ago

@Noisycall could you try something similar to what's used in the demo. Also use something like Expenses:Food, I don't know if the issue is due to just using Expenses without any sub-account name.

image

Noisycall commented 4 months ago

You are right, I don't know why I didn't try this, but I didn't realize this would be a special case. Thanks! Would category-less be considered something that would be added.

ananthakumaran commented 4 months ago

I would suggest just using a generic name like Expenses:All, that would work out for your intended use case, assuming you are not interested in the breakdown. Supporting only the top level would be tricky and not worth the effort from my perspective as there is a clean workaround.

Noisycall commented 4 months ago

Cool. Makes sense. Thanks again 👍🏻