Skip to content

Commit

Permalink
Temporarily "freeze" budget updates
Browse files Browse the repository at this point in the history
  • Loading branch information
goce-cz committed Jan 17, 2024
1 parent aa98bfd commit 3cf05ae
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
6 changes: 5 additions & 1 deletion admin-scripts/lib/budget-updates.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,11 @@ years.forEach((y) => {
if (act >= '2015-04-01') {
let partIncreaseAmount;
let fullIncreaseAmount;
if (act >= '2022-07-01') {
if (act >= '2024-01-01') {
partIncreaseAmount = 1;
fullIncreaseAmount = 1;
} else
if (act >= '2022-07-01') {
partIncreaseAmount = 30000;
fullIncreaseAmount = 30000;
} else {
Expand Down
16 changes: 16 additions & 0 deletions admin-scripts/lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const budgetNames = {
PERIOD2: 'period2',
PERIOD3: 'period3',
PERIOD4: 'period4',
PERIOD5: 'period5',
};

const budgetStartDate = '2015-04-01'; // when the budget calculation starts
Expand Down Expand Up @@ -86,6 +87,21 @@ const config = {
},
name: budgetNames.PERIOD4,
firstIncreaseYears: 2,
validUntil: '2023-12-31',
},
{
initial: {
// initial budget
fullTime: 75000,
partTime: 75000,
},
yearly: {
// yearly increase
fullTime: 1,
partTime: 1,
},
name: budgetNames.PERIOD5,
firstIncreaseYears: 2,
validUntil: '2999-12-31',
},
],
Expand Down

0 comments on commit 3cf05ae

Please sign in to comment.