Add total time calculation to DisplayUnsignedReports component

This commit is contained in:
Davenludd 2024-04-02 17:33:20 +02:00
parent 00ca5514e5
commit eb741ba20d

View file

@ -43,6 +43,15 @@ function DisplayUserProject(): JSX.Element {
<h1>{unsignedReport.userId}</h1>
<span className="ml-6 mr-2 font-bold">Week:</span>
<h1>{unsignedReport.week}</h1>
<span className="ml-6 mr-2 font-bold">Total Time:</span>
<h1>
{unsignedReport.developmentTime +
unsignedReport.meetingTime +
unsignedReport.adminTime +
unsignedReport.ownWorkTime +
unsignedReport.studyTime +
unsignedReport.testingTime}
</h1>
<span className="ml-6 mr-2 font-bold">Signed:</span>
<h1>NO</h1>
</div>