Forum Replies Created

Viewing 1 replies (of 1 total)
  • Good idea, but I think this fix is not flexible enough. There should be a way to import as a variable the time variables corresponding to the time off period into the function instead of having to hard code the time. I am doing a website for a client, and she needs to be able to update the time for herself. She has no coding knowledge.

    I don’t know PHP that well, but if you run a foreach loop and for every instance of a timeoff period found within a month you add each time into the function. I do not know if this is possible but it in my mind it is a better more flexible way to go.

Viewing 1 replies (of 1 total)