JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr@extends('layouts.admin') @section('page-title') {{ __('Manage Resignation') }} @endsection @section('breadcrumb') @endsection @section('action-button') @can('Create Resignation') @endcan @endsection @section('content')
{{--
--}}
@role('company') @endrole @if (Gate::check('Edit Resignation') || Gate::check('Delete Resignation')) @endif @foreach ($resignations as $resignation) @role('company') @endrole @endforeach
{{ __('Employee Name') }}{{ __('Resignation Date') }} {{ __('Last Working Day') }} {{ __('Reason') }}{{ __('Action') }}
{{ !empty($resignation->employee_id) ? $resignation->employee->name : '' }} {{ \Auth::user()->dateFormat($resignation->notice_date) }} {{ \Auth::user()->dateFormat($resignation->resignation_date) }} {{ $resignation->description }} @if (Gate::check('Edit Resignation') || Gate::check('Delete Resignation')) @can('Edit Resignation') @endcan @can('Delete Resignation')
{!! Form::open(['method' => 'DELETE', 'route' => ['resignation.destroy', $resignation->id], 'id' => 'delete-form-' . $resignation->id]) !!}
@endcan
@endif
@endsection