I need to implement this function for my program.
It's about appointments and dates.
Client will get X appointments. 3,, 6, 9, ...any amount of dates.
It's like credit.... X=3 means 3 appointments.
Then, when 3rd appointment is reached , client can not get more appointments until client gets...