Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
26 | public function setupListOperation() |
||
27 | { |
||
28 | $this->crud->addColumn([ |
||
29 | 'name' => 'id', |
||
30 | 'type' => 'number', |
||
31 | 'label' => 'ID' |
||
32 | ]); |
||
33 | $this->crud->addColumn([ |
||
34 | 'name' => 'user.full_name', |
||
35 | 'key' => 'full_name', |
||
36 | 'type' => 'text', |
||
37 | 'label' => 'Name' |
||
38 | ]); |
||
39 | $this->crud->addColumn([ |
||
40 | 'name' => 'department.name', |
||
41 | 'type' => 'text', |
||
42 | 'label' => 'Department', |
||
43 | 'limit' => 70 |
||
44 | ]); |
||
67 |