@include('new_layouts.header') @include('hrm.hrm_main')

Resignation

@can('create resignation') {{__('Create')}}   @endcan
@role('company') @endrole @if(Gate::check('edit resignation') || Gate::check('delete resignation')) @endif @foreach ($resignations as $resignation) @role('company') @endrole @if(Gate::check('edit resignation') || Gate::check('delete resignation')) @endif @endforeach
{{__('Employee Name')}}{{__('Resignation Date')}} {{__('Last Working Date')}} {{__('Reason')}}{{__('Action')}}
{{ !empty($resignation->employee())?$resignation->employee()->name:'' }}{{ \Auth::user()->dateFormat($resignation->notice_date) }} {{ \Auth::user()->dateFormat($resignation->resignation_date) }} {{ $resignation->description }}
@can('edit resignation') @endcan @can('delete resignation') {!! Form::open(['method' => 'DELETE', 'route' => ['resignation.destroy', $resignation->id],'id'=>'delete-form-'.$resignation->id]) !!} {!! Form::close() !!} @endcan
@include('new_layouts.footer')