Skip to content
New issue

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

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

Already on GitHub? # to your account

Outstanding bills not displayed on Bill page #428

Open
mimorita opened this issue Oct 18, 2019 · 3 comments
Open

Outstanding bills not displayed on Bill page #428

mimorita opened this issue Oct 18, 2019 · 3 comments

Comments

@mimorita
Copy link

At /staff/billing/bills/outstanding/

Some outstanding bills are not showing. The two that I noticed are Bill 17082 and Bill 17073. Both should show in the Subscriptions Due section.

@jsayles
Copy link
Member

jsayles commented Oct 18, 2019

Yes, this is a pretty serious bug. The issue is that at one point we changed up the billing page to rely on hidden fields that keep track of the bill amount. For some reason on these two those fields were not calculated correctly. That is the bug although I don't see anything here to tell me why this was.

The work-around is to go to the bill -> admin -> save. You don't need to make any changes, just open the bill in the admin console and save it. This triggers the hidden fields to be recalculated. The Recalculated button does something else.

Both of those bugs are now showing but this bug is not closed until the underlying cause is fixed.

@mimorita
Copy link
Author

Ok, thanks. Is there a way to discover what bills might not be displayed, but should be? I am afraid of missing them.

@jsayles
Copy link
Member

jsayles commented Oct 18, 2019

I recalculated all the caches for all the bills over all the time and 3 more bills popped up: 17015, 14284, 17030 totaling $130 in lost revenue from this bug. So that at least shows us this isn't an isolated case but also isn't too damaging.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants