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

@@ -9,6 +9,18 @@ use App\Models\Sale\Invoice;
class TotalProfit extends Widget
{
public function getDefaultName()
{
return trans('widgets.total_profit');
}
public function getDefaultSettings()
{
return [
'width' => 'col-md-4',
];
}
public function show()
{
$current_income = $open_invoice = $overdue_invoice = 0;
@@ -59,9 +71,4 @@ class TotalProfit extends Widget
'totals' => $totals,
]);
}
public function getDefaultName()
{
return trans('widgets.total_profit');
}
}