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]: 'Includes checked out assets' warning label is not showing #838

Open
jurrejansen opened this issue Mar 11, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@jurrejansen
Copy link

jurrejansen commented Mar 11, 2024

Contact Details

[email protected]

What happened?

This came to my attention by a report made by one of our users with a Team subscription (Leonardo Finzi from Laerdal Medical).

If 2 bookings include 1 or more of the same asset(s) and these asset(s) have a Checked out status a warning label should appear on the booking entry in the index. I have tested this and this has stopped working.

BEFORE THE START DATE / TIME OF 2ND BOOKING
https://github.com/Shelf-nu/shelf.nu/assets/76112272/fed7152a-9999-4a22-8f65-5ab5d31f8794

AFTER START DATE / TIME OF 2ND BOOKING
https://github.com/Shelf-nu/shelf.nu/assets/76112272/fa18c8a7-6df2-4d45-8688-bf33a1069a1a

What is the expected behaviour?

I am not exactly how was working the last time this was working. I think once the Start date / time of the 2nd booking arrived the warning label started showing.

However, if we have the opportunity to also improve while fixing this I would like to suggest my original approach that was described in the scenario.

Screenshot 2024-03-11 at 13 05 40

Additionally, sending a automated mail to the Administrators of the workspace warning them about a booking that is due for Check-out today and still includes Checked out assets.

Not sure about the complexities of this though.

Version

Hosted (app.shelf.nu)

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

@jurrejansen jurrejansen added the bug Something isn't working label Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants