@extends('layouts.app') @section('title', 'Storico '.$exercise->name.' · FranCoach') @section('content') @php $prefix = $isCoach ? 'coach' : 'athlete'; @endphp

{{ $exercise->name }}

Storico dei carichi, volume e record personale.

Apri scheda esercizio

Andamento del carico

@if ($chart->isNotEmpty()) @else @endif

Esecuzioni

@if ($history->isEmpty())
@else
@foreach ($history as $item) @endforeach
DataCarico massimoREPSVolumeRPE medioRIR medio
{{ $item->session->started_at?->format('d/m/Y') }} {{ number_format((float) $item->sets->where('is_completed', true)->max('weight_kg'), 2, ',', '.') }} kg {{ $item->sets->where('is_completed', true)->sum('reps') }} {{ number_format((float) $item->volume_kg, 0, ',', '.') }} kg {{ ($value = $item->sets->where('is_completed', true)->avg('rpe')) !== null ? number_format($value, 1, ',', '.') : '—' }} {{ ($value = $item->sets->where('is_completed', true)->avg('rir')) !== null ? number_format($value, 1, ',', '.') : '—' }} Sessione
@if ($history->hasPages())@endif @endif
@endsection