{!! Form::select('relationship_id', relationshipList($user->marital_status_id), $member->relationship_id) !!} |
{!! Form::input('text', 'first_name', $member->first_name, ['style' => 'width:120px']) !!} |
{!! Form::input('text', 'last_name', $member->last_name, ['style' => 'width:120px']) !!} |
{!! Form::input('text', 'dob', date('d-M-Y', strtotime($member->dob)), ['class' => 'date_format inputDateSmall', 'style' => 'width:120px']) !!} |
{!! Form::checkbox('is_nominee', '1', $member->is_nominee) !!} |
@endif
@empty
@endforelse
@if(!is_null($user->marital_status_id))
@if ($counter < 3)
@for($i = 0, $l = 3 - $counter; $i < $l; $i++)
{!! Form::select('relationship_id', relationshipList($user->marital_status_id) )!!} |
{!! Form::input('text', 'first_name', null, ['style' => 'width:120px']) !!} |
{!! Form::input('text', 'last_name', null, ['style' => 'width:120px']) !!} |
{!! Form::input('text', 'dob', null, ['class' => 'date_format inputDateSmall', 'style' => 'width:120px']) !!} |
{!! Form::checkbox('is_nominee', '1') !!} |
@endfor
@endif
@endif