<div class="form-group{{ $errors->has('customer_id') ? ' has-error' : '' }}">
	{!! Form::label('customer_id', trans('general.usuario')) !!}
	{!! Form::text('employee', isset($bank_account) && $bank_account->customer ? $bank_account->customer->fiscal_reason : (isset($customer->id) ? $customer->fiscal_reason : null), ['class' => 'form-control', 'id' => 'employee', isset($bank_account) || isset($customer->id) ? 'disabled' : '']) !!}
	{!! Form::hidden('customer_id', isset($customer->id) ? $customer->id : null, ['id' =>  'customer_id']) !!}
	@if ($errors->has('customer_id'))
		<span class="help-block">
			<strong>{{ $errors->first('customer_id') }}</strong>
		</span>
	@endif
</div>
<div class="form-group{{ $errors->has('account_name') ? ' has-error' : '' }}">
	{!! Form::label('account_name',  trans('general.accountname')) !!}
	{!! Form::text('account_name', null, ['class' => 'form-control']) !!}
	@if ($errors->has('account_name'))
		<span class="help-block">
			<strong>{{ $errors->first('account_name') }}</strong>
		</span>
	@endif
</div>
<div class="form-group{{ $errors->has('account_number') ? ' has-error' : '' }}">
	{!! Form::label('account_number', trans('general.accountnumber')) !!}
	{!! Form::text('account_number', null, ['class' => 'form-control']) !!}
	@if ($errors->has('account_number'))
		<span class="help-block">
			<strong>{{ $errors->first('account_number') }}</strong>
		</span>
	@endif
</div>
<div class="form-group{{ $errors->has('bank_name') ? ' has-error' : '' }}">
	{!! Form::label('bank_name', trans('general.bankname')) !!}
	{!! Form::text('bank_name', null, ['class' => 'form-control']) !!}
	@if ($errors->has('bank_name'))
		<span class="help-block">
			<strong>{{ $errors->first('bank_name') }}</strong>
		</span>
	@endif
</div>
<div class="pull-right">
	{!! Form::submit(trans('general.save'), ['class' => 'btn btn-success btn-flat']) !!}
	<a href="{{ isset($customer->id) ? asset('/companies/'.$customer->id) : asset('/bank-accounts') }}" type="button" class="btn btn-default btn-flat">{{trans('general.cancel')}}</a>
</div>
