This is a migrated thread and some comments may be shown as answers.

Full/Half Resource Bookings

1 Answer 54 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Nick
Top achievements
Rank 1
Nick asked on 20 Aug 2019, 12:24 AM

     I've been tasked with writing a scheduler for football pitches. Each pitch can also be divided into two half pitches. Obviously if a half pitch is booked then the full pitch cannot be booked at the same time and I need to add a 15 minute interval between every booking. So if a half pitch is booked for 2pm the full pitch cannot be booked until 3.15pm (1 hour + 15 minutes). However, someone could book the other half for 2.15pm which means the full pitch would not be available until 3.30pm (2.15 + 1 hour + 15 minutes). I have tried to do this using resources but I cannot work out how to create a resource (pitch) which could be 1st half or 2nd half or full depending on the other bookings (appointments) around it.

Any help / ideas / pointers would be very much appreciated. 

Thank you!

1 Answer, 1 is accepted

Sort by
0
Peter Milchev
Telerik team
answered on 22 Aug 2019, 01:02 PM

Hello Nick,

A possible approach can be using Half 1 and Half 2 as resources. Then, you can enable the Multiple Resource Values as demonstrated here.

Then, when creating a "full pitch" match, you should check the availability in both resources, having in mind the 15minute preparation time, and create an appointment that would have both half 1 and half 2 as resource.

Regards, Peter Milchev
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Scheduler
Asked by
Nick
Top achievements
Rank 1
Answers by
Peter Milchev
Telerik team
Share this question
or