feat(falukant): enhance tax calculation and update messaging parameters
All checks were successful
Deploy to production / deploy (push) Successful in 2m52s

- Updated the tax calculation logic in FalukantService to include character-based checks for political offices, improving accuracy in tax assessments.
- Enhanced the MessagesDialog component to incorporate additional parameters such as satisfaction, threshold_percent, director_id, and director_character_id, providing more detailed notifications.
- Added new localization entries for director resignation risk notifications in multiple languages, ensuring users receive clear and contextual information regarding director dynamics.
This commit is contained in:
Torsten Schulz (local)
2026-04-13 15:58:30 +02:00
parent 86e14a875d
commit f92b62e55b
9 changed files with 215 additions and 1 deletions

View File

@@ -34,6 +34,9 @@
"notifications": {
"notify_election_created": "A new election has been scheduled.",
"notify_office_filled": "A political office has been filled.",
"director": {
"resignation_risk_high": "High resignation risk for a director: risk {risk_percent}% (threshold {threshold_percent}%). Current satisfaction {satisfaction}."
},
"director_death": "{characterName} died at the age of {ageYears}. As employer you need to appoint a new director.{regionLabel}{spouses}{children}{lovers}",
"relationship_death": "{characterName} died at the age of {ageYears}.{regionLabel}{spouses}{children}{lovers}",
"child_death": "Your child {characterName} died at the age of {ageYears}.{regionLabel}",