Thanks,
I tried to do it that way
CustomerTicketOverview.pm :
Code: Select all
my $ConfigObject = Kernel::Config->new();
my $EncodeObject = Kernel::System::Encode->new(
ConfigObject => $ConfigObject,
);
my $LogObject = Kernel::System::Log->new(
ConfigObject => $ConfigObject,
EncodeObject => $EncodeObject,
);
my $TimeObject = Kernel::System::Time->new(
ConfigObject => $ConfigObject,
LogObject => $LogObject,
);
my $MainObject = Kernel::System::Main->new(
ConfigObject => $ConfigObject,
EncodeObject => $EncodeObject,
LogObject => $LogObject,
);
my $DBObject = Kernel::System::DB->new(
ConfigObject => $ConfigObject,
EncodeObject => $EncodeObject,
LogObject => $LogObject,
MainObject => $MainObject,
);
my $TicketObject = Kernel::System::Ticket->new(
ConfigObject => $ConfigObject,
LogObject => $LogObject,
DBObject => $DBObject,
MainObject => $MainObject,
TimeObject => $TimeObject,
EncodeObject => $EncodeObject,
GroupObject => $GroupObject, # if given
CustomerUserObject => $CustomerUserObject, # if given
QueueObject => $QueueObject, # if given
);
my $AccountedTime = $TicketObject->TicketAccountedTimeGet(TicketID => 52);
$Self->{supertime} = $AccountedTime;
But my value isn't display in the customer interface
My CustomerTicketOverview.dtl
Code: Select all
<td class="Value">$Data{"supertime"}</td>
I probably doing it wrong but coding is not my speciality and I just need this function
Thanks