Ver código fonte

[Administration] Support > liste tickets : ajout colonne Messages

feature/souke
Guillaume Bourgeois 1 ano atrás
pai
commit
459c261898
1 arquivos alterados com 6 adições e 0 exclusões
  1. +6
    -0
      backend/views/support/index.php

+ 6
- 0
backend/views/support/index.php Ver arquivo

@@ -108,6 +108,12 @@ $this->addBreadcrumb($this->getTitle());
return Html::a($ticket->subject, ['support/view', 'id' => $ticket->id]);
}
],
[
'label' => 'Messages',
'value' => function ($ticket) {
return count($ticket->ticketMessages);
}
],
[
'attribute' => 'status',
'filter' => [Ticket::STATUS_OPEN => 'Ouvert', Ticket::STATUS_CLOSED => 'Fermé'],

Carregando…
Cancelar
Salvar