{{-- resources/views/projects/time/index.blade.php --}} @extends('layouts.app') @push('styles') @endpush @section('content') @include('projects._nav')
依成員
實際進度(手動設定)
累積人天比(系統計算)
@if($totalEstMd > 0) @php $mdPct = min($manDaysRatio, 100); $mdOver = $manDaysRatio > 100; @endphp| 日期 | 成員 | 工時 | 活動 | 合約 | 議題 | 備註 | |
|---|---|---|---|---|---|---|---|
| {{ $entry->spent_on->format('Y/m/d') }} | {{ $entry->user?->name }} | {{ number_format($entry->hours, 2) }} 小時 | {{ $entry->activity_label }} | {{ $entry->contract?->name ?? '—' }} | @if($entry->issue) #{{ $entry->issue_id }} {{ $entry->issue->title }} @else — @endif | {{ $entry->comments ?? '—' }} |
@if($entry->user_id === auth()->id() || auth()->user()->role === 'admin')
|
| 尚無工時紀錄 | |||||||