import React, {useEffect, useState} from 'react'
import {Link, Navigate} from "react-router-dom";
import {useSelector} from "react-redux";
import {getReportDate} from "../../redux/reportSlice";
import {Loader} from "../../components/Loader/Loader"
import {ProfileHeader} from "../../components/ProfileHeader/ProfileHeader";
import {ProfileBreadcrumbs} from "../../components/ProfileBreadcrumbs/ProfileBreadcrumbs"
import {Footer} from "../../components/Footer/Footer";
import {apiRequest} from "../../api/request";
import {getCorrectDate, getCreatedDate, hourOfNum} from '../../components/Calendar/calendarHelper'
import arrow from "../../images/right-arrow.png";
import arrowSwitchDate from "../../images/arrowViewReport.png";
import './viewReport.scss'
import { Navigation } from '../../components/Navigation/Navigation';
export const ViewReport = () => {
if(localStorage.getItem('role_status') === '18') {
return
Вернуться
Вами потрачено на работу : {totalHours} {hourOfNum(totalHours)}
{/*122 часа из 160
*/}{getCorrectDate(reportDay)}
Какие задачи были выполнены? |
Время |
---|---|
{index + 1}. {task.task} |
{task.hours}
{hourOfNum(task.hours)} на задачу |
Всего: {totalHours} {hourOfNum(totalHours)} |
{item}
} )}{item}
} )}В этот день вы не заполняли отчет