catalogSpecialists

This commit is contained in:
Mikola
2024-02-01 22:32:55 +03:00
parent 66e6b4c7d7
commit 6dbb4eb609
8 changed files with 180 additions and 165 deletions

View File

@ -51,8 +51,8 @@ export const ProfileCalendar = () => {
return;
}
apiRequest(
`/reports/reports-by-date?${requestDates}&user_card_id=${localStorage.getItem(
"cardId"
`/reports/index?${requestDates}&user_id =${localStorage.getItem(
"id"
)}`
).then((reports) => {
let spendTime = 0;

View File

@ -114,8 +114,8 @@ export const ProfileCalendarComponent = React.memo(
startDate._d
)}`;
apiRequest(
`/reports/reports-by-date?${requestDates}&user_card_id=${localStorage.getItem(
"cardId"
`/reports/index?${requestDates}&user_id =${localStorage.getItem(
"id"
)}`
).then((reports) => {
let spendTime = 0;

View File

@ -97,6 +97,7 @@ const ReportForm = () => {
apiRequest("/reports/create", {
method: "POST",
data: {
user_id: localStorage.getItem("id"),
tasks: inputs,
difficulties: troublesInputValue,
tomorrow: scheduledInputValue,

View File

@ -39,8 +39,8 @@ export const ShortReport = () => {
setTomorrowTask([]);
setTotalHours(0);
apiRequest(
`reports/find-by-date?user_card_id=${localStorage.getItem(
"cardId"
`reports/find-by-date?user_id=${localStorage.getItem(
"id"
)}&date=${day}`
).then((res) => {
let spendTime = 0;

View File

@ -504,13 +504,13 @@ $maxWidthContainer: 1123;
}
}
&__finished {
background: rgba(255, 255, 255, 0.76);
background: white;
mix-blend-mode: normal;
border: 3px solid #52b709;
border-radius: 12px;
padding: 13px 16px;
position: absolute;
bottom: 0;
bottom: 4px;
left: 0;
display: flex;
align-items: center;