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

[Bug]: Rendering issues with transaction table #358

Open
SuperVK opened this issue Oct 3, 2024 · 5 comments
Open

[Bug]: Rendering issues with transaction table #358

SuperVK opened this issue Oct 3, 2024 · 5 comments

Comments

@SuperVK
Copy link
Member

SuperVK commented Oct 3, 2024

What browsers are you seeing the problem on?

Microsoft Edge

Is this happening on the SudoSOS point of sale or on the SudoSOS dashboard?

Dashboard

Current behaviour

On profile 14165, there are examples of deleted invoices, and negative initial transfer that are not rendered correctly.

Desired behaviour

The should be the correct color and sign according to their nature.

Steps to reproduce

Go to profile 14165.

Or delete an invoice (and probably other transfer) and have a negative initial transfer

Other information

No response

@RubenLWF
Copy link
Contributor

Hi @SuperVK how would I go about switching to profile 14165? (Do you need admin permissions for this?)
Also, is this on test or production db?

@JustSamuel
Copy link
Contributor

Hi @SuperVK how would I go about switching to profile 14165? (Do you need admin permissions for this?) Also, is this on test or production db?

Test db, and yes you do need admin permissions. Don't you have those?

@RubenLWF
Copy link
Contributor

When I look at the API payload for the login it shows type: "MEMBER" so I don't think so.

Accountname: m10476
Id: 18350

@SuperVK
Copy link
Member Author

SuperVK commented Nov 12, 2024

it is actually the production, sorry for not clarifying. You can see it now here: https://sudosos.gewis.nl/user/14165 I have given you th proper permissions

@RubenLWF
Copy link
Contributor

It looks like the amount of the initial transfer from SuSOS is returned as positive by the API, when it should be negative.
So this is unfortunately not just a rendering issue 🙁

"amount": {
   "amount": 3340,
   "currency": "EUR",
   "precision": 2
}

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

No branches or pull requests

3 participants