@extends('admin.layout.app') @section('title','Add Employee') @push('headerscript') @endpush @section('content')

Add Employee

{!! Form::open(['route'=>array('employee.store'), 'onsubmit'=>'BtnSubmit.disabled = true', 'method' => 'post','files'=>true]) !!}
Employee Details
{{$errors->first('employee_code')}}
{!! Form::select("user_id", [''=>'Select User'], old("user_id"), ['class'=>'form-control select2' ,'id' => 'user_id','required'] ) !!}
{{$errors->first('user_id')}}
{{$errors->first('name')}}
{{$errors->first('personal_code')}}
{!! Form::select("hrms_department_id", [''=>'Select']+$departments, old("hrms_department_id"), ['class'=>'form-control', 'id'=>'hrms_department_id','required'] ) !!}
{{$errors->first('hrms_department_id')}}
{{$errors->first('work_permit_no')}}
{{$errors->first('work_permit_expiry')}}
{{$errors->first('nationality')}}
{{$errors->first('home_country_contact_no')}}
{{$errors->first('additional_home_country_contact_no')}}
{{$errors->first('uae_contact_no')}}
{{$errors->first('additional_uae_contact_no')}}
{{$errors->first('d_o_b')}}
{{$errors->first('wps_debit_card_no')}}
{{$errors->first('wps_expiry')}}
{{$errors->first('passport_no')}}
{{$errors->first('passport_expiry_date')}}
{{$errors->first('employee_id')}}
{{$errors->first('emirates_id_no')}}
{{$errors->first('emirates_id_expiry_date')}}
{{$errors->first('visa_uid_no')}}
{{$errors->first('visa_expiry_date')}}
{{$errors->first('labour_card_no')}}
{{$errors->first('labour_card_expiry_date')}}
{{$errors->first('insurance_company_name')}}
{{$errors->first('insurance_no')}}
{{$errors->first('insurance_expiry_date')}}
{{$errors->first('job_loss_ins')}}
{{$errors->first('job_loss_ins_no')}}
{{$errors->first('jobloss_ins_exp_date')}}
{{$errors->first('joining_date')}}
{!! Form::select("status", ['active'=>'Active','inactive'=>'InActive'], old("status"), ['class'=>'form-control', 'required', 'id'=>'status'] ) !!}
{{$errors->first('status')}}
{!! Form::select("branch_id", \App\Http\Helpers\Helper::getBranchData(), old("branch_id"), ['class'=>'form-control' ,'id' => 'branch_id','required'] ) !!}
{{$errors->first('home_country_address')}}
{{$errors->first('uae_address')}}
Salary Details
{{$errors->first('basic_salary')}}
{{$errors->first('transportation')}}
{{$errors->first('accommodation')}}
{{$errors->first('insurance')}}
{{$errors->first('others')}}
Bank Details
{{$errors->first('account_no')}}
{{$errors->first('iban_code')}}
{{$errors->first('bank_name')}}
{{$errors->first('bank_branch')}}
Employee Document
{{$errors->first('img_photo')}}
{{$errors->first('img_emirates_id')}}
{{$errors->first('img_passport')}}
{{$errors->first('img_health_insurance_card')}}
{{$errors->first('img_labour_card')}}
{{$errors->first('img_visa')}}
Family Details
{{$errors->first('mother_name')}}
{{$errors->first('father_name')}}
{!! Form::select("marital_status", [''=>'Select','single'=>'Single', 'married'=>'Married', 'widowed'=>'Widowed', 'divorced'=>'Divorced', 'separated'=>'Separated'], old("marital_status"), ['class'=>'form-control', 'id'=>'marital_status'] ) !!}
{{$errors->first('marital_status')}}
{{$errors->first('family_photo')}}
{!! Form::close() !!}
@endsection @push('footerscript') @endpush