Control total hours reserved from a particular customer

Control total hours reserved from a particular customer

Hi,

For services like classes, training or similar, the user pay for xx amount of hours in the month or the year.
IT will be great have the option to control the hours scheduled by the customer and does not permit to make a new appointment if the total hours are already scheduled

Also if the customer is not in the CRM, restrict the option to make an appoiment.