Skip to content

Commit

Permalink
chore: update maximum allowed de minimis aid
Browse files Browse the repository at this point in the history
  • Loading branch information
EmiliaMakelaVincit committed Feb 12, 2024
1 parent 72ed278 commit b3f6564
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class DeMinimisAidSerializer(serializers.ModelSerializer):
in the Application.
"""

MAX_AID_AMOUNT = 200000
MAX_AID_AMOUNT = 300000
amount = serializers.DecimalField(
max_digits=DeMinimisAid.amount.field.max_digits,
decimal_places=DeMinimisAid.amount.field.decimal_places,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class DeMinimisAid {
fillTooBigAmounts: async (t: TestController): Promise<void> => {
const rows = [
{ granter: 'One', amount: '2', grantedAt: '1.1.2023' },
{ granter: 'Two', amount: '199999', grantedAt: '2.2.2023' },
{ granter: 'Two', amount: '299999', grantedAt: '2.2.2023' },
];
await this.actions.fillRows(t, rows);

Expand Down
2 changes: 1 addition & 1 deletion frontend/benefit/applicant/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export enum ROUTES {
DECISIONS = '/decisions',
}

export const MAX_DEMINIMIS_AID_TOTAL_AMOUNT = 200_000;
export const MAX_DEMINIMIS_AID_TOTAL_AMOUNT = 300_000;

export enum SUPPORTED_LANGUAGES {
FI = 'fi',
Expand Down
2 changes: 1 addition & 1 deletion frontend/benefit/handler/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const DE_MINIMIS_AID_GRANTED_AT_MAX_DATE = new Date();

export const APPLICATION_START_DATE = new Date(new Date().getFullYear(), 0, 1);

export const MAX_DEMINIMIS_AID_TOTAL_AMOUNT = 200_000;
export const MAX_DEMINIMIS_AID_TOTAL_AMOUNT = 300_000;

export const EMPLOYEE_MIN_WORKING_HOURS = 18;
export const EMPLOYEE_MAX_WORKING_HOURS = 168;
Expand Down
2 changes: 1 addition & 1 deletion frontend/benefit/shared/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export enum DE_MINIMIS_AID_KEYS {

export enum DE_MINIMIS_AID {
// eslint-disable-next-line unicorn/numeric-separators-style
MAX_AMOUNT = 200000,
MAX_AMOUNT = 300000,
}

export enum CALCULATION_EMPLOYMENT_KEYS {
Expand Down

0 comments on commit b3f6564

Please sign in to comment.