mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Small functional changes to all Account related methods and views.
This commit is contained in:
@@ -20,33 +20,23 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
||||
@if(count($accounts['personal']) > 0)
|
||||
<h3>Your accounts</h3>
|
||||
<p style="width:50%;" class="text-info">
|
||||
These are your personal accounts.
|
||||
</p>
|
||||
|
||||
@include('accounts.list',['accounts' => $accounts['personal']])
|
||||
@endif
|
||||
|
||||
@if(count($accounts['beneficiaries']) > 0)
|
||||
<h3>Beneficiaries</h3>
|
||||
<p style="width:50%;" class="text-info">
|
||||
These are beneficiaries; places where you spend money or people who pay you.
|
||||
</p>
|
||||
|
||||
@include('accounts.list',['accounts' => $accounts['beneficiaries']])
|
||||
@endif
|
||||
|
||||
<h3>Initial balances</h3>
|
||||
<p style="width:50%;" class="text-info">
|
||||
These are system accounts; created to add balance to the books when you add a personal account
|
||||
which already has money in it. That money has to come from somewhere.
|
||||
</p>
|
||||
@include('accounts.list',['accounts' => $accounts['initial']])
|
||||
|
||||
<h3>Cash</h3>
|
||||
<p style="width:50%;" class="text-info">
|
||||
This is a system account. When you don't specify a beneficiary or draw many from an ATM (or put cash in your
|
||||
personal accounts) it gets added or drawn from this account.
|
||||
</p>
|
||||
@include('accounts.list',['accounts' => $accounts['cash']])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -62,6 +62,7 @@
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-6 col-sm-12">
|
||||
<table class="table table-striped table-condensed">
|
||||
@if(count($show['statistics']['accounts']) > 0)
|
||||
<tr>
|
||||
<td style="width:30%;">Related accounts</td>
|
||||
<td>
|
||||
@@ -70,22 +71,27 @@
|
||||
@endforeach
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if(count($show['statistics']['categories']) > 0)
|
||||
<tr>
|
||||
<td>Related categories</td>
|
||||
<td>
|
||||
@foreach($show['statistics']['categories'] as $cat)
|
||||
<a href="#category-overview" class="btn btn-default btn-xs">{{{$cat->name}}}</a>
|
||||
<a href="{{route('categories.show',$cat->id)}}" class="btn btn-default btn-xs">{{{$cat->name}}}</a>
|
||||
@endforeach
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if(count($show['statistics']['budgets']) > 0)
|
||||
<tr>
|
||||
<td>Related budgets</td>
|
||||
<td>
|
||||
@foreach($show['statistics']['budgets'] as $bud)
|
||||
<a href="#budget-overview" class="btn btn-default btn-xs">{{{$bud->name}}}</a>
|
||||
<a href="{{route('budgets.show',$bud->id)}}" class="btn btn-default btn-xs">{{{$bud->name}}}</a>
|
||||
@endforeach
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user