src/Distilleries/Expendable/Http/Datatables/Language/LanguageDatatable.php 1 location
|
@@ 7-16 (lines=10) @@
|
4 |
|
|
5 |
|
class LanguageDatatable extends BaseDatatable { |
6 |
|
|
7 |
|
public function build() |
8 |
|
{ |
9 |
|
$this |
10 |
|
->add('id', null, trans('expendable::datatable.id')) |
11 |
|
->add('libelle', null, trans('expendable::datatable.libelle')) |
12 |
|
->add('iso', null, trans('expendable::datatable.iso')); |
13 |
|
|
14 |
|
$this->addDefaultAction(); |
15 |
|
|
16 |
|
} |
17 |
|
|
18 |
|
|
19 |
|
public function setClassRow($datatable) |
src/Distilleries/Expendable/Http/Datatables/Role/RoleDatatable.php 1 location
|
@@ 7-16 (lines=10) @@
|
4 |
|
|
5 |
|
class RoleDatatable extends BaseDatatable |
6 |
|
{ |
7 |
|
public function build() |
8 |
|
{ |
9 |
|
$this |
10 |
|
->add('id', null, trans('expendable::datatable.id')) |
11 |
|
->add('libelle', null, trans('expendable::datatable.libelle')) |
12 |
|
->add('initials', null, trans('expendable::datatable.initials')); |
13 |
|
|
14 |
|
$this->addDefaultAction(); |
15 |
|
|
16 |
|
} |
17 |
|
} |