Commit 9970cc92 authored by Johan Cwiklinski's avatar Johan Cwiklinski

Display comment in SLA tooltip; fxes #3321

parent de360257
......@@ -263,11 +263,11 @@ abstract class LevelAgreement extends CommonDBChild {
echo "<i class='fa fa-clock-o slt'></i>";
echo Dropdown::getDropdownName(static::getTable(),
$ticket->fields[$laField])."&nbsp;";
$comment = "";
$comment = $this->fields['comment'];
$level = new static::$levelclass();
$nextaction = new static::$levelticketclass();
if ($nextaction->getFromDBForTicket($ticket->fields["id"], $type)) {
$comment .= '<span class="b spaced">'.
$comment .= '<br/><span class="b spaced">'.
sprintf(__('Next escalation: %s'),
Html::convDateTime($nextaction->fields['date'])).
'</span><br>';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment