changed positions
This commit is contained in:
@ -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');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user