JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr@extends('layouts.admin') @section('page-title') {{ __('Manage Termination') }} @endsection @section('breadcrumb') @endsection @section('action-button') @can('Create Termination') @endcan @endsection @section('content')
{{--
--}}
@role('company') @endrole @if (Gate::check('Edit Termination') || Gate::check('Delete Termination')) @endif @foreach ($terminations as $termination) @role('company') @endrole @endforeach
{{ __('Employee Name') }}{{ __('Termination Type') }} {{ __('Notice Date') }} {{ __('Termination Date') }} {{ __('Description') }}{{ __('Action') }}
{{ !empty($termination->employee_id) ? $termination->employee->name : '' }} {{ !empty($termination->termination_type) ? $termination->terminationType->name : '' }} {{ \Auth::user()->dateFormat($termination->notice_date) }} {{ \Auth::user()->dateFormat($termination->termination_date) }} @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, ]) !!}
@endcan
@endif
@endsection