You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-11-03 17:03:46

webmastergreg
Member
Registered: 2010-09-23
Posts: 131
Website

Amount of ticket costs in the solution template?

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

#2 2023-11-04 14:24:26

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: Amount of ticket costs in the solution template?

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

#3 2023-11-06 10:08:53

webmastergreg
Member
Registered: 2010-09-23
Posts: 131
Website

Re: Amount of ticket costs in the solution template?

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

#4 2023-11-07 00:58:28

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: Amount of ticket costs in the solution template?

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

Board footer

Powered by FluxBB