You are not logged in.
Good morning,
I am trying to display the cost(s) assigned to the ticket in the solution template.
But I can't find which tags to use to report the values in the template branch dedicated to the solution.
The file in question: /templates/components/itilobject/timeline/form_solution.html.twig
It must be something like this {{ tickets_id['ticketcost'] }} but I don't really understand the principle in the template branch, and above all I can't find anything about it in the GLPI documentation...apart from the description of the CommonITILCost Class
Thanks in advance
GLPI 10.0.7 / LSWS Enterprise 6.1.2 + PHP 8.1.25 with Zend OPcache + MariaDB 10.3.39 / CENTOS 7.9
Offline
There is a link under the text box in solution templates which lists the available tags. Ticket cost information is not available in templates at this 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
ok thanks a lot
is this planned in the future?
GLPI 10.0.7 / LSWS Enterprise 6.1.2 + PHP 8.1.25 with Zend OPcache + MariaDB 10.3.39 / CENTOS 7.9
Offline
This isn't specifically on the roadmap.
You can make the suggestion on the suggestion website, or upvote it if someone else already suggested it.
Otherwise, we always welcome code contributions.
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