This commit is contained in:
@@ -170,7 +170,7 @@ function getCutoffSelectionOptions(cutoffs: DashboardPeriodCutoff[]): CutoffSele
|
||||
value: createCutoffSelectionValue(cutoff.id, "PRE"),
|
||||
cutoffId: cutoff.id,
|
||||
cutoffPhase: "PRE" as const,
|
||||
label: `Pre ${cutoff.name}`
|
||||
label: `Vor ${cutoff.name}`
|
||||
}));
|
||||
const lastCutoff = cutoffs[cutoffs.length - 1];
|
||||
|
||||
@@ -178,7 +178,7 @@ function getCutoffSelectionOptions(cutoffs: DashboardPeriodCutoff[]): CutoffSele
|
||||
value: createCutoffSelectionValue(lastCutoff.id, "POST"),
|
||||
cutoffId: lastCutoff.id,
|
||||
cutoffPhase: "POST" as const,
|
||||
label: `Post ${lastCutoff.name}`
|
||||
label: `Nach ${lastCutoff.name}`
|
||||
});
|
||||
|
||||
return options;
|
||||
|
||||
@@ -272,7 +272,7 @@ function getCutoffSelectionOptions(cutoffs: DashboardPeriodCutoff[]): CutoffSele
|
||||
value: createCutoffSelectionValue(cutoff.id, "PRE"),
|
||||
cutoffId: cutoff.id,
|
||||
cutoffPhase: "PRE" as const,
|
||||
label: `Pre ${cutoff.name}`
|
||||
label: `Vor ${cutoff.name}`
|
||||
}));
|
||||
const lastCutoff = cutoffs[cutoffs.length - 1];
|
||||
|
||||
@@ -280,7 +280,7 @@ function getCutoffSelectionOptions(cutoffs: DashboardPeriodCutoff[]): CutoffSele
|
||||
value: createCutoffSelectionValue(lastCutoff.id, "POST"),
|
||||
cutoffId: lastCutoff.id,
|
||||
cutoffPhase: "POST",
|
||||
label: `Post ${lastCutoff.name}`
|
||||
label: `Nach ${lastCutoff.name}`
|
||||
});
|
||||
|
||||
return options;
|
||||
@@ -2470,7 +2470,7 @@ export function DashboardShell({
|
||||
helperText={
|
||||
expenseForm.recurrence === "MONTHLY"
|
||||
? "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) => (
|
||||
|
||||
Reference in New Issue
Block a user