I would like to add a mod to my support ticket script:
just to add a text that says, depending on the actual time, in how much time we answer.
For example, if the actual time is 1am to 9am, it says, on my index.php: We currently take ~ 3 hours to answer. If the actual time is 9am to 22pm, it says, on osticket: We currently take ~ 1 hour to answer. And if the day is either a Saturday or a Sunday, it says that we take ~ 4 hours to reply.
Would this be possible ? If yes, could anyone code a simple script for me ? I would be very thanskfull
I can't help you with the script, but, here is all you need. I'm assuming that your database will have a timestamp of when the support ticket was entered and when the ticket is closed. All you have to do is find the time between these two.