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

Allow User to view and set configuration variables #17

Closed
zeke8402 opened this issue Feb 14, 2016 · 2 comments
Closed

Allow User to view and set configuration variables #17

zeke8402 opened this issue Feb 14, 2016 · 2 comments

Comments

@zeke8402
Copy link
Owner

With the new method of dictating availability, we will allow 15 or 30 minute intervals (in a table for extensibility). We need to create a configuration area for this as well as potential other configuration variables, and allow the user to view and set these (starting with time intervals).

@sopnopriyo
Copy link

currently, the time interval is 30 minutes , so is it hardcoded ? where did you define it ?

@zeke8402
Copy link
Owner Author

zeke8402 commented Jan 7, 2017

It is a manual database entry here:
https://github.com/zeke8402/booking-app/blob/master/database/seeds/TimeIntervalTableSeeder.php
I don't think I set an option to switch it, the app needs to be extended to support it here...
https://github.com/zeke8402/booking-app/blob/master/resources/views/admin/configuration.blade.php

...Another consideration is that we will need to extend the rest of the application to support multiple time metrics, right now it is just minutes, I bet it will be significant work to add hours, days, etc...

I'm not actively developing the project, but if I can find time within the next few weeks to do it, I will update the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants