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

Change logic to enable/disable loan extend button #78

Open
kpsherva opened this issue Jun 19, 2020 · 0 comments
Open

Change logic to enable/disable loan extend button #78

kpsherva opened this issue Jun 19, 2020 · 0 comments
Labels

Comments

@kpsherva
Copy link
Contributor

kpsherva commented Jun 19, 2020

Originally posted by @kprzerwa in #65

In the patron profile page, in the list of current ongoing loans, the button "Request extension" is enabled/disabled depending on some conditions. The idea is to move all conditions, if possible, to backend. The results should return for example:

{

... is_too_early: true/false

}

This can be achieved via REST serializers.

@kpsherva kpsherva added good first issue Good for newcomers refactor labels Jun 19, 2020
@kpsherva kpsherva changed the title IMO this should come from the backend, but maybe good enough for now This line should come from the backend, but maybe good enough for now Jun 22, 2020
@ntarocco ntarocco changed the title This line should come from the backend, but maybe good enough for now Change logic to enable/disable loan extend button Jun 22, 2020
@kpsherva kpsherva removed the good first issue Good for newcomers label Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant