@extends('layouts.app') @section('title', '歷史審核紀錄') @section('content')

歷史審核紀錄

回待審核
@if($history->isEmpty())
尚無審核紀錄
@else
@foreach($history as $a) @php $h = $a->handover; $stageLabel = \App\Models\HandoverApproval::STAGE_LABELS[$a->stage] ?? $a->stage; @endphp @endforeach
申請人 類型 預計日期 審核關卡 審核結果 審核人 意見 審核時間
{{ $h->applicant->name }} {{ $h->type === 'resignation' ? '離職' : '調職' }} {{ $h->expected_date?->format('Y-m-d') ?? '—' }} {{ $stageLabel }} @if($a->status === 'approved') 核准 @else 退回 @endif {{ $a->approver?->name ?? '—' }} {{ $a->comment ? \Illuminate\Support\Str::limit($a->comment, 50) : '—' }} {{ $a->updated_at->format('Y-m-d H:i') }} 查看
@endif
@endsection