@if (in_array(\Auth::user()->type, \Auth::user()->not_emp_type))
| {{ !empty( Modules\Hrm\Entities\Employee::getEmployee($termination->user_id)) ? Modules\Hrm\Entities\Employee::getEmployee($termination->user_id)->name : '' }} |
@endif
{{ !empty($termination->termination_type) ? ($termination->terminationType->name ) ?? '' : '' }} |
{{ company_date_formate($termination->notice_date) }} |
{{ company_date_formate($termination->termination_date) }} |
@can('termination description')
|
@endcan
@if (Gate::check('termination edit') || Gate::check('termination delete'))
@can('termination edit')
@endcan
@can('termination delete')
{{Form::open(array('route'=>array('termination.destroy', $termination->id),'class' => 'm-0'))}}
@method('DELETE')
{{Form::close()}}
@endcan
|
@endif
@endforeach