@extends('user::layouts/panel') @push('module-links') @endpush @section('module-content')
@include('custom::components.reply-btn', ['url' => route('panel.staff.time-records')])
今日已記錄

{{ $dayStatistics['total_recorded_hours_display'] }} / {{ $dayStatistics['day_hours'] }} 小時

有記錄專案

{{ $dayStatistics['projects_with_records'] }} 個

選擇日期

{{ $selectedDay }}

新增工時記錄

@csrf
@if(Auth::user()->need_task_record)
@else @endif
進度及變化顯示為全專案統計數據,反映所有成員的工作進度

{{ $selectedDay }} 工時記錄

總計: {{ $dayStatistics['total_hours_display'] }} 小時
@foreach($projectTimeRecords as $index => $record)
{{ $record['project_name'] }} {{ $record['status_text'] }}
{{ $record['date_text'] }}
工時
@if($record['day_record'])
@csrf @method('PUT')
@csrf @method('DELETE')
@else
@csrf @if(Auth::user()->need_task_record) @endif
@endif
客戶 評估 已用
{{ $record['client'] }} {{ number_format($record['estimated_man_days'], 1) }} 人天 {{ number_format($record['total_man_days'], 1) }} 天 ({{ number_format($record['man_day_percentage'], 1) }}%)
完成率 與上週差異
%
{{ $record['actual_percentage_change'] >= 0 ? '+' : '' }}{{ number_format($record['actual_percentage_change'], 1) }}%
備註
@if(Auth::user()->need_task_record) @endif
@endforeach @if(count($projectTimeRecords) == 0)

尚無專案工時記錄

@endif
@include('task::panel.time-records.partials.projects-modal') @endsection @push('module-scripts') @vite('Modules/Task/resources/assets/js/time-records/show.js') @endpush