Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Income vs. expenses overview graph not correct #1553

Closed
Kail0 opened this issue Jul 16, 2018 · 12 comments
Closed

Income vs. expenses overview graph not correct #1553

Kail0 opened this issue Jul 16, 2018 · 12 comments
Labels
bug Verified and replicated bugs and issues. fixed Bugs that are fixed (in a coming release).

Comments

@Kail0
Copy link

Kail0 commented Jul 16, 2018

I am running Firefly III version 4.7.5.1

The Income vs. expenses overview graph of Default Financial report doesnt show correct data.
July Income is missing and its included in June column. See included screenshots.

layer 2

rectangle 1

@JC5
Copy link
Member

JC5 commented Jul 17, 2018

I haven't been able to reproduce this on the demo site. The current test set contains no deposits, but creating one updates the chart just fine.

See here:

(Please note that the final link may give a 404 because the demo site resets often)

Could you browse to the /flush-page and see if that might work? Otherwise, you might run the following command on the command line:

php artisan cache:clear

If it still doesn't show up, make sure that the account that received the deposit is also included in the report.

@Kail0
Copy link
Author

Kail0 commented Jul 17, 2018

Did /flush and also php artisan cache:clear
None of these have worked.
But it's kinda weird that I found that when I move my deposit after the specific date - 7th. July. It will show up in report. As soon as I move the deposit to any date before the 7th. July, its included in the wrong collumn of graph.

Account is same for all my deposits - bank account (Default asset account)

@JC5
Copy link
Member

JC5 commented Jul 17, 2018

What's the exact URL of the report this is on? Can you copy paste this from the address bar?

@JC5
Copy link
Member

JC5 commented Jul 17, 2018

You can leave out your host name if it's private of course.

@Kail0
Copy link
Author

Kail0 commented Jul 17, 2018

#It's the report from Dashboard - Net Worth panel -
https://domain.com/reports/default/allAssetAccounts/currentYearStart/currentYearEnd

Also tried it from Reports. Same output.
https://domain.com/reports/default/9,10,7,8,31/currentYearStart/currentYearEnd

@Kail0
Copy link
Author

Kail0 commented Jul 17, 2018

Just including screenshot.
As you can see. When I generate report for only one account (one that is receiving all deposits) it will show all deposits I made.
salary

@JC5
Copy link
Member

JC5 commented Jul 17, 2018

I think I know what the problem is. Will keep you posted.

@JC5
Copy link
Member

JC5 commented Jul 17, 2018

Alright, I'm not able to replicate this just yet, but we're getting there. Could you help me out?

  1. Have you set a custom fiscal year?
  2. Given this URL: /reports/default/allAssetAccounts/currentYearStart/currentYearEnd: what is the bread crumb (top of page, Home > Reports > Default financial report between ..). Can you share the entire line?
  3. Did you set the opening balance of the CSOB account to May 7?
  4. Was the first transaction to that account on May 7?

@Kail0
Copy link
Author

Kail0 commented Jul 17, 2018

  1. Nope, I'm not currently using fiscal year option.
  2. Home > Reports > Default financial report between May 7, 2018 and December 31, 2018
  3. Nope. I think I didnt set opening balance. I just started with empty (zero balance) account and made a first transaction: Deposit from 7th July. Then, I added previous transactions (adding entries in this order July > June > May >etc..)
  4. First transaction ever was 4th July.

PS
Excuse my english, I've got a feeling that I could explain that little better.
Also, the whole problem will be definitely only my fault.

Ad.
I just want to take advantage and thank you for this application and great support.

JC5 added a commit that referenced this issue Jul 17, 2018
@JC5
Copy link
Member

JC5 commented Jul 17, 2018

It's OK, I found the issue and I've pushed a fix (see above). You can apply this manually by checking out the differences in the commit. You can also replace the content of the entire file and it should work again.

I'm glad I could help, and happy to see you like the app!

@JC5 JC5 added bug Verified and replicated bugs and issues. fixed Bugs that are fixed (in a coming release). and removed possible bug labels Jul 17, 2018
@Kail0
Copy link
Author

Kail0 commented Jul 17, 2018

It's working! Thank you again.

Enjoy your beer. ^^

@Kail0 Kail0 closed this as completed Jul 17, 2018
@JC5
Copy link
Member

JC5 commented Jul 17, 2018

I will, thanks! 😁

@lock lock bot locked as resolved and limited conversation to collaborators Jan 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Verified and replicated bugs and issues. fixed Bugs that are fixed (in a coming release).
Projects
None yet
Development

No branches or pull requests

2 participants