Feat/evaluation #2

Merged
robin merged 3 commits from feat/evaluation into main 2026-08-04 09:36:39 +00:00
Showing only changes of commit fc8142a131 - Show all commits
@@ -108,6 +108,7 @@ export default async function EvaluationPage({ params }: PageProps) {
<th style={{ padding: '0.5rem' }}>Kategorie</th>
<th style={{ padding: '0.5rem' }}>Dauer</th>
<th style={{ padding: '0.5rem' }}>Anteil</th>
<th style={{ padding: '0.5rem' }}>Insg. Anteil</th>
</tr>
</thead>
<tbody>
@@ -120,6 +121,9 @@ export default async function EvaluationPage({ params }: PageProps) {
<td style={{ padding: '0.5rem' }}>
{total > 0 ? Math.round((minutes / total) * 1000) / 10 : 0}%
</td>
<td style={{ padding: '0.5rem' }}>
{total > 0 ? Math.round((minutes / (daysToFetch * 24 * 60)) * 1000) / 10 : 0}%
</td>
</tr>
))}
</tbody>
@@ -130,6 +134,9 @@ export default async function EvaluationPage({ params }: PageProps) {
{Math.floor(total / 60)} Std. {Math.round(total % 60)} Min. ({Math.round(total)} Min. gesamt)
</td>
<td style={{ padding: '0.5rem' }}>100%</td>
<td style={{ padding: '0.5rem' }}>
{total > 0 ? Math.round((total / (daysToFetch * 24 * 60)) * 1000) / 10 : 0}%
</td>
</tr>
</tfoot>
</table>
@@ -190,7 +197,6 @@ export default async function EvaluationPage({ params }: PageProps) {
display: 'inline-block',
background: '#white',
border: '1px solid #e5e7eb',
color: 'black',
padding: '2px 8px',
borderRadius: '4px',
fontSize: '0.85rem',