@view('header', [ 'title' => 'Accounts - Admin' ])

Accounts

@if (count($accounts) > 0): @view('pagination', [ 'page' => $page, 'last_page' => $last_page ])
@foreach ($accounts as $account):

{{ $account->name }}

Amount: {!! format_money($account->amount) !!} @if ($account->type == Accounts::TYPE_SAVE): SAVE ACCOUNT @endif @if ($account->type == Accounts::TYPE_PAYMENT): PAYMENT ACCOUNT @endif

@endforeach
@view('pagination', [ 'page' => $page, 'last_page' => $last_page ]) @else:

There are no accounts found

@endif @view('footer')