feat(falukant): add scandalExtraDailyPct field and update related components

- Introduced a new field `scandalExtraDailyPct` in the relationship state model to track additional scandal risk per day, with validation constraints.
- Updated the FalukantService to include the new field in relevant calculations and data handling.
- Enhanced the frontend components, including RevenueSection and FamilyView, to display the scandal risk information and updated price calculations.
- Added localization entries for the new field in multiple languages to ensure clarity for users.
This commit is contained in:
Torsten Schulz (local)
2026-04-13 15:31:47 +02:00
parent 0ab7ac3f6f
commit 742947ba58
12 changed files with 176 additions and 26 deletions

View File

@@ -397,6 +397,10 @@
<dt>{{ $t('falukant.family.lovers.maintenance') }}</dt>
<dd>{{ lover.maintenanceLevel }}</dd>
</div>
<div>
<dt>{{ $t('falukant.family.lovers.scandalExtraDailyPct') }}</dt>
<dd>{{ Number(lover.scandalExtraDailyPct || 0).toFixed(1) }}%</dd>
</div>
<div>
<dt>{{ $t('falukant.family.lovers.monthlyCost') }}</dt>
<dd>