@foreach($transactions as $journal) @if(is_null($journal->type)) @if($journal->transactiontype->type == 'Withdrawal') @endif @if($journal->transactiontype->type == 'Deposit') @endif @if($journal->transactiontype->type == 'Transfer') @endif @else @if($journal->type == 'Withdrawal') @endif @if($journal->type == 'Deposit') @endif @if($journal->type == 'Transfer') @endif @endif {{{$journal->description}}} {!! Amount::formatJournal($journal) !!} @endforeach