hackerspace-bootstrap / strichliste-web

DEPRECATED - frontend for the strichliste api
http://demo.strichliste.org/
MIT License
11 stars 10 forks source link

Amount is wrong when exceeding boundaries until reload #54

Closed schinken closed 9 years ago

schinken commented 9 years ago

On commit c1e5f62 for issue #22 I introduced a bug when the user exceeds the account boundaries. The value is substracted/added on the client side to appear more instant

I think we have to check the boundaries on the client side not just on the server side for this action, using the /settings API endpoint.

breti commented 9 years ago

Same if API is not reachable when user tries to pay. Value changes, but an error message is shown. Not sure if a separate issue is needed to deal with this.

schinken commented 9 years ago

Yep, it's the same

schinken commented 9 years ago

Reminder for myself: Disable/Remove payment buttons if limit is reached or has been exceeded