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

[feature request] Add reservation end date in kiosk to enable overnight reservation #253

Open
r-xyz opened this issue Sep 7, 2024 · 1 comment

Comments

@r-xyz
Copy link
Contributor

r-xyz commented Sep 7, 2024

Hi,
It could be useful to enable the possibility to book an equipment from the kiosk overnight.

It would require to add a new field in NEMO/apps/kiosk/templats/kiosk/tool_reservation.html and modify `NEMO/apps/kiosk/view.py#reserve_tool.

Would a PR be accepted?
If so, could it be enabled by default? I was thinking to auto-fill end_date when start_date is selected, in order not to modify default user experience (end_date=start_date).

@rptmat57
Copy link
Contributor

rptmat57 commented Sep 7, 2024

sure. this will also required changing/fixing the unavailable_times implementation so that it works with different dates (the idea there is that we want to gray out all already reserved times)

r-xyz added a commit to r-xyz/NEMO that referenced this issue Sep 8, 2024
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

2 participants