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
{
/**
* The table views.
*
* @var array|string
*/
protected $views = [
'all' => [
'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 = [];
/**
* The table actions.
*
* @var array|string
*/
protected $actions = [
'delete',
'approve' => [
@ -70,11 +46,6 @@ class AdvTableBuilder extends TableBuilder
],
];
/**
* The table options.
*
* @var array
*/
protected $options = [
'order_by' => [
'id' => 'DESC',
@ -82,11 +53,6 @@ class AdvTableBuilder extends TableBuilder
'table_view' => 'visiosoft.module.advs::admin/table/table'
];
/**
* The table assets.
*
* @var array
*/
protected $assets = [
'scripts.js' => [
'visiosoft.module.advs::js/admin/advanced.js',
@ -96,5 +62,4 @@ class AdvTableBuilder extends TableBuilder
'visiosoft.module.advs::css/admin/filter-user.css',
],
];
}

View File

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