@role('company')
{{ !empty($termination->employee())?$termination->employee()->name:'' }} |
@endrole
{{ !empty($termination->terminationType())?$termination->terminationType()->name:'' }} |
{{ \Auth::user()->dateFormat($termination->notice_date) }} |
{{ \Auth::user()->dateFormat($termination->termination_date) }} |
{{-- {{ $termination->description }} | --}}
|
@if(Gate::check('edit termination') || Gate::check('delete termination'))
@can('edit termination')
@endcan
@can('delete termination')
{!! Form::open(['method' => 'DELETE', 'route' => ['termination.destroy', $termination->id],'id'=>'delete-form-'.$termination->id]) !!}
{!! Form::close() !!}
@endcan
|
@endif
@endforeach