{!! Form::open(array('name' => 'searchForm', 'class' => 'searchForm', 'url' => 'mfn/bank/list', 'method' => 'GET')) !!}
{{--
{!! Form::label('keyword', 'Keyword:', ['class' => 'control-label']) !!}
{!! Form::text('keyword', request()->all('keyword')['keyword'] ?? '', ['class' => 'form-control', 'id' => 'keyword', 'type' => 'text']) !!}
--}}
@if ( count($data['branches'])>1)
{!! Form::label('branch', 'Branch:', ['class' => 'control-label']) !!}
{!! Form::select('branchId', count($data['branches'])>1 ? array('' => 'Select') + ($data['branches']) : ($data['branches']), request()->all('branchId')['branchId'] ?? '' , array('class'=>'form-control', 'id' => 'branchId')) !!}
@endif
{!! Form::label('samity', 'Samity:', ['class' => 'control-label']) !!}
{!! Form::select('samityId', array('' => 'Select') + ($data['samity']), request()->all('samityId')['samityId'] ?? '', array('class'=>'form-control', 'id' => 'samityId')) !!}
{!! Form::label('', '', ['class' => 'control-label']) !!}
{!! Form::submit('Search ', ['id' => 'submit', 'class' => 'btn btn-search']) !!}
{!! Form::close() !!}
{{-- form start --}}
@if (isset($data['members']) && !empty($data['members']))
{!! Form::open(['url' => '','method'=>'post', 'id'=>'bankAddForm']) !!}
@php
$memberSl = 1;
@endphp
@foreach ($data['members'] as $member)
{{-- {!! Form::hidden('memberId', $member->id) !!} --}}
@endforeach
| Effective Date:* |
{!! Form::text("effectiveDate", (isset($bankAccount->effectiveDate) && $bankAccount->effectiveDate) ? date('d-m-Y', strtotime(@$bankAccount->effectiveDate)) : null, ['class' => 'text-center form-control datepicker', 'readonly' => 'readonly', 'id' => 'effectiveDate']) !!} |
|
|
{!! Form::close() !!}
@endif
{{-- form end --}}