Debug hidden accounts in year reports.

This commit is contained in:
James Cole
2015-03-27 19:37:00 +01:00
parent 45bced7b34
commit 0129a66906

View File

@@ -54,20 +54,22 @@
$end += $balance['end'];
$diff += ($balance['end']-$balance['start']);
?>
@if($balance['hide'] === false)
{{-- @if($balance['hide'] === false) --}}
<tr>
<td>
<a href="{{route('accounts.show',$balance['account']->id)}}">{{{$balance['account']->name}}}</a>
@if($balance['shared'])
<small><em>shared</em></small>
@endif
@if($balance['hide'])
<small><em>hidden</em></small>
@endif
</td>
<td>{!! Amount::format($balance['start']) !!}</td>
<td>{!! Amount::format($balance['end']) !!}</td>
<td>{!! Amount::format($balance['end']-$balance['start']) !!}</td>
</tr>
@endif
{{-- @endif --}}
@endforeach
<tr>
<td><em>Sum of sums</em></td>