@extends($layout) @section('content')
{!! $tpl->displayNotification() !!}
{!! __('subtitles.summary') !!} @if ($fullReportLatest)({{ format($fullReportLatest['date'])->date() }})@endif
{!! __('label.planned_hours') !!} @if ($fullReportLatest !== false && $fullReportLatest['sum_planned_hours'] != null){{ format($fullReportLatest['sum_planned_hours'])->decimal() }}@else{{ 0 }}@endif
{!! __('label.estimated_hours_remaining') !!} @if ($fullReportLatest !== false && $fullReportLatest['sum_estremaining_hours'] != null){{ format($fullReportLatest['sum_estremaining_hours'])->decimal() }}@else{{ 0 }}@endif
{!! __('label.booked_hours') !!} @if ($fullReportLatest !== false && $fullReportLatest['sum_logged_hours'] != null){{ format($fullReportLatest['sum_logged_hours'])->decimal() }}@else{{ 0 }}@endif
{!! __('label.open_todos') !!} {{-- Open To-Dos is a COUNT of tickets (SUM of CASE WHEN status = X THEN 1 in the repo), so it's inherently an integer. ->decimal() rendered "1" as "1.00" — read as a broken chart value in the audit. --}} @if ($fullReportLatest !== false) {{ (int) ($fullReportLatest['sum_open_todos'] + $fullReportLatest['sum_progres_todos']) }} @else {{ 0 }} @endif
{{-- Hide the whole Sprint Burndown section when the project has no sprints. Previously the outer guard was just `!== false`, so an empty array (project without sprints) rendered the title + toggle buttons + empty canvas with no chart underneath — read as broken in the audit. --}} @if ($allSprints !== false && count($allSprints) > 0)
{!! __('subtitles.sprint_burndown') !!}

@if (true) @endif
{!! __('label.num_tickets') !!} {!! __('label.effort') !!} {!! __('label.hours') !!}
@endif


{!! __('subtitles.cummulative_flow') !!}
{!! __('label.num_tickets') !!} {!! __('label.effort') !!} {!! __('label.hours') !!}


{!! __('subtitles.project_progress') !!}


{!! __('headline.milestones') !!}
    @if (count($milestones) == 0)

    {!! __('headlines.no_milestones') !!}

    {!! __('text.milestones_help_organize_projects') !!}

    {!! __('links.goto_milestones') !!} @endif @foreach ($milestones as $row)
  • {!! __('label.due') !!} {{ format($row->editTo)->date(__('text.no_date_defined')) }}
    {!! sprintf(__('text.percent_complete'), $row->percentDone) !!}
    {!! sprintf(__('text.percent_complete'), $row->percentDone) !!}
  • @endforeach
@once @push('scripts') @endpush @endonce @endsection