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

@ -8,17 +8,11 @@ use App\Models\Sale\Invoice;
class TotalIncome extends Widget
{
public function getDefaultName()
{
return trans('widgets.total_income');
}
public $default_name = 'widgets.total_income';
public function getDefaultSettings()
{
return [
'width' => 'col-md-4',
];
}
public $views = [
'header' => 'partials.widgets.stats_header',
];
public function show()
{