@extends('layouts.app') @section('title', '周次管理(Sprint)') @section('content')
| 週次 | 名稱 | 狀態 | 期間 | 天數 | 人員需求 | 操作 |
|---|---|---|---|---|---|---|
| W{{ $sprint->week }} | {{ $sprint->name }} |
{{ $sprint->status_label }}
@if($sprint->status === 'active')
剩 {{ $sprint->days_remaining }} 天
@endif
|
{{ $sprint->start_date->format('Y/m/d') }} – {{ $sprint->end_date->format('Y/m/d') }} | {{ $sprint->duration_days }} | @if($userCount > 0) {{ $userCount }} 人 {{ $totalManDays }} 人日 @else — @endif |
週次由系統每週日 23:00 自動建立(預建兩週),並自動更新本週狀態為「進行中」、過期週次為「已完成」。