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

Multiple recurring transactions in the same block are not recognized #224

Open avinal opened 2 months ago

avinal commented 2 months ago

Describe your Environment OS: Raspberry Pi OS Bookworm Paisa Version: 0.6.6 App Variant: Web Server

Describe the bug I have multiple recurring rules like this:

= Expenses:Housing:Rent
    ; Recurring: Rent
    ; Period: 1 * ?

= Expenses:Utilities:Water
    ; Recurring: Water
    ; Period: 1 * ?

= Expenses:Utilities:Mobile
    ; Recurring: Postpaid
    ; Period: 3 * ?

= Expenses:Utilities:Electricity
    ; Recurring: Electricity
    ; Period: 3 * ?

Often I pay all the bills on the same day. Recently, I started seeing problem where recurring page does not recognize all transactions put in the same block, for example, my last transaction:

2024/05/07 Rent + Water + Electricity
    Expenses:Housing:Rent                                            xxxxx.00 INR
    Expenses:Utilities:Water                                           xxx.00 INR
    Assets:Checking:SBI                                             -xxxxx.00 INR
    Expenses:Utilities:Mobile                                          xxx.36 INR
    Expenses:Shopping:Electricity                                      xxx.00 INR
    Liabilities:CreditCard:ICICI

If I write the same transaction in different blocks, it shows correctly. It also works fine if other transactions are not recurring. For this particular block, only rent is recognized, (see ss).

Postings page correctly recognizes the recurring transactions though.

Expected behavior It should be okay to add multiple recurring transactions in the same block.

Screenshots 2024-05-07T19:13:58,949439175+05:30 2024-05-07T19 21 37,465783020+05 30