@extends('layouts.dashboard') @section('title', trans('bank_account.list')) @section('content-dashboard')
@foreach ($bankAccounts as $key => $bankAccount)

{{ $bankAccount->name }}

{{ trans('bank_account.number') }}:
{{ $bankAccount->number }}

{{ trans('bank_account.account_name') }}:
{{ $bankAccount->account_name }}

@if ($bankAccount->description)

{{ trans('app.description') }}:
{{ $bankAccount->description }}

@endif
@endforeach
@if (Request::has('action') == false) {!! html_link_to_route('bank-accounts.index', trans('bank_account.create'), ['action' => 'create'], [ 'class'=>'btn btn-success', 'icon' => 'plus' ]) !!} @endif @includeWhen(Request::has('action'), 'bank-accounts.forms')
@endsection