These are chat archives for alariva/timegridDevelopment

7th
Nov 2016
Ariel Vallese
@alariva
Nov 07 2016 05:40
Hi everybody, I'm working on PHP7 support, and it seems to bring many things to tackle down, specially now under Travis builds configuration.
Ive raised this question on StackOverflow also reflected on this Github issue. If you happen to have a hint on this it'll be welcome! ;)
swbittib
@swbittib
Nov 07 2016 17:09
Hello, can you please explain how is managed an appointment time? It is not very clear how the guest can choose a time (hour of the day) in the desired day. Thanks!
Ariel Vallese
@alariva
Nov 07 2016 17:12
Hi @swbittib , timegrid is intended to be used in several ways to manage the availability. I can set-up an example for your use-case in DEMO and explain how is it managed. What kind of business would you manage? (a typical case would be for example hairdresser/spa)
swbittib
@swbittib
Nov 07 2016 17:17
@alariva yes I'd like to see a demo. how?
Ariel Vallese
@alariva
Nov 07 2016 17:17
Basically, each business can have a set of Services handled by one or more Human Resources (staff members). Then you have to set the availability for it.
swbittib
@swbittib
Nov 07 2016 17:18
yes, this is clear...
Ariel Vallese
@alariva
Nov 07 2016 17:18
If you have registered to demo.timegrid.io I can set up a sample business with services and availability for you and send you the explanation on how to do it (documentation in-progress)
What kind of business would you be trying to configure?
swbittib
@swbittib
Nov 07 2016 17:20
question is: In page user/agenda/book?behalfOfId=1 how the system manage the time? Can the guest choose time of the day (not only date)?
Ariel Vallese
@alariva
Nov 07 2016 17:22
Yes, time and date, but since there are also businesses that only require date, you are probably having a dateslot booking strategy configured instead of timeslot. Don't worry, I'll clarify on this.
Let's go step-by-step
swbittib
@swbittib
Nov 07 2016 17:23
thanks
Ariel Vallese
@alariva
Nov 07 2016 17:23
I'll do all this in demo and then grant you ownership of that sample business
swbittib
@swbittib
Nov 07 2016 17:24
I can see "Timeslot Step" set to 0
Ariel Vallese
@alariva
Nov 07 2016 17:24
Yes
swbittib
@swbittib
Nov 07 2016 17:24
need 1?
Ariel Vallese
@alariva
Nov 07 2016 17:24
No, that's the number of minutes you want the timeslots to get divided.
swbittib
@swbittib
Nov 07 2016 17:25
ok, yes...
Ariel Vallese
@alariva
Nov 07 2016 17:25
If it's 0 it will try to use the slots as they are available. Example: Say a service takes 35 minutes and there is a booking of it at 9.00 am. The next available slot is at 9.35.
swbittib
@swbittib
Nov 07 2016 17:26
yes clear thanks
Ariel Vallese
@alariva
Nov 07 2016 17:26
If it is set to 30, the slots will be 9.00, 9.30, 10.00 and so on, but since you have taken the first 35 min already, you are using 2 slots and "wasting" 25 minutes.
I'll call your business in demo "Swbittib", ok?
swbittib
@swbittib
Nov 07 2016 17:27
ok!
Ariel Vallese
@alariva
Nov 07 2016 17:28
Using timezone Rome
I'll put Hairdresser as category
swbittib
@swbittib
Nov 07 2016 17:28
perfect
Ariel Vallese
@alariva
Nov 07 2016 17:28
since it uses timeslot booking strategy instead of dateslot. You will see that in the code.
I'm sorry this is not clear from UI perspective
swbittib
@swbittib
Nov 07 2016 17:29
how Can I configure timeslot? where?
Ariel Vallese
@alariva
Nov 07 2016 17:29
You currently can't through the UI, but by picking a correct Category.
swbittib
@swbittib
Nov 07 2016 17:30
oh ok
Ariel Vallese
@alariva
Nov 07 2016 17:30
For development purposes
swbittib
@swbittib
Nov 07 2016 17:30
so I can see that options in db, right?
Ariel Vallese
@alariva
Nov 07 2016 17:30
there is a column called strategy in the businesses table
yes, sure
swbittib
@swbittib
Nov 07 2016 17:30
table categories -> strategy
Ariel Vallese
@alariva
Nov 07 2016 17:30
AND, you will see that each category has a strategy associated
yes
swbittib
@swbittib
Nov 07 2016 17:31
thanks! I'll try on my istance
Ariel Vallese
@alariva
Nov 07 2016 17:31
I'd suggest to always use timeslot, since most of businesses use that method.
swbittib
@swbittib
Nov 07 2016 17:31
yes...
Ariel Vallese
@alariva
Nov 07 2016 17:33
Take a look here
swbittib
@swbittib
Nov 07 2016 17:34
done... thanks for support!
Ariel Vallese
@alariva
Nov 07 2016 17:34
Nice :) Glad to hear that
Let me know any other concerns I may help on, and I'll also try to provide a clear user-documentation as soon as possible.
swbittib
@swbittib
Nov 07 2016 17:36
The proposed times are based on the availability of human resources based on their availability?
Ariel Vallese
@alariva
Nov 07 2016 17:37
Yes, that can be a bit tricky to learn
But once you get it I think it's pretty easy
the idea behind this is that one person (Human Resource) get's busy for any booked service, so can do for instance a HairCut and Color, and both services take part of her time, without risking time overlapping.
swbittib
@swbittib
Nov 07 2016 17:39
ok!
Ariel Vallese
@alariva
Nov 07 2016 17:40
There is a simple (less flexible) way to set HHRR availability, and an advanced mode (more flexible) but probably a bit tricky to learn.
If you want that, make sure that Use Advanced Mode To Publish Vacancies is Yes in yout business preferences.
You can create an availability sheet that get's published each Sunday with cron (you need to configure a line in cron).
... and set Enable Vacancy Autopublish to Yes
swbittib
@swbittib
Nov 07 2016 17:44
I set "Hairdresser" on my custom but I see a different page as https://demo.timegrid.io/swbittib/user/agenda/book#
Ariel Vallese
@alariva
Nov 07 2016 17:44
Do you have an screenshot?
If you changed it directly from database, just be aware that that value might be cached.
swbittib
@swbittib
Nov 07 2016 17:47
blob
Ariel Vallese
@alariva
Nov 07 2016 17:48
Yes, that is using the dateslot strategy
swbittib
@swbittib
Nov 07 2016 17:48
so it is cached?
Ariel Vallese
@alariva
Nov 07 2016 17:48
Did you change it in the businesses table ?
swbittib
@swbittib
Nov 07 2016 17:48
no...
Ariel Vallese
@alariva
Nov 07 2016 17:48
Change it there
the one in the Categories is taken on when the business is registered
swbittib
@swbittib
Nov 07 2016 17:49
in Business profile edit of admin UI
oh understand, this wan't update businesses
Ariel Vallese
@alariva
Nov 07 2016 17:50
Oh, I see
yeah, the strategy won't change
can you manually change it from DB ?
swbittib
@swbittib
Nov 07 2016 17:51
yes, done
work!
Ariel Vallese
@alariva
Nov 07 2016 17:51
This is to avoid businesses messing up their booking strategy once set.. but I think this could be improved.
swbittib
@swbittib
Nov 07 2016 17:52
yes, thanks a lot!
Ariel Vallese
@alariva
Nov 07 2016 17:52
:)
So, yeah, for Dentist should be pretty similar case of a hairdresser or consultant
swbittib
@swbittib
Nov 07 2016 17:54
nice!
Ariel Vallese
@alariva
Nov 07 2016 17:54
:)