{!! Form::label('account_name',trans('messages.account').' '.trans('messages.name'))!!} {!! Form::input('text','account_name',isset($user_bank_account) ? $user_bank_account->account_name : '',['class'=>'form-control','placeholder'=>trans('messages.account').' '.trans('messages.name')])!!}
{!! Form::label('account_number',trans('messages.account').' '.trans('messages.number'))!!} {!! Form::input('text','account_number',isset($user_bank_account) ? $user_bank_account->account_number : '',['class'=>'form-control','placeholder'=>trans('messages.account').' '.trans('messages.number')])!!}
{!! Form::label('bank_name',trans('messages.bank').' '.trans('messages.name'))!!} {{-- {!! Form::input('text','bank_name',isset($user_bank_account) ? $user_bank_account->bank_name : '',['class'=>'form-control','placeholder'=>trans('messages.bank').' '.trans('messages.name')])!!} --}} {!! Form::select('bank_name', [null => trans('messages.select_one')] + config('bank'),(isset($user_bank_account) && !empty($user_bank_account->bank_name)) ? $user_bank_account->bank_name : '',['class'=>'form-control'])!!}
{!! Form::label('bank_code',trans('messages.bank').' '.trans('messages.code'))!!} {!! Form::input('text','bank_code',isset($user_bank_account) ? $user_bank_account->bank_code : '',['class'=>'form-control','placeholder'=>trans('messages.bank').' '.trans('messages.code')])!!}
{!! Form::label('bank_branch',trans('messages.bank').' '.trans('messages.branch'))!!} {!! Form::input('text','bank_branch',isset($user_bank_account) ? $user_bank_account->bank_branch : '',['class'=>'form-control','placeholder'=>trans('messages.bank').' '.trans('messages.branch')])!!}
{{ getCustomFields('user-bank-account-form',isset($custom_user_bank_account_field_values) ? $custom_user_bank_account_field_values : []) }}
{!! Form::submit(trans('messages.save'),['class' => 'btn btn-primary pull-right']) !!}