Value/Name for Customer Company Comment

Moderator: crythias

Post Reply
MichaelR
Znuny expert
Posts: 250
Joined: 12 Oct 2010, 01:35
Znuny Version: 3.0.9
Company: LRS Health

Value/Name for Customer Company Comment

Post by MichaelR »

Hey,

When you have zoomed into a ticket, right under the CustomerID on the right, I wish to include the Customer Company Comment.

I have tried

Code: Select all

AgentTicketZoom.dtl
....
<label>$Text{"Comment"}:</label>
<p class="Value" title="$QData{"CustomerCompanyComment"}">$QData{"CustomerCompanyComment", "18"}</p>
<div class="Clear"></div>
....
But that didn't work, and I am thinking I need the right <!-- dtl:block:something-goes-here --> to provide definition for the 'CustomerCompanyComment'

Am I able to do this simply? or does it require something more technical, like a separate piece of code that performs a separate database query?

Reason for doing so: We wish to include a way (when viewing the ticket) to determine if a company has paid their services fee. Which determines if they are more of a high priority or on the 'backburner'. Being able to set this here, is perfect as it can be viewable by any agent, and we only have to update the company's comment once, rather than doing it on a per customer basis.

Cheers,
Michael
OTRS: 3.0.9 & ITSM 3.0.4 - OS: Windows 7 - DB: MySQL - Heaps of random/useful hacks :)
[Major Code Changes]
ArticleFreeTime1-3
Ability to search ArticleFreeText
Post Reply