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