@extends('app') @section('extra-css') @endsection @section('content-header') Edit Employee Home HR Edit Employee @endsection @section('content') @can('employee-view') View Employee @endcan @if($employee) @canany(['employee-edit','employee-update']) Step 1 Basic Information Step 2 Address Step 3 Image Full Name: User Name: {{csrf_field()}} Father's Name: Mother's Name: Designation: Please Select a Designation @if(count($designations) > 0) @foreach($designations as $designation) designation_id == $employee->designation_id) selected="" @endif> {{$designation->designation_name}} @endforeach @endif Mobile No: User Role: {{ Form::select('role[]', $roles, $user->getRoleNames(), ['class' => 'form-control select2', 'multiple', 'id' => 'role'] ) }} DOB: Salary Type: Please Select Salary Type @if(isset($user->salaryInfo)) salaryInfo->salary_type ==1 ? 'selected' : ''}}>Full Time salaryInfo->salary_type ==2 ? 'selected' : ''}}>Part Time salaryInfo->salary_type ==3 ? 'selected' : ''}}>Commission based @else Full Time Part Time Commission based @endif Gender: Please Select a Designation user->gender == 1) selected="" @endif> Male user->gender == 2) selected="" @endif> Female user->gender == 3) selected="" @endif> Other Joining Date Amount @if(!isset($user->salaryInfo->salary_amount)) @endif @if(isset($user->salaryInfo->salary_amount)) @endif Signature Details: {!!$user->signature_details!!} Present Address: {{$employee->user->present_address}} Permanent Address: {{$employee->user->permanent_address}} Password: Current Image: New Image: @if(isset($employee->user->signature->signature)) Current Signature: @endif New Signature: @endcanany @endif @endsection @section('script') {{-- --}} @endsection @section('extra-js') @endsection