updated widgets

This commit is contained in:
denisdulici
2020-01-16 00:42:20 +03:00
parent 546cff476d
commit 0430dc5f36
20 changed files with 79 additions and 128 deletions

View File

@ -7,17 +7,11 @@ use App\Models\Setting\Category;
class IncomeByCategory extends Widget
{
public function getDefaultName()
{
return trans('widgets.income_by_category');
}
public $default_name = 'widgets.income_by_category';
public function getDefaultSettings()
{
return [
'width' => 'col-md-6',
];
}
public $default_settings = [
'width' => 'col-md-6',
];
public function show()
{