@extends('admin.adminlayouts.adminlayout') @section('head') {!! HTML::style('assets/global/plugins/bootstrap-fileinput/bootstrap-fileinput.css') !!} {!! HTML::style('assets/global/plugins/bootstrap-datepicker/css/datepicker3.css') !!} @stop @section('mainarea')

Employee Details

Personal Details
{{--------------------Personal Info Form--------------------------------------------}} {!! Form::open(['method' => 'PUT','route'=> ['admin.employees.update', $employee->employeeID],'class' => 'form-horizontal','id' => 'personal_details_form','files'=>true]) !!} @if(Session::get('successPersonal'))
{!! Session::get('successPersonal') !!}
@endif @if (Session::get('errorPersonal'))
@foreach (Session::get('errorPersonal') as $error)

{{ $error }}

@endforeach
@endif
Select image Change Remove
NOTE! Image Size must be (872px by 724px)

Account Login

{!! Form::close() !!}
Company Details
{{--------------------Company Form--------------------------------------------}} {!! Form::open(['method' => 'PUT','class' => 'form-horizontal','id' => 'company_details_form']) !!}
{!! Form::select('department', $department,($designation ? $designation->deptID : null),['class' => 'form-control select2me','id'=>'department','onchange'=>'dept();return false;']) !!}
status=='active')checked @endif data-on-color="success" data-on-text="Active" data-off-text="Inactive" data-off-color="danger">
(Note:Status active will remove the exit date)

Salary ( )

@foreach($employee->getSalary as $salary) @endforeach
{!! Form::close() !!} {{----------------Company Form end -------------}}
Bank Account Details
{{--------------------Bank Account Form--------------------------------------------}} {!! Form::open(['method' => 'PUT','class' => 'form-horizontal','id' => 'bank_details_form']) !!}
{!! Form::close() !!} {{-------------------Bank Account Form end-----------------------------------------}}
Documents
{{--------------------Documents Info Form--------------------------------------------}} {!! Form::open(['method' => 'PUT','route'=> ['admin.employees.update', $employee->employeeID],'class' => 'form-horizontal','id' => 'documents_details_form','files'=>true]) !!}
@if(Session::get('successDocuments'))
{!! Session::get('successDocuments') !!}
@endif @if(Session::get('errorDocuments'))
{!! Session::get('errorDocuments') !!}
@endif
 
Select file Change Remove
@if(isset($documents['resume'])) View Resume @endif
 
Select file Change Remove
@if(isset($documents['joiningLetter'])) View Joining Letter @endif
 
Select file Change Remove
@if(isset($documents['contract'])) View Contract @endif
 
Select file Change Remove
@if(isset($documents['AadharCard_Proof'])) View AadharCard Proof @endif
 
Select file Change Remove
@if(isset($documents['educational_proof'])) View educational Proof @endif
@include('admin.include.delete-modal') @include('include.show-modal') {{------------------------------------END NEW SALARY ADD MODALS--------------------------------------}} @stop @section('footerjs') {!! HTML::script('assets/global/plugins/bootstrap-fileinput/bootstrap-fileinput.js') !!} {!! HTML::script("assets/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js") !!} {!! HTML::script('assets/global/plugins/bootstrap-datepicker/js/bootstrap-datepicker.js') !!} {!! HTML::script('assets/admin/pages/scripts/components-pickers.js') !!} @if(Session::get('successDocuments')) {{--Move to bottom of page if success comes from documents--}} @endif @stop