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

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

Warning: Trying to access array offset on value of type null in /home/shikkhaplus/public_html/resources/views/hr/hrLeaveApplication/form.blade.php on line 8
{!! Form::label('company_id_fk', $data['attributes']['company_id_fk'], ['class' => 'col-sm-1 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-1 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-1 control-label']) !!}
{!! Form::select('branch_id_fk', array(''=>'Select any'), $data['model']->branch_id_fk, ['class' => 'form-control getUser', 'id' => 'branch_id_fk']) !!}

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


Warning: Undefined variable $data in /home/shikkhaplus/public_html/resources/views/hr/hrLeaveApplication/form.blade.php on line 41

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

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

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

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

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

{!! $data['attributesDetails']['leave_type_id'] !!} {!! $data['attributesDetails']['from_date'] !!} {!! $data['attributesDetails']['to_date'] !!}
{!! Form::select('leave_type_id[]', $data['leaveTypeData'], $data['modelDetails']->leave_type_id, ['class' => 'form-control leaveType','required'=>'required', 'id' => 'leave_type_id']) !!} {!! Form::text('from_date[]', date('d-m-Y',strtotime($fromDate)), ['class' => 'form-control datepicker fromDate', 'id' => 'from_date']) !!} {!! Form::text('to_date[]', date('d-m-Y',strtotime($toDate)), ['class' => 'form-control datepicker toDate', 'id' => 'to_date']) !!}
{!! Form::label('details', $data['attributes']['details'],['class' => 'col-sm-2 control-label']) !!}
{!! Form::textarea('details', $data['model']->details, ['class' => 'form-control', 'id' => 'details', 'rows'=>3]) !!}

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

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