changed positions

This commit is contained in:
denisdulici
2020-01-10 17:49:31 +03:00
parent 134bed0cc6
commit b5519004a0
9 changed files with 108 additions and 66 deletions

View File

@ -8,6 +8,18 @@ use App\Models\Sale\Invoice;
class TotalIncome extends Widget
{
public function getDefaultName()
{
return trans('widgets.total_income');
}
public function getDefaultSettings()
{
return [
'width' => 'col-md-4',
];
}
public function show()
{
$current = $open = $overdue = 0;
@ -40,9 +52,4 @@ class TotalIncome extends Widget
'totals' => $totals,
]);
}
public function getDefaultName()
{
return trans('widgets.total_income');
}
}