Hide accounts with no activity in budget report.

This commit is contained in:
James Cole
2015-03-27 13:36:33 +01:00
parent 52ce4cd313
commit f7969afc22
2 changed files with 11 additions and 2 deletions

View File

@@ -60,7 +60,12 @@
$accountSums = [];
?>
@foreach($accounts as $account)
<th><a href="{{route('accounts.show',$account->id)}}">{{{$account->name}}}</a></th>
<th><a href="{{route('accounts.show',$account->id)}}">{{{$account->name}}}</a>
@if($account->hide === true)
<small>(hidden)</small>
@endif
</th>
<?php
$accountSums[$account->id] = 0;
?>