工時評估
@if($activeContract)
{{ $activeContract->name }}
@else
全部合約(未篩選)
@endif
@if (!$hasSavedCategories)
@if($activeContract)
尚未設定「{{ $activeContract->name }}」的工時評估。
@else
尚未設定工時評估。
@endif
開始設定
@else
@foreach ($categories as $cat)
@if ($cat->estimations->isEmpty())
此分類尚無項目。
@else
| 項次 |
功能 |
描述 |
評估人天 |
評估者 |
風險高低 |
備註 |
@foreach ($cat->estimations as $ii => $item)
| {{ $ii + 1 }} |
{{ $item->function }} |
{{ $item->description ?: '—' }} |
{{ $fmtDays($item->estimated_man_days) ?? '—' }} |
{{ $item->estimator?->name ?? '—' }} |
@if ($item->risk_level)
{{ $item->risk_level }}
@else
—
@endif
|
{{ $item->notes ?: '—' }} |
@endforeach
@endif
@endforeach
合計評估人天:{{ $fmtDays($categories->flatMap->estimations->sum('estimated_man_days')) ?? 0 }} 天
@endif