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