Editing AgentTicketZoom.pm
1. In the beginning of file:
Code: Select all
use Kernel::System::CustomerCompany;
Code: Select all
$Self->{CustomerCompanyObject} = Kernel::System::CustomerCompany->new(%Param);
Code: Select all
my %CustomerCompanyData;
if ( $Ticket{CustomerID} ) {
%CustomerCompanyData = $Self->{CustomerCompanyObject}->CustomerCompanyGet(CustomerID=>$Ticket{CustomerID});
}
$Ticket{CustomerCompanyName}=$CustomerCompanyData{CustomerCompanyName};
$Self->{LayoutObject}->Block(
Name => 'CompanyTable',
Data => \%Ticket,
);
4. AgentTicketZoom.dtl
Code: Select all
<div class="WidgetSimple">
<div class="Header">
<h2>$Text{"Customer Company Information"}</h2>
</div>
<div class="Content">
<!-- dtl:block:CompanyTable -->
<label><strong>$Text{"Company"}: </strong></label>
$QData{"CustomerCompanyName"}
<!-- dtl:block:CompanyTable -->
</div>
</div>
Really hope it helpful and please excuse my English