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