where('slug', "!=", NULL); } protected $views = []; /** * The table filters. * * @var array|string */ protected $filters = [ 'search' => [ 'fields' => [ 'name', 'advs_desc' ] ], 'country', ]; /** * 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' => [ 'handler' => \Visiosoft\AdvsModule\Adv\Table\Handler\Approve::class, 'class' => 'btn btn-success' ], 'decline' => [ 'handler' => \Visiosoft\AdvsModule\Adv\Table\Handler\Decline::class, 'class' => 'btn btn-danger' ], 'extend' => [ 'handler' => \Visiosoft\AdvsModule\Adv\Table\Handler\Extend::class, 'class' => 'btn btn-info' ], ]; /** * The table options. * * @var array */ protected $options = [ 'order_by' => [ 'id' => 'DESC', ], ]; /** * The table assets. * * @var array */ protected $assets = []; }