Skip to content

Commit

Permalink
feat: [#172992652] Activate bonus screen (#1853)
Browse files Browse the repository at this point in the history
* Added IseeNotAvailableScreen

* fix merge conflict

* reset loading when change markdown

* rename FooterTwoButtons

* [#172989379] add screen for IseeNotEligible

* skeleton for activate bonus screen

* add locales & ActivateBonusScreen refinements

* link with the new FamilyMember

* request pin to confirm identity when the user choose to activate bonus

* add new field fiscal_code to FamilyMember mock

* fix formatting for amount and change to single mock datasource

* addt axBenefit placeholder

* add taxBenefit placeholder

* [#172992652] replace hardcoded value with mocked data

* change activatebonuscomponent to handle tax benefit

* revert to single values for bonusamount and taxbenefit

* remove unused import

* [#172992652] add mocked data

Co-authored-by: Matteo Boschi <[email protected]>
  • Loading branch information
fabriziofff and Undermaken authored May 29, 2020
1 parent 49e7e38 commit c0de9e8
Show file tree
Hide file tree
Showing 5 changed files with 213 additions and 20 deletions.
6 changes: 5 additions & 1 deletion locales/en/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1249,6 +1249,9 @@ bonus:
title: ISEE not eligible
subtitle: The ISEE submitted does not meet the requirements
text: !include bonus/bonusVacanze/iseeNotEligible.md
activateBonus:
title: Activate the bonus
description: You can activate a {{amount}} bonus. Your tax discount is equal to {{taxBenefit}}
bonusList:
title: Available bonuses
contentTitle: Select one of the available bonus
Expand All @@ -1258,4 +1261,5 @@ bonus:
inactive: Inactive bonus
tos:
title: Terms of service
content: !include bonus/bonusVacanze/bonus_tos.md
content: !include bonus/bonusVacanze/bonus_tos.md

3 changes: 3 additions & 0 deletions locales/it/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1282,6 +1282,9 @@ bonus:
title: ISEE not idoneo
subtitle: L'ISEE presentato non soddisfa i requisiti per il bonus vacanze
text: !include bonus/bonusVacanze/iseeNotEligible.md
activateBonus:
title: Attiva il bonus
description: Puoi attivare un bonus di {{amount}}. Il tuo sconto sulle tasse è pari a {{taxBenefit}}
bonusList:
title: Bonus disponibili
contentTitle: Seleziona uno dei bonus disponibili
Expand Down
50 changes: 31 additions & 19 deletions ts/features/bonusVacanze/mock/mockData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,46 @@
* This is just a temporary file to define utility types to develop Bonus section
*/

import { NonNegativeInteger } from "italia-ts-commons/lib/numbers";
import {
NonNegativeInteger,
NonNegativeNumber
} from "italia-ts-commons/lib/numbers";
import { FiscalCode, NonEmptyString } from "italia-ts-commons/lib/strings";
import { BonusStatusEnum, BonusVacanze } from "../types/bonusVacanze";
import { FamilyMember } from "../types/eligibility";
import {
EligibilityCheck,
EligibilityCheckStatusEnum
} from "../types/eligibility";

const svgBase64: string =
"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMjMyIiBoZWlnaHQ9IjIzMiIgdmlld0JveD0iMCAwIDIzMiAyMzIiCgkJIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOmV2PSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL3htbC1ldmVudHMiPgo8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMjMyIiBoZWlnaHQ9IjIzMiIgZmlsbD0iI2ZmZmZmZiIvPgo8ZGVmcz4KPHJlY3QgaWQ9InAiIHdpZHRoPSI4IiBoZWlnaHQ9IjgiLz4KPC9kZWZzPgo8ZyBmaWxsPSIjMDAwMDAwIj4KPHVzZSB4bGluazpocmVmPSIjcCIgeD0iMzIiIHk9IjMyIi8+Cjx1c2UgeGxpbms6aHJlZj0iI3AiIHg9IjMyIiB5PSI0MCIvPgo8dXNlIHhsaW5rOmhyZWY9IiNwIiB4PSIzMiIgeT0iNDgiLz4KPHVzZSB4bGluazpocmVmPSIjcCIgeD0iMzIiIHk9IjU2Ii8+Cjx1c2UgeGxpbms6aHJlZj0iI3AiIHg9IjMyIiB5PSI2NCIvPgo8dXNl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6ai9A9bVACVD5irfxqb7mS/M1v+K7ILsg0shesRKGUocrP8H2J/f0EyqdT/hTftr4VF/zpfkxP/scJPscRAvQgpUvASlf8TY+1dd8ab7mV3yvWOEr1vEFhvglkDQuflT/tIFmkFBgEoAWLIEofrp/ik/54q89/wwyg0ijUVwCVvEZ5OG/aiIBaMESiOKn+6f4lC/+2vPvguyCSKNRXAJW8RlkF0QauYxLgBJY1PwXycKnEsKv+spX/12QXRBpJIpLwCougau+8tV/BplBpJEoLgGruASu+spX/+MGEcB2PCU4zW/Pp/rCr3zFY4GGr+Bx/9OfpIvgdlwCEcFpfns+1Rd+5Ssu/pSf4ov7zyDZr5pogemCJKA0Lvxp/XT+FF/cfwaZQVITXOXHAt0rVnM9rq0nlBac5hth9yuEP+0u/lQ/xRf33wXZBZFIk3gs0F2QhP48V08oLTjNzyfIKgh/Vt1/j6P6KT7tj/13QXZBJJIkHgv03S9IQu4dcrVgPeGUn86Y9ld+ii/NF3/Cr3zhq39QKAB3j4vg9oLET9pf+erfjp/mfwbBhk8vSAKUwFP86t+Op/iVL/wzyAwijRyNS+DpA0LDzSAziDRyND6DHKXfzU8vSAjTJ6jy1b8dP83/LsguSFvjUf0ZJKKvn3x6QZpQFyDFr/7teIpf+cIfXxA1WHwMPJmBGeTJ2xv2OgMzSJ3iNXgyAzPIk7c37HUGZpA6xWvwZAZmkCdvb9jrDMwgdYrX4MkMzCBP3t6w1xmYQeoUr8GTGZhBnry9Ya8zMIPUKV6DJzMwgzx5e8NeZ2AGqVO8Bk9mYAZ58vaGvc7ADFKneA2ezMAM8uTtDXudgX8A87nObDaQd4gAAAAASUVORK5CYII=";

export const mockedIseeFamilyMembers: ReadonlyArray<FamilyMember> = [
{
name: "Mario" as NonEmptyString,
surname: "Rossi" as NonEmptyString,
fiscal_code: "EFCMZZ80A12L720R" as FiscalCode
},
{
name: "Giulia" as NonEmptyString,
surname: "Rossi" as NonEmptyString,
fiscal_code: "CDCMQQ81A12L721R" as FiscalCode
},
{
name: "Piero" as NonEmptyString,
surname: "Rossi" as NonEmptyString,
fiscal_code: "ABCMYY82A12L722R" as FiscalCode
}
];
export const mockedElegibilityCheck: EligibilityCheck = {
family_members: [
{
name: "Mario" as NonEmptyString,
surname: "Rossi" as NonEmptyString,
fiscal_code: "EFCMZZ80A12L720R" as FiscalCode
},
{
name: "Giulia" as NonEmptyString,
surname: "Rossi" as NonEmptyString,
fiscal_code: "CDCMQQ81A12L721R" as FiscalCode
},
{
name: "Piero" as NonEmptyString,
surname: "Rossi" as NonEmptyString,
fiscal_code: "ABCMYY82A12L722R" as FiscalCode
}
],
max_amount: 50000 as NonNegativeNumber,
max_tax_benefit: 3000 as NonNegativeNumber,
id: "d296cf6a-11f8-412b-972a-ede34d629680" as NonEmptyString,
status: EligibilityCheckStatusEnum.ELIGIBLE
};

export const mockedBonus: BonusVacanze = {
id: "XYZ",
Expand Down
Loading

0 comments on commit c0de9e8

Please sign in to comment.