fix(buchhaltung): show budget-typ label in pod settings view mode

This commit is contained in:
Matthias Hochmeister
2026-03-30 14:20:57 +02:00
parent b21abce9e3
commit fcfee85efd

View File

@@ -266,6 +266,8 @@ export default function BuchhaltungKontoManage() {
</Stack>
) : (
<>
<FieldRow label="Budget-Typ" value={(konto.budget_typ || 'detailliert') === 'einfach' ? 'Einfach' : 'Detailliert'} />
<Divider sx={{ my: 1 }} />
{(konto.budget_typ || 'detailliert') === 'einfach' ? (
<>
<BudgetBar label="Gesamt" budget={konto.budget_gesamt || 0} spent={spentGwg + spentAnlagen + spentInst} />