edit(loans): loan dates now only editable when active or pending - #713
edit(loans): loan dates now only editable when active or pending#713callumlewis05 wants to merge 2 commits into
Conversation
kpsherva
left a comment
There was a problem hiding this comment.
LGTM, could you add a screenshot of changes?
Please try to provide screenshots any time there is a change in the interface, it makes it easier to evaluate in terms of the UX.
Done 👍 |
|
thanks! now it is much easier to understand the change. |
Okay I will look at greying out the button and adding the tooltip if the button is clicked on |
366f288 to
3e3981c
Compare


Loans dates can now only be edited if the loan is active or pending. When the edit button is clicked a popup appears with an error message if the loan is returned or cancelled.
UI after clicking the edit dates return button for each type of loan:
Pending loan:

Cancelled loan:

Item on loan (active):

Returned:
