This commit is contained in:
@@ -170,7 +170,7 @@ function getCutoffSelectionOptions(cutoffs: DashboardPeriodCutoff[]): CutoffSele
|
|||||||
value: createCutoffSelectionValue(cutoff.id, "PRE"),
|
value: createCutoffSelectionValue(cutoff.id, "PRE"),
|
||||||
cutoffId: cutoff.id,
|
cutoffId: cutoff.id,
|
||||||
cutoffPhase: "PRE" as const,
|
cutoffPhase: "PRE" as const,
|
||||||
label: `Pre ${cutoff.name}`
|
label: `Vor ${cutoff.name}`
|
||||||
}));
|
}));
|
||||||
const lastCutoff = cutoffs[cutoffs.length - 1];
|
const lastCutoff = cutoffs[cutoffs.length - 1];
|
||||||
|
|
||||||
@@ -178,7 +178,7 @@ function getCutoffSelectionOptions(cutoffs: DashboardPeriodCutoff[]): CutoffSele
|
|||||||
value: createCutoffSelectionValue(lastCutoff.id, "POST"),
|
value: createCutoffSelectionValue(lastCutoff.id, "POST"),
|
||||||
cutoffId: lastCutoff.id,
|
cutoffId: lastCutoff.id,
|
||||||
cutoffPhase: "POST" as const,
|
cutoffPhase: "POST" as const,
|
||||||
label: `Post ${lastCutoff.name}`
|
label: `Nach ${lastCutoff.name}`
|
||||||
});
|
});
|
||||||
|
|
||||||
return options;
|
return options;
|
||||||
|
|||||||
@@ -272,7 +272,7 @@ function getCutoffSelectionOptions(cutoffs: DashboardPeriodCutoff[]): CutoffSele
|
|||||||
value: createCutoffSelectionValue(cutoff.id, "PRE"),
|
value: createCutoffSelectionValue(cutoff.id, "PRE"),
|
||||||
cutoffId: cutoff.id,
|
cutoffId: cutoff.id,
|
||||||
cutoffPhase: "PRE" as const,
|
cutoffPhase: "PRE" as const,
|
||||||
label: `Pre ${cutoff.name}`
|
label: `Vor ${cutoff.name}`
|
||||||
}));
|
}));
|
||||||
const lastCutoff = cutoffs[cutoffs.length - 1];
|
const lastCutoff = cutoffs[cutoffs.length - 1];
|
||||||
|
|
||||||
@@ -280,7 +280,7 @@ function getCutoffSelectionOptions(cutoffs: DashboardPeriodCutoff[]): CutoffSele
|
|||||||
value: createCutoffSelectionValue(lastCutoff.id, "POST"),
|
value: createCutoffSelectionValue(lastCutoff.id, "POST"),
|
||||||
cutoffId: lastCutoff.id,
|
cutoffId: lastCutoff.id,
|
||||||
cutoffPhase: "POST",
|
cutoffPhase: "POST",
|
||||||
label: `Post ${lastCutoff.name}`
|
label: `Nach ${lastCutoff.name}`
|
||||||
});
|
});
|
||||||
|
|
||||||
return options;
|
return options;
|
||||||
@@ -2470,7 +2470,7 @@ export function DashboardShell({
|
|||||||
helperText={
|
helperText={
|
||||||
expenseForm.recurrence === "MONTHLY"
|
expenseForm.recurrence === "MONTHLY"
|
||||||
? "Monatliche Abos werden anhand ihrer Fälligkeit automatisch den Stichtagen zugeordnet."
|
? "Monatliche Abos werden anhand ihrer Fälligkeit automatisch den Stichtagen zugeordnet."
|
||||||
: undefined
|
: "Ordne die Ausgabe zeitlich ein: vor einem Stichtag oder nach dem letzten Stichtag."
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{expenseCutoffOptions.map((option) => (
|
{expenseCutoffOptions.map((option) => (
|
||||||
|
|||||||
Reference in New Issue
Block a user