@view('header', [ 'title' => $transaction->name . ' - Admin - Transactions' ])

{{ $transaction->name }}

@if (is_numeric($transaction->from_account_id)):

From: {{ $transaction->from_account->name }}

@else:

From: {{ $transaction->from_account_id }}

@endif @if (is_numeric($transaction->to_account_id)):

To: {{ $transaction->to_account->name }}

@else:

To: {{ $transaction->to_account_id }}

@endif

Amount: {!! format_money($transaction->amount) !!}

Send at: {{ $transaction->created_at }}

@view('footer')