@extends('app') @section('extra-css') @endsection @section('content-header')

Edit Employee

@endsection @section('content')
@can('employee-view')

  View Employee

@endcan
@if($employee) @canany(['employee-edit','employee-update'])
{{csrf_field()}}
{{ Form::select('role[]', $roles, $user->getRoleNames(), ['class' => 'form-control select2', 'multiple', 'id' => 'role'] ) }}
@if(!isset($user->salaryInfo->salary_amount)) @endif @if(isset($user->salaryInfo->salary_amount)) @endif
@if(isset($employee->user->signature->signature))
@endif
@endcanany @endif
@endsection @section('script') {{-- --}} @endsection @section('extra-js') @endsection