The code that is used for the block time is as follows:
scheduler.blockTime(new Date(2012,3,16), [1*60,10*60 + 30,19*60 + 00,24*60], { "unit" : 627029 });
scheduler.blockTime(new Date(2012,3,17), [1*60,10*60 + 30,19*60 + 00,24*60], { "unit" : 627029 });
scheduler.blockTime(new Date(2012,3,16), [1*60, 7*60,16*60 + 00,24*60], { "unit" : 6270120610204017 });
scheduler.blockTime(new Date(2012,3,17), [1*60, 7*60,16*60 + 00,24*60], { "unit" : 6270120610204017 });
scheduler.blockTime(new Date(2012,3,17), [1*60, 7*60,16*60 + 00,24*60], { "unit" : 6270129309224494 });
scheduler.blockTime(new Date(2012,3,16), [1*60,10*60 + 30,19*60 + 00,24*60], { "unit" : 6270799084317622 });
scheduler.blockTime(new Date(2012,3,17), [1*60,10*60 + 30,19*60 + 00,24*60], { "unit" : 6270799084317622 });
This is the code for the lables of the units:
var sections=[
{key:627025, label:"Annique"},
{key:627029, label:"Busi"},
{key:6270120610204017, label:"Fumane"},
{key:6270129309224494, label:"Ntombi"},
{key:6270799084317622, label:"Tshego"}];
The screen that opens are as follows:
You will see that Annique does not have times that is suppose to be blocked, but it is, and Fumane, is suppose to be blocked but its not.
Then I click on the next button to go to the following day and i see the following screen:
Again Annique shows blocked times and she is not suppose to have block times and Busi and Fumane is suppose to have blocked times and there is none, and if you move from date to date the blocktimes moves around from person to person
I have 3 different units
You will also see that to make the block time appear in the correct area i have to generate the date a month earlier, but I allowed for that in my code.
Please let me know what else I can show you to help sort this issue. Thank you for your help.
Kind Regards
Ria