Include opening hours for follow-up time_spent calculation

This commit is contained in:
Sam Splunks
2024-02-14 10:16:20 +00:00
parent ed6aa132f3
commit 05dfde59cb
4 changed files with 90 additions and 2 deletions

View File

@ -161,6 +161,11 @@ FOLLOWUP_TIME_SPENT_AUTO = getattr(settings,
'HELPDESK_FOLLOWUP_TIME_SPENT_AUTO',
False)
# Calculate time_spent according to open hours
FOLLOWUP_TIME_SPENT_OPENING_HOURS = getattr(settings,
'HELPDESK_FOLLOWUP_TIME_SPENT_OPENING_HOURS',
{})
############################
# options for public pages #
############################