Skip to content

Commit

Permalink
Update PreEnrolmentPage.js
Browse files Browse the repository at this point in the history
Price from 75 to 80
  • Loading branch information
miquelvir authored Jul 17, 2023
1 parent 067c358 commit efbbad1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions web_app/src/PreEnrolmentPage/PreEnrolmentPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const isUnderage = (birthDateString) => {
const PreEnrolmentPage = (props) => {
const {t} = useTranslation();

const can_pay_75 = "Puc pagar la quota trimestral de 75€/estudiant";
const can_pay_80 = "Puc pagar la quota trimestral de 80€/estudiant";

const classes = useStyles();

Expand Down Expand Up @@ -369,8 +369,8 @@ __person1__surname1: '',
}
})
body['payment_comments'] = raw_economic_comments.join('. ');
if (raw_economic_comments.includes(can_pay_75)){
body['price_term'] = 75;
if (raw_economic_comments.includes(can_pay_80)){
body['price_term'] = 80;
} else {
body['price_term'] = null;
}
Expand Down Expand Up @@ -983,7 +983,7 @@ La nostra política protecció de dades es basa en que:

<List className={classes.list}>
{
[can_pay_75,
[can_pay_80,
"Puc pagar una quota a acordar personalment",
"No puc pagar la quota trimestral",
"Puc aportar una segona quota per un altre nen/a (desgravació fiscal)",
Expand Down Expand Up @@ -1173,4 +1173,4 @@ La nostra política protecció de dades es basa en que:

}

export default PreEnrolmentPage;
export default PreEnrolmentPage;

0 comments on commit efbbad1

Please sign in to comment.