in the DashboardEventsTicketCalendar.pm is set the color by
Code: Select all
$Data{Color} = $Self->{TicketColors}->
I will setup colors for each different Owner.
Cheers
Thomas
Moderator: crythias
Code: Select all
$Data{Color} = $Self->{TicketColors}->
Code: Select all
$LayoutObject->Block(
Name => 'CalendarEvent',
Data => \%Data,
);
Code: Select all
$Data{EYear} = $1;
$Data{EMonth} = $2 - 1;
$Data{EDay} = $3;
$Data{EHour} = $4;
$Data{EMinute} = $5;
$Data{ESecond} = $6;
$Data{Color} = "#09C";
$Data{AllDay} = 'false';
$Data{Url} = "index.pl?Action=AgentTicketZoom;TicketID=$TicketID
$Data{QueueName} = $QueuesAll{ $TicketDetail{QueueID} };
Code: Select all
$Data{EYear} = $1;
$Data{EMonth} = $2 - 1;
$Data{EDay} = $3;
$Data{EHour} = $4;
$Data{EMinute} = $5;
$Data{ESecond} = $6;
if ($TicketDetail{Type} eq 'MyTicketType') {
$Data{Color} = "#930";
} else {
$Data{Color} = "#09C";
}
$Data{AllDay} = 'false';
$Data{Url} = "index.pl?Action=AgentTicketZoom;TicketID=$TicketID;
$Data{QueueName} = $QueuesAll{ $TicketDetail{QueueID} };