@extends('hr_main') @section('title', '| '.$data['title']) @section('content')
|
@if ($isDisabled)
@endif
{!! $data['attributes']['bank_id'] !!}
{!! Form::select(
'bank_id[]',
['' => 'Select any'] + $data['banks'],
isset($account) ? $account->bank_id : null,
['disabled', 'class' => 'form-control bank_id', 'onchange' => 'getBankBranch(' . ++$k . ', this)']
) !!}
{!! $data['attributes']['branch'] !!}
{!! Form::select(
'branch[]',
['' => 'Select any'] + (isset($account->bank_id) ? $data['branchUnderBank'][$account->bank_id] : []),
isset($account->bank_id) ? $account->branch : null,
['disabled', 'class' => 'form-control', 'id' => 'branch_for_' . $k, 'type' => 'text']
) !!}
{!! $data['attributes']['account_type'] !!}
{!! Form::select(
'account_type[]',
['' => 'Select any'] + $data['account_types'],
isset($account) ? $account->account_type : null,
['disabled', 'class' => 'form-control account_type']
) !!}
{!! $data['attributes']['account_no'] !!}
{!! Form::text('account_no[]', isset($account) ? $account->account_no : null, [
'disabled',
'class' => 'form-control account_no',
'type' => 'text',
'placeholder' => $data['placeholder']['account_no']
]) !!}
account_type, [4,5])) hidden @endif>
Routing Number
{!! Form::text(
'routing_numbers[]',
isset($account) && !empty($account->routing_number) ? $account->routing_number : '',
['disabled', 'class' => 'form-control routing_number', 'placeholder' => 'Routing Number']
) !!}
{!! $data['attributes']['effect_date'] !!}
{!! Form::text(
'effect_date[]',
isset($account) && !empty($account->effect_date) ? date('d-m-Y', strtotime($account->effect_date)) : '',
['disabled', 'class' => 'form-control datepicker', 'placeholder' => $data['placeholder']['effect_date']]
) !!}
|