You are not logged in.
Hello,
I'm setting up notifications and I'd like to display ticket duration in hours.
Now I'm using variable ##ticket.time##, which looks like the sum of duration of all tasks.
But if in the ticket there are 3 tasks, two of 10 hours and one of four hours ##ticket.time## renders 1 day 4 hours.
Is there a way to display such interval in hours or I have to modify the source code?
Cheers!
Offline
This information cannot be formatted in another way currently.
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
Strangely I can't find reference of ##ticket.time## in the source code (I forked the bugfix branch)
Offline
It is in "src/NotificationTargetCommonITILObject.php" as "##$objettype.time##".
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline