@extends('layout.app') @section('title','Create Employee') @push('headerscript') @endpush @section('content')
{!! Form::open(['route' => ['employee.store'], 'method' => 'post','autocomplete'=>'off','files'=>true]) !!}
{{$errors->first('emp_code')}}
{!! Form::select('emp_type', [''=>'--Select--','employee'=>'Employee','driver'=>'Driver'], old('emp_type'), ['class'=>'form-control select2','id'=>'emp_type','required']) !!}
{{$errors->first('emp_type')}}
{{$errors->first('employee_name')}}
{{$errors->first('emp_img')}}
{{$errors->first('father_name')}}
{{$errors->first('reference_by')}}
{{$errors->first('mobile_no')}}
{{$errors->first('alt_mobile_no')}}
{{$errors->first('email')}}
{{$errors->first('aadhaar_card_no')}}
{{$errors->first('driving_licence_no')}}
{{$errors->first('pan_card_no')}}
{{$errors->first('joining_date')}}
{{$errors->first('salary')}}
{{$errors->first('leaving_date')}}
{{$errors->first('country')}}
{!! Form::select('state_id', array_merge(['' => '--Select--'], $state), old('state_id'), [ 'class' => 'form-control select2', 'id' => 'state_id', 'required' ]) !!}
{{$errors->first('state_id')}}
{{$errors->first('city')}}
{{$errors->first('address')}}
Document Type* Image*
{!! Form::select('doc_type[]',['aadhaar_card'=>'Aadhaar Card'],old('doc_type'),array('class'=>'form-control','id'=>'doc_type_id_10','required')) !!}
{!! Form::select('doc_type[]',['driving_licence'=>'Driving Licence'],old('doc_type'),array('class'=>'form-control','id'=>'doc_type_id_11','required')) !!}
{{$errors->first('remark')}}
{!! Form::close() !!}
@endsection @push('footerscript') @endpush