Page 1 of 1

Hesk displays tasks overdue set for today.

Posted: Sun Jan 14, 2024 9:23 pm
by kos6rkn1
Version of script: 3.4.3

Hesk displays tasks overdue set for today. What to change in the code to mark a task as overdue if it has yesterday's date?

Re: Hesk displays tasks overdue set for today.

Posted: Mon Jan 15, 2024 5:10 pm
by Klemen
Due date is interpreted as "due by date" in Hesk, so if you set it to today, it will show as overdue if it is today and it is not resolved.

Rather than modifying the code (in several places) and risking issues and upgrade problems in the future, why don't you just set the date one day later?

If you still want to go down the road of changing the code - there is no simple one-place modification. You will need to find and modify all the instances that set the due date (when submitting, when viewing a ticket, automatically by category, ...). Unfortunately this is not something I can help with, you may need to hire a PHP developer.