Fix/remove disabled fields (#426)
* fix(dashboard): enable salary features with "Beta" badge for testing * fix(errors): enhance Swedish error message patterns for better user feedback fix(salary): update Nordea Personkonto handling in account encoding logic * fix(agi): implement feature flag for AGI transmission and update button states * fix(swedish-payroll): update youth rate eligibility criteria and enhance documentation * fix(agi-panel): remove feature flag for AGI transmission and simplify button states
This commit is contained in:
@@ -152,6 +152,16 @@ function isSwedishUserMessage(message: string): boolean {
|
||||
/förfrågan/i,
|
||||
/obligatorisk/i,
|
||||
/bokföringen är låst/i,
|
||||
/fält/i,
|
||||
/värde/i,
|
||||
/felaktig/i,
|
||||
/för (lång|kort|stor|liten|många|få)/i,
|
||||
/bankgiro/i,
|
||||
/personnummer/i,
|
||||
/kontonummer/i,
|
||||
/clearingnummer/i,
|
||||
/nummer är/i,
|
||||
/tillgängligt/i,
|
||||
]
|
||||
return swedishPatterns.some((p) => p.test(message))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user