Update FC 26 Achievement to use Annual Forecast as denominator

This commit is contained in:
Christian Vidal Wolf
2026-01-28 15:00:48 +01:00
parent 9d732eeba3
commit 1b362d0660
+2 -2
View File
@@ -119,10 +119,10 @@ const ForecastRow: React.FC<{
<td className="px-6 py-4 text-center"> <td className="px-6 py-4 text-center">
<div className="flex flex-col items-center justify-center gap-1"> <div className="flex flex-col items-center justify-center gap-1">
<div className="px-3 py-1 rounded bg-slate-800 border border-slate-700 text-xs font-bold text-white shadow-sm"> <div className="px-3 py-1 rounded bg-slate-800 border border-slate-700 text-xs font-bold text-white shadow-sm">
{ytdAchievement.toFixed(1)}% {fcAchievement.toFixed(1)}%
</div> </div>
<span className="text-[9px] font-bold text-slate-500 uppercase tracking-tight"> <span className="text-[9px] font-bold text-slate-500 uppercase tracking-tight">
OF PERIOD {Math.round(forecastPeriod / 1000)}K OF ANNUAL {Math.round(annualForecast / 1000)}K
</span> </span>
</div> </div>
</td> </td>