| Nama |
: |
{{ $summary->user->name }} |
| NIK/KITAS |
: |
{{ $summary->user->nik }} |
| Position |
: |
{{ $summary->user->position }} |
| Start Duty |
: |
{{ date('d F Y H:i', strtotime($summary->historyDuty->start_duty)) }} |
| Expected End Duty |
: |
{{ date('d F Y H:i', strtotime($summary->historyDuty->end_duty)) }} |
| Actual End Duty |
: |
{{ date('d F Y H:i', strtotime($summary->historyDuty->actual_date)) }} |
| Reason |
: |
{{ $summary->reason->reason ?? $summary->other_reason }} |
| Noted |
: |
{{ $summary->additional_information ?? '-' }} |
| Document |
: |
@if (count($summary->document) > 0)
@foreach ($summary->document as $item)
{{ $item->file_name }}.pdf
@include('components.button.button-download-file', [
'employee_id' => $summary->user_id,
'file' => $item->file_hash_name,
'sub_folder' => 'document-return-worker',
])
@endforeach
@endif
@php
$canUpload =
Auth::user()->hasRole('super_admin') ||
(Auth::user()->hasRole('admin_contractor') && $summary->editable == 1);
@endphp
@if ($canUpload)
@endif