瀏覽代碼

[Administration] Support > liste tickets : ajout colonne Messages

feature/souke
Guillaume Bourgeois 1 年之前
父節點
當前提交
459c261898
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. +6
    -0
      backend/views/support/index.php

+ 6
- 0
backend/views/support/index.php 查看文件

@@ -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é'],

Loading…
取消
儲存