Compare commits
	
		
			3 Commits
		
	
	
		
			adc80d4cb0
			...
			ee509a0754
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| ee509a0754 | |||
| 
						 | 
					1576b23215 | ||
| 
						 | 
					0880d27aea | 
@@ -11,9 +11,9 @@ import { LogoutButton } from "@components/LogoutButton/LogoutButton";
 | 
			
		||||
 | 
			
		||||
import rectangle from "assets/images/rectangle_secondPage.png";
 | 
			
		||||
 | 
			
		||||
import { currentMonth } from "../../utils/calendarHelper";
 | 
			
		||||
import CalendarComponent from "./CalendarComponent";
 | 
			
		||||
import "./calendar.scss";
 | 
			
		||||
import { currentMonth } from "../../utils/calendarHelper";
 | 
			
		||||
 | 
			
		||||
const Calendar = () => {
 | 
			
		||||
  if (localStorage.getItem("role_status") !== "18") {
 | 
			
		||||
 
 | 
			
		||||
@@ -6,8 +6,8 @@ import calendarIcon from "assets/icons/calendar.svg";
 | 
			
		||||
import ellipse from "assets/icons/ellipse.png";
 | 
			
		||||
import rectangle from "assets/images/rectangle__calendar.png";
 | 
			
		||||
 | 
			
		||||
import "./calendarComponent.scss";
 | 
			
		||||
import { calendarHelper, currentMonthAndDay } from "../../utils/calendarHelper";
 | 
			
		||||
import "./calendarComponent.scss";
 | 
			
		||||
 | 
			
		||||
const CalendarComponent = ({ onSelect }) => {
 | 
			
		||||
  const [value, setValue] = useState(moment());
 | 
			
		||||
 
 | 
			
		||||
@@ -9,6 +9,7 @@ import { Link, useNavigate, useParams } from "react-router-dom";
 | 
			
		||||
import { getProfileInfo } from "@redux/outstaffingSlice";
 | 
			
		||||
import { getBoarderLoader, setToggleTab } from "@redux/projectsTrackerSlice";
 | 
			
		||||
 | 
			
		||||
import { getCorrectDate } from "@utils/calendarHelper";
 | 
			
		||||
import {
 | 
			
		||||
  backendImg,
 | 
			
		||||
  caseOfNum,
 | 
			
		||||
@@ -21,7 +22,6 @@ import { apiRequest } from "@api/request";
 | 
			
		||||
 | 
			
		||||
import { useNotification } from "@hooks/useNotification";
 | 
			
		||||
 | 
			
		||||
import { getCorrectDate } from "@utils/calendarHelper";
 | 
			
		||||
import { Footer } from "@components/Common/Footer/Footer";
 | 
			
		||||
import { Loader } from "@components/Common/Loader/Loader";
 | 
			
		||||
import FileTracker from "@components/FileTracker/FileTracker";
 | 
			
		||||
 
 | 
			
		||||
@@ -22,13 +22,13 @@ import {
 | 
			
		||||
  setProjectBoardFetch
 | 
			
		||||
} from "@redux/projectsTrackerSlice";
 | 
			
		||||
 | 
			
		||||
import { getCorrectDate } from "@utils/calendarHelper";
 | 
			
		||||
import { getCorrectRequestDate, urlForLocal } from "@utils/helper";
 | 
			
		||||
 | 
			
		||||
import { apiRequest } from "@api/request";
 | 
			
		||||
 | 
			
		||||
import { useNotification } from "@hooks/useNotification";
 | 
			
		||||
 | 
			
		||||
import { getCorrectDate } from "@utils/calendarHelper";
 | 
			
		||||
import BaseButton from "@components/Common/BaseButton/BaseButton";
 | 
			
		||||
import { Loader } from "@components/Common/Loader/Loader";
 | 
			
		||||
import ModalLayout from "@components/Common/ModalLayout/ModalLayout";
 | 
			
		||||
 
 | 
			
		||||
@@ -12,11 +12,11 @@ import {
 | 
			
		||||
  setRequestDate
 | 
			
		||||
} from "@redux/reportSlice";
 | 
			
		||||
 | 
			
		||||
import { getReports } from "@utils/calendarHelper";
 | 
			
		||||
import { urlForLocal } from "@utils/helper";
 | 
			
		||||
 | 
			
		||||
import { apiRequest } from "@api/request";
 | 
			
		||||
 | 
			
		||||
import { getReports } from "@utils/calendarHelper";
 | 
			
		||||
import { Footer } from "@components/Common/Footer/Footer";
 | 
			
		||||
import { Loader } from "@components/Common/Loader/Loader";
 | 
			
		||||
import { Navigation } from "@components/Navigation/Navigation";
 | 
			
		||||
 
 | 
			
		||||
@@ -11,11 +11,6 @@ import {
 | 
			
		||||
  setSendRequest
 | 
			
		||||
} from "@redux/reportSlice";
 | 
			
		||||
 | 
			
		||||
import { getCorrectYYMMDD } from "@utils/helper";
 | 
			
		||||
 | 
			
		||||
import { apiRequest } from "@api/request";
 | 
			
		||||
 | 
			
		||||
import "@components/Calendar/calendarComponent.scss";
 | 
			
		||||
import {
 | 
			
		||||
  calendarHelper,
 | 
			
		||||
  correctDay,
 | 
			
		||||
@@ -24,6 +19,11 @@ import {
 | 
			
		||||
  getReports,
 | 
			
		||||
  hourOfNum
 | 
			
		||||
} from "@utils/calendarHelper";
 | 
			
		||||
import { getCorrectYYMMDD } from "@utils/helper";
 | 
			
		||||
 | 
			
		||||
import { apiRequest } from "@api/request";
 | 
			
		||||
 | 
			
		||||
import "@components/Calendar/calendarComponent.scss";
 | 
			
		||||
import BaseButton from "@components/Common/BaseButton/BaseButton";
 | 
			
		||||
 | 
			
		||||
import arrow from "assets/icons/arrows/arrowCalendar.png";
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
.profile-header {
 | 
			
		||||
  width: 100%;
 | 
			
		||||
  height: 80px;
 | 
			
		||||
  height: 66px;
 | 
			
		||||
  background: #e1fccf;
 | 
			
		||||
  padding: 20px;
 | 
			
		||||
  display: flex;
 | 
			
		||||
@@ -18,6 +18,10 @@
 | 
			
		||||
    align-items: center;
 | 
			
		||||
    height: 100%;
 | 
			
		||||
    z-index: 9999;
 | 
			
		||||
    max-width: 1160px;
 | 
			
		||||
    width: 100%;
 | 
			
		||||
    margin: 0 auto;
 | 
			
		||||
    padding: 0 15px;
 | 
			
		||||
 | 
			
		||||
    .text {
 | 
			
		||||
      width: 100%;
 | 
			
		||||
@@ -56,6 +60,10 @@
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  &__info {
 | 
			
		||||
    background: white;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .auth-body {
 | 
			
		||||
    opacity: 0;
 | 
			
		||||
    z-index: 99;
 | 
			
		||||
@@ -140,7 +148,7 @@
 | 
			
		||||
    display: flex;
 | 
			
		||||
    justify-content: space-between;
 | 
			
		||||
    align-items: center;
 | 
			
		||||
    min-height: 50px;
 | 
			
		||||
    min-height: 66px;
 | 
			
		||||
 | 
			
		||||
    @media (max-width: 414px) {
 | 
			
		||||
      display: none;
 | 
			
		||||
 
 | 
			
		||||
@@ -8,13 +8,14 @@ import {
 | 
			
		||||
  setSendRequest
 | 
			
		||||
} from "@redux/reportSlice";
 | 
			
		||||
 | 
			
		||||
import { apiRequest } from "@api/request";
 | 
			
		||||
 | 
			
		||||
import {
 | 
			
		||||
  getCorrectDate,
 | 
			
		||||
  getCreatedDate,
 | 
			
		||||
  hourOfNum
 | 
			
		||||
} from "@utils/calendarHelper";
 | 
			
		||||
 | 
			
		||||
import { apiRequest } from "@api/request";
 | 
			
		||||
 | 
			
		||||
import { Loader } from "@components/Common/Loader/Loader";
 | 
			
		||||
 | 
			
		||||
import "./shortReport.scss";
 | 
			
		||||
 
 | 
			
		||||
@@ -2,11 +2,11 @@ import ClassicEditor from "@ckeditor/ckeditor5-build-classic";
 | 
			
		||||
import { CKEditor } from "@ckeditor/ckeditor5-react";
 | 
			
		||||
import React, { useState } from "react";
 | 
			
		||||
 | 
			
		||||
import { getCorrectDate } from "@utils/calendarHelper";
 | 
			
		||||
import { urlForLocal } from "@utils/helper";
 | 
			
		||||
 | 
			
		||||
import { apiRequest } from "@api/request";
 | 
			
		||||
 | 
			
		||||
import { getCorrectDate } from "@utils/calendarHelper";
 | 
			
		||||
import TrackerTaskSubComment from "@components/TrackerTaskComment/TrackerTaskComment";
 | 
			
		||||
 | 
			
		||||
import del from "assets/icons/delete.svg";
 | 
			
		||||
 
 | 
			
		||||
@@ -9,11 +9,11 @@ import {
 | 
			
		||||
  setPartnerRequestInfo
 | 
			
		||||
} from "@redux/outstaffingSlice";
 | 
			
		||||
 | 
			
		||||
import { getCorrectDate } from "@utils/calendarHelper";
 | 
			
		||||
import { urlForLocal } from "@utils/helper";
 | 
			
		||||
 | 
			
		||||
import { apiRequest } from "@api/request";
 | 
			
		||||
 | 
			
		||||
import { getCorrectDate } from "@utils/calendarHelper";
 | 
			
		||||
import { Footer } from "@components/Common/Footer/Footer";
 | 
			
		||||
import { Loader } from "@components/Common/Loader/Loader";
 | 
			
		||||
import ModalLayout from "@components/Common/ModalLayout/ModalLayout";
 | 
			
		||||
 
 | 
			
		||||
@@ -5,9 +5,10 @@ import { Navigate, useParams } from "react-router-dom";
 | 
			
		||||
 | 
			
		||||
import { getRequestDates, setRequestDate } from "@redux/reportSlice";
 | 
			
		||||
 | 
			
		||||
import { getReports } from "@utils/calendarHelper";
 | 
			
		||||
 | 
			
		||||
import { apiRequest } from "@api/request";
 | 
			
		||||
 | 
			
		||||
import { getReports } from "@utils/calendarHelper";
 | 
			
		||||
import { Footer } from "@components/Common/Footer/Footer";
 | 
			
		||||
import { Loader } from "@components/Common/Loader/Loader";
 | 
			
		||||
import { Navigation } from "@components/Navigation/Navigation";
 | 
			
		||||
 
 | 
			
		||||
@@ -1,8 +1,8 @@
 | 
			
		||||
import React from "react";
 | 
			
		||||
 | 
			
		||||
import { Footer } from "@components/Common/Footer/Footer";
 | 
			
		||||
import { Navigation } from "@components/Navigation/Navigation";
 | 
			
		||||
import { ProfileHeader } from "@components/ProfileHeader/ProfileHeader";
 | 
			
		||||
import { Footer } from "@components/Common/Footer/Footer";
 | 
			
		||||
 | 
			
		||||
import "./payouts.scss";
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -6,10 +6,10 @@ import { setToggleTab } from "@redux/projectsTrackerSlice";
 | 
			
		||||
 | 
			
		||||
import { copyProjectLink } from "@utils/helper";
 | 
			
		||||
 | 
			
		||||
import { Footer } from "@components/Common/Footer/Footer";
 | 
			
		||||
import { Navigation } from "@components/Navigation/Navigation";
 | 
			
		||||
import { ProfileBreadcrumbs } from "@components/ProfileBreadcrumbs/ProfileBreadcrumbs";
 | 
			
		||||
import { ProfileHeader } from "@components/ProfileHeader/ProfileHeader";
 | 
			
		||||
import { Footer } from "@components/Common/Footer/Footer";
 | 
			
		||||
 | 
			
		||||
import arrow from "assets/icons/arrows/arrowCalendar.png";
 | 
			
		||||
import emailImg from "assets/icons/emailStatistics.svg";
 | 
			
		||||
 
 | 
			
		||||
@@ -4,13 +4,14 @@ import { Link, useParams } from "react-router-dom";
 | 
			
		||||
 | 
			
		||||
import { setEditReport } from "@redux/reportSlice";
 | 
			
		||||
 | 
			
		||||
import { apiRequest } from "@api/request";
 | 
			
		||||
 | 
			
		||||
import {
 | 
			
		||||
  getCorrectDate,
 | 
			
		||||
  getCreatedDate,
 | 
			
		||||
  hourOfNum
 | 
			
		||||
} from "@utils/calendarHelper";
 | 
			
		||||
 | 
			
		||||
import { apiRequest } from "@api/request";
 | 
			
		||||
 | 
			
		||||
import { Footer } from "@components/Common/Footer/Footer";
 | 
			
		||||
import { Loader } from "@components/Common/Loader/Loader";
 | 
			
		||||
import { Navigation } from "@components/Navigation/Navigation";
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user