How can I show or hide dynamic fields to AgentTicketPending.tt for a specific queue?

Moderator: crythias

Post Reply
smuwanga
Znuny newbie
Posts: 27
Joined: 31 Dec 2014, 10:57
Znuny Version: 5.0.22
Real Name: Simon Peter Muwanga
Company: UgandaSoft
Contact:

How can I show or hide dynamic fields to AgentTicketPending.tt for a specific queue?

Post by smuwanga »

Hello,
Specifications:
1. OTRS 5.0.22
2. Linux Ubuntu 16.0.4 LTS
3. Mysql 5.7

References used: viewtopic.php?t=24116#

I have two queues(Logistics, Medical_Lab). A phone ticket has been generated. When a ticket has been sent to Medical_Lab, a dynamic_field_1 is meant to hidden, and dynamic_field_2 shown under the Pending menu(aka Action=AgentTicketPending).
Question: How can I hide dynamic_field_1 and display the dynamic_field_2 whenever a ticket belongs to the Medical_Lab queue?

NB: I have been able to achieve this on the AgentTicketPhone.tt page, but not succeeded with AgentTicketPending.tt.
So far I have copied the AgentTicketCommon.tt contents into AgentTicketPending.tt, added the Dynamic fields.
Post Reply