{!! Form::open(array('role' => 'form', 'files'=>'false', 'class'=>'form-horizontal form-groups')) !!}
Warning: Undefined variable $data in /home/shikkhaplus/public_html/guk_bk/resources/views/hr/pfloan/form.blade.php on line 9

Warning: Trying to access array offset on value of type null in /home/shikkhaplus/public_html/guk_bk/resources/views/hr/pfloan/form.blade.php on line 9

Warning: Trying to access array offset on value of type null in /home/shikkhaplus/public_html/guk_bk/resources/views/hr/pfloan/form.blade.php on line 9
{!! Form::label('company_id_fk', $data['attributes']['company_id_fk'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('company_id_fk', $data['companyData'], $data['model']->company_id_fk, ['class' => 'form-control getProject', 'id' => 'company_id_fk']) !!}

{{ $errors->error->first('company_id_fk') }}

{!! Form::label('project_id_fk', $data['attributes']['project_id_fk'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('project_id_fk', array(''=>'Select any'), $data['model']->project_id_fk, ['class' => 'form-control getBranch', 'id' => 'project_id_fk']) !!}

{{ $errors->error->first('project_id_fk') }}

{!! Form::label('branch_id_fk', $data['attributes']['branch_id_fk'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('branch_id_fk', array(''=>'Select any'), $data['model']->branch_id_fk, ['class' => 'form-control getUser hr-select2', 'id' => 'branch_id_fk']) !!}

{{ $errors->error->first('branch_id_fk') }}

{!! Form::label('users_id_fk', $data['attributes']['users_id_fk'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('users_id_fk', $data['employeeList'], $data['model']->users_id_fk, ['class' => 'form-control', 'id' => 'users_id_fk']) !!}

{{ $errors->error->first('users_id_fk') }}

{!! Form::label('job_age', $data['attributes']['job_age'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('job_age', $data['model']->job_age, ['class' => 'form-control', 'id' => 'job_age', 'readonly'=>'readonly']) !!}

{{ $errors->error->first('job_age') }}

{!! Form::label('org_amount', $data['attributes']['org_amount'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('org_amount', $data['model']->org_amount, ['class' => 'form-control', 'id' => 'org_amount', 'readonly'=>'readonly']) !!}

{{ $errors->error->first('org_amount') }}

{!! Form::label('emp_amount', $data['attributes']['emp_amount'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('emp_amount', $data['model']->emp_amount, ['class' => 'form-control', 'id' => 'emp_amount', 'readonly'=>'readonly']) !!}

{{ $errors->error->first('emp_amount') }}

{!! Form::label('interest_amount', $data['attributes']['interest_amount'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('interest_amount', $data['model']->interest_amount, ['class' => 'form-control', 'id' => 'interest_amount', 'readonly'=>'readonly']) !!}

{{ $errors->error->first('interest_amount') }}

{!! Form::label('eligible_amount', 'Eligible Amount', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('eligible_amount', $data['eligible_amount'] ?? null, ['class' => 'form-control', 'readonly'=>'readonly', 'id' => 'eligible_amount']) !!}
{!! Form::label('accepted_amount', $data['attributes']['accepted_amount'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('accepted_amount', $data['model']->accepted_amount, ['class' => 'form-control', 'id' => 'accepted_amount']) !!}

{{ $errors->error->first('accepted_amount') }}

{!! Form::label('accepted_no_of_inst', $data['attributes']['accepted_no_of_inst'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('accepted_no_of_inst', $data['model']->accepted_no_of_inst, ['class' => 'form-control', 'id' => 'accepted_no_of_inst']) !!}

{{ $errors->error->first('accepted_no_of_inst') }}

{!! Form::label('loan_reason', $data['attributes']['loan_reason'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::textarea('loan_reason', $data['model']->loan_reason, ['class' => 'form-control', 'id' => 'loan_reason', 'rows'=>3]) !!}

{{ $errors->error->first('loan_reason') }}

{!! Form::submit('Submit', ['id' => 'add', 'class' => 'btn btn-info']); !!} Close
{!! Form::close() !!}
@section('footerAssets')