Conditions | 1 |
Paths | 1 |
Total Lines | 20 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
25 | public function setupListOperation() |
||
1 ignored issue
–
show
|
|||
26 | { |
||
27 | $this->crud->removeButton('update'); |
||
28 | |||
29 | $this->crud->addColumn([ |
||
30 | 'name' => 'user.name', |
||
31 | 'key' => 'user_name', |
||
32 | 'type' => 'text', |
||
33 | 'label' => 'Name' |
||
34 | ]); |
||
35 | $this->crud->addColumn([ |
||
36 | 'name' => 'user.email', |
||
37 | 'key' => 'user_email', |
||
38 | 'type' => 'text', |
||
39 | 'label' => 'Email' |
||
40 | ]); |
||
41 | |||
42 | $this->crud->addButtonFromView('line', 'create_job_poster', 'create_job_poster', 'beginning'); |
||
43 | // Add the custom blade button found in resources/views/vendor/backpack/crud/buttons/profile_edit.blade.php. |
||
44 | $this->crud->addButtonFromView('line', 'profile_edit', 'profile_edit', 'end'); |
||
45 | } |
||
47 |