Reversed from flot/plot back to high charts. Cleaned up the index.

This commit is contained in:
James Cole
2014-09-10 20:54:01 +02:00
parent 3068a8d58d
commit 5788db9f07
5 changed files with 310 additions and 52 deletions

View File

@@ -0,0 +1,27 @@
<div class="list-group">
@foreach($transactions as $journal)
<a class="list-group-item" href="{{route('transactions.show',$journal->id)}}">
@if($journal->transactiontype->type == 'Withdrawal')
<i class="fa fa-long-arrow-left fa-fw" title="Withdrawal"></i>
@endif
@if($journal->transactiontype->type == 'Deposit')
<i class="fa fa-long-arrow-right fa-fw" title="Deposit"></i>
@endif
@if($journal->transactiontype->type == 'Transfer')
<i class="fa fa-arrows-h fa-fw" title="Transfer"></i>
@endif
{{{$journal->description}}}
<span class="pull-right small">
@foreach($journal->transactions as $t)
@if($t->account_id == $account->id)
{{mf($t->amount)}}
@endif
@endforeach
</span>
</a>
@endforeach
</div>