Skip to content

Commit

Permalink
fix: remove financial uploads from weekly planning
Browse files Browse the repository at this point in the history
  • Loading branch information
Carsten Koch committed Dec 29, 2024
1 parent 8689368 commit b62da90
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
6 changes: 2 additions & 4 deletions docs/releases/next.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Kleinere Verbesserungen (Version :VERSION)
# Monatliche Finanzdaten aussetzen (Version :VERSION)

- Menü für Formatierungen im Inbox Editor eingefügt.
- Bei Überschriften ist nun der Level der Überschrift erkennbar.
- Bei der Projektliste ist nun die Anzahl der Projekte erkennbar.
- Durch den Wechsel zu AWSI setze ich das Reporting erst einmal aus.

## Bekannte Fehler

Expand Down
9 changes: 4 additions & 5 deletions pages/planweek.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
} from "@/components/planning/useWeekPlanContext";
import PlanWeekForm from "@/components/planning/week/PlanWeekForm";
import ProcessCrmUpdates from "@/components/planning/week/ProcessCrmUpdates";
import ProcessFinancialUpdates from "@/components/planning/week/ProcessFinancialUpdates";
import ProcessInbox from "@/components/planning/week/ProcessInbox";
import ProcessProjects from "@/components/planning/week/ProcessProjects";
import { useContextContext } from "@/contexts/ContextContext";
Expand All @@ -18,8 +17,7 @@ const WeeklyPlanningPage = () => {
const { context } = useContextContext();
const { error } = useWeekPlanContext();
const { inbox } = useInbox();
const { mrrUploadTooOld, mutateMrr, sfdcUploadTooOld, mutateSfdc } =
useMrrLatestUpload();
const { sfdcUploadTooOld, mutateSfdc } = useMrrLatestUpload();

return (
<MainLayout title="Weekly Planning" sectionName="Weekly Planning">
Expand All @@ -34,8 +32,6 @@ const WeeklyPlanningPage = () => {

{inbox && inbox.length > 0 ? (
<ProcessInbox />
) : context === "work" && mrrUploadTooOld ? (
<ProcessFinancialUpdates {...{ mutateMrr }} />
) : context === "work" && sfdcUploadTooOld ? (
<ProcessCrmUpdates {...{ mutateSfdc }} />
) : (
Expand All @@ -47,3 +43,6 @@ const WeeklyPlanningPage = () => {
};

export default withWeekPlan(WeeklyPlanningPage);

// ) : context === "work" && mrrUploadTooOld ? (
// <ProcessFinancialUpdates {...{ mutateMrr }} />

0 comments on commit b62da90

Please sign in to comment.