-
Notifications
You must be signed in to change notification settings - Fork 308
Return payday charges for finance reconciliation #4342
Conversation
Stupid question @whit537 do I have to do tests for this page? |
NB this is blocking gratipay/finances#2 among other PRs |
oh @whit537 please review |
www/dashboard/payday.spt
Outdated
from decimal import Decimal as D | ||
|
||
[---] | ||
if user.ADMIN: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say invert this since it's not a part of a page (as before) but the entire page.
if not user.ADMIN:
raise Response(401 if user.ANON else 403)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fair enough will do
Test failures? |
Yep not sure why, going to work on that today. I only changed one line 😦 |
I rebase so I don't know why it is saying out-of-date. ready for review @whit537 et al. |
I pushed the button, no actual changes. |
This all looks good to me. |
Rebased, was 22adf42. |
22adf42
to
c7b7555
Compare
@kaguillera and I are going through this together looking at gratipay/finances#6. |
Alright, this is some kinda messed up. We are now rewriting this dashboard based on the needs for gratipay/finances#6. Basically we want to show all exchanges grouped in several ways (maybe we can do that client-side?). But now we are seeing old, old exchanges with
Fortunately, while @kaguillera was blocking on this PR he went ahead and wrote a script that uses our payday logs to aggregate values, which led us to the realization that we have good data in there for #3912 … which is the 🐰 🕳️ that we are staring down once again. It's soooooooooo far down. 😩 |
This is blocked on #3912, yes? Closing since who knows when we will land that. 😞 |
This is an return of daily payday charges for the financial reconciliation checking. It is different from the original by also breaking down by money processing vendors.