How to not allow clients to book X amount of hours before a job start time for shift job bookings

This video explains how to add a setting for shift job bookings to not allow clients to book X amount of hours before a jobs start time. The purpose of this is to prevent clients from booking a job last minute.