| {{ __('index.branch') }} |
{{ $terminationDetail->branch?->name }} |
| {{ __('index.department') }} |
{{ $terminationDetail->department?->dept_name }} |
| {{ __('index.termination_type') }} |
{{ $terminationDetail->terminationType?->title }} |
| {{ __('index.employee_name') }} |
{{ $terminationDetail->employee?->name }} |
| {{ __('index.notice_date') }} |
{{ \App\Helpers\AppHelper::formatDateForView($terminationDetail->notice_date) }}
|
| {{ __('index.termination_date') }} |
{{ \App\Helpers\AppHelper::formatDateForView($terminationDetail->termination_date) }}
|
| {{ __('index.reason') }} |
{!! $terminationDetail->reason !!}
|
@if(isset($terminationDetail->document))
| {{ __('index.document') }} |
@php
$fileExtension = pathinfo($terminationDetail->document, PATHINFO_EXTENSION);
@endphp
@if(in_array($fileExtension, ['jpeg', 'jpg', 'png', 'webp']))
@elseif($fileExtension === 'pdf')
Preview PDF
@else
Download Document
@endif
|
@endif