This commit is contained in:
Diatrex 2021-02-17 15:47:38 +03:00
parent d4419e3591
commit 863470032f
2 changed files with 1 additions and 36 deletions

View File

@ -6,13 +6,6 @@ use Visiosoft\AdvsModule\Adv\Table\Views\unfinished;
class AdvTableBuilder extends TableBuilder class AdvTableBuilder extends TableBuilder
{ {
/**
* The table views.
*
* @var array|string
*/
protected $views = [ protected $views = [
'all' => [ 'all' => [
'view' => All::class, 'view' => All::class,
@ -31,25 +24,8 @@ class AdvTableBuilder extends TableBuilder
]; ];
/**
* The table columns.
*
* @var array|string
*/
protected $columns = [];
/**
* The table buttons.
*
* @var array|string
*/
protected $buttons = []; protected $buttons = [];
/**
* The table actions.
*
* @var array|string
*/
protected $actions = [ protected $actions = [
'delete', 'delete',
'approve' => [ 'approve' => [
@ -70,11 +46,6 @@ class AdvTableBuilder extends TableBuilder
], ],
]; ];
/**
* The table options.
*
* @var array
*/
protected $options = [ protected $options = [
'order_by' => [ 'order_by' => [
'id' => 'DESC', 'id' => 'DESC',
@ -82,11 +53,6 @@ class AdvTableBuilder extends TableBuilder
'table_view' => 'visiosoft.module.advs::admin/table/table' 'table_view' => 'visiosoft.module.advs::admin/table/table'
]; ];
/**
* The table assets.
*
* @var array
*/
protected $assets = [ protected $assets = [
'scripts.js' => [ 'scripts.js' => [
'visiosoft.module.advs::js/admin/advanced.js', 'visiosoft.module.advs::js/admin/advanced.js',
@ -96,5 +62,4 @@ class AdvTableBuilder extends TableBuilder
'visiosoft.module.advs::css/admin/filter-user.css', 'visiosoft.module.advs::css/admin/filter-user.css',
], ],
]; ];
} }

View File

@ -42,7 +42,7 @@ class AdvTableButtons
'create_configration' => [ 'create_configration' => [
'text' => trans('visiosoft.module.advs::button.create_configurations'), 'text' => trans('visiosoft.module.advs::button.create_configurations'),
'href' => route('visiosoft.module.advs::configrations.create') . "?ad={entry.id}"] 'href' => route('visiosoft.module.advs::configrations.create') . "?ad={entry.id}"]
] ]
] ]
]); ]);
} }