mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-23 14:26:58 +00:00
Remove optional chart (always enabled)
This commit is contained in:
@@ -165,7 +165,6 @@ class HomeController extends Controller
|
|||||||
/** @var Carbon $end */
|
/** @var Carbon $end */
|
||||||
$end = session('end', Carbon::now()->endOfMonth());
|
$end = session('end', Carbon::now()->endOfMonth());
|
||||||
$accounts = $repository->getAccountsById($frontPage->data);
|
$accounts = $repository->getAccountsById($frontPage->data);
|
||||||
$showDeps = Preferences::get('showDepositsFrontpage', false)->data;
|
|
||||||
$today = new Carbon;
|
$today = new Carbon;
|
||||||
|
|
||||||
// zero bills? Hide some elements from view.
|
// zero bills? Hide some elements from view.
|
||||||
@@ -185,7 +184,7 @@ class HomeController extends Controller
|
|||||||
|
|
||||||
return view(
|
return view(
|
||||||
'index',
|
'index',
|
||||||
compact('count', 'subTitle', 'transactions', 'showDeps', 'billCount', 'start', 'end', 'today')
|
compact('count', 'subTitle', 'transactions', 'billCount', 'start', 'end', 'today')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -164,7 +164,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{# OPTIONAL REVENUE ACCOUNTS #}
|
{# OPTIONAL REVENUE ACCOUNTS #}
|
||||||
{% if showDeps %}
|
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="box-header with-border">
|
<div class="box-header with-border">
|
||||||
<h3 class="box-title"><a href="{{ route('accounts.index',['revenue']) }}"
|
<h3 class="box-title"><a href="{{ route('accounts.index',['revenue']) }}"
|
||||||
@@ -179,7 +178,6 @@
|
|||||||
class="fa fa-download"></i> {{ 'go_to_revenue_accounts'|_ }}</a>
|
class="fa fa-download"></i> {{ 'go_to_revenue_accounts'|_ }}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Reference in New Issue
Block a user