Show information on entity button

I tried various configurations but without success.
I would like to display on the entity button the time elapsed since the opening of the ticket and the total.
How to do?


Look at the report expressions, there is an entity time one…

I tried with:
however, the count is reset when the ticket is printed
while to see the total I did not find anything.

Because print bill changes status to bill requested.
If you want time from first open you will need to create a new state flow which is set on ticket created then not changed untill final payment/closing and use that state in the report expression.