Skip to content

Commit

Permalink
Merge branch 'master' into IOBP-510-new-wallet-payment-details-refact…
Browse files Browse the repository at this point in the history
…oring
  • Loading branch information
Hantex9 authored Jan 22, 2024
2 parents e441b81 + 0a08463 commit 655cf23
Show file tree
Hide file tree
Showing 72 changed files with 89 additions and 3,875 deletions.
Binary file removed img/bonus/bonusVacanze/bonus_bg.png
Binary file not shown.
Binary file removed img/bonus/bonusVacanze/bonus_preview_bg.png
Binary file not shown.
Binary file removed img/bonus/bonusVacanze/logo_BonusVacanze_White.png
Binary file not shown.
Binary file removed img/bonus/bonusVacanze/logo_bonusvacanze_blue.png
Binary file not shown.
Binary file removed img/bonus/bonusVacanze/vacanze.png
Binary file not shown.
4 changes: 0 additions & 4 deletions locales/de/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1577,10 +1577,6 @@ wallet:
title: "Deine Karte wurde erfolgreich hinzugefügt!"
payment:
success:
banner:
title: "Kannst du uns sagen, wie es gelaufen ist?"
content: "Erzähle uns von deinen Erfahrungen mit der Bezahlung und hilf uns, uns zu verbessern."
action: "Weiter zur Umfrage"
title: "Danke, die Transaktion war erfolgreich!"
description1: "Wir senden eine Quittung an"
description2: "Du kannst sie auch in deinem Konto finden."
Expand Down
80 changes: 0 additions & 80 deletions locales/en/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1631,10 +1631,6 @@ wallet:
title: "Your card has been successfully added!"
payment:
success:
banner:
title: Puoi dirci com’è andata?
content: Raccontaci la tua esperienza con il pagamento e aiutaci a migliorare.
action: Vai al sondaggio
title: "Thank you for your payment!"
description1: "We sent a receipt to"
description2: "You can also find it in your Wallet."
Expand Down Expand Up @@ -2358,12 +2354,7 @@ bonus:
description: "This initiative has ended and can no longer be requested"
bonusVacanze:
accessibility:
preview: Bonus Vacanze, worth up to {{value}} euro, {{status}}
card: Your Bonus Vacanze with code {{code}} worth up to {{value}} euro is {{status}}
statusInfo:
validBetween: You will be able to use the Bonus Vacanze starting from {{from}} until {{to}}
bonusRejected: Attention! This Bonus Vacanze has been rejected
redeemed: This Bonus Vacanze has been consumed on {{date}}
multipleBonus: Two or more bonuses requested and activated by you. Make sure you use the correct DSU to prevent the bonus user from incurring subsequent recovery actions.
usableAmount: Expendable at the accommodation facility
taxBenefit: Deductible in tax return
Expand All @@ -2382,89 +2373,20 @@ bonus:
shareMessage: "This is the code of your Bonus Vacanze:"
saveScreenShotOk: "Bonus saved in your gallery!"
savedOn: "Saved on "
detail:
contextualHelp:
title: Bonus Vacanze
body: Here you can see the details of the Bonus Vacanze and the information needed to spend the bonus.
checkBonusEligibility:
loading: Checking bonus eligibility
cta:
requestBonus: Request Bonus
cancelRequest: Cancel the request
qrCode: QR code
copyCode: Code copy
openQRCode: View QR code
eligibility:
loading: "We are verifying your family's ISEE with INPS\nPlease wait."
iseeNotAvailable:
title: "We're sorry.\n You don't have a valid ISEE \"ordinario or corrente\"."
text:
first: "It is necessary to submit a DSU for the calculation of the ISEE \"ordinario or corrente\", before requesting the \"Bonus Vacanze\".\n You can do an "
secondo: "online simulation"
third: " on the INPS website to check your eligibility, or request your ISEE through the channels provided by INPS."
goToDSU: Request ISEE
iseeNotEligible:
title: "We're sorry.\n Your ISEE exceeds the required threshold."
text: If the financial position of your household has changed since the last DSU published, you can file a new through the channels provided by INPS.
goToNewDSU: Request new DSU
activateBonus:
contextualHelp:
title: The Bonus Vacanze of your family
body: !include bonus/bonusVacanze/eligible_ch.md
headerTitle: Bonus Vacanze request
title: Good news!
description: "Your family is entitled to the following Bonus Vacanze:"
reminder:
text: "Each member of your family helps determine the amount and can spend the bonus. If the data is incorrect or updated, to avoid problems following the use of the Bonus, we invite you to submit a new DSU before proceeding with the request."
discrepancies:
attention: "Warning!"
text: "INPS has reported some omissions or discrepancies in your ISEE. Check that everything is correct before continuing. If you decide to continue, you may be called to provide documentation to prove the completeness and truthfulness of the data indicated in the DSU. Otherwise, you can present a new DSU and check the bonus at a later time."
activateCTA: "Activate the Bonus"
timeout:
title: We are verifying your ISEE.
description:
first: "We will send you a message when the verification is complete.\n\nIf the outcome is positive, when you receive it, remember to complete your application "
second: "within 24 hours"
third: ", otherwise you will have to start a new one."
activationPending:
title: The bonus for your family has already been requested and is being activated.
description: You will receive a message when it is activated.
underage:
title: "We're sorry. Only citizens of legal age can apply for the Bonus Vacanze"
activation:
loading: "We have forwarded your request to the Revenue Agency\nPlease wait."
goToDetails: Show Bonus Vacanze
timeout:
title: We are processing your request.
description: We will send you a message in the app when your bonus is ready.
alreadyRedeemed:
title: The bonus for your family is already active!
body: You can view the details in the Wallet section.
cta: Show available Bonuses
eligibilityExpired:
title: Time expired.
body: The 24 hours needed to continue your request have expired. Please, start a new request.
cta: Request Bonus
completed:
title: Congratulation!
description: Bonus activated
confirm:
title: Attention
body: If you continue, you will no longer be able to cancel the request.
cancel: Back to the request
confirm: Continue
abort:
title: Cancel
body: Do you really want to quit? To request the "Bonus Vacanze" you will have to repeat the process from the beginning.
cancel: Continue
confirm: Abort the request
completed: Request aborted
composition:
amount: "Maximum amount"
expendable: "Spendable amount"
taxBenefit: "Tax deductible"
family:
title: "Who can claim the bonus?"
bonusList:
title: Add bonus or discount
contentTitle: Select one of the available bonus
Expand All @@ -2475,8 +2397,6 @@ bonus:
contextualHelp:
title: The Bonus Vacanze
body: Here you can see all the information related to the Bonus Vacanze, the measure established by the Decreto Rilancio to encourage tourism after the lockdown due to the Coronavirus emergency.
requestAlert:
title: Attention
request: Request a new bonus
requestLabel: Bonuses and discounts
requestTitle: Request
Expand Down
80 changes: 0 additions & 80 deletions locales/it/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1631,10 +1631,6 @@ wallet:
title: "La tua carta è stata aggiunta con successo!"
payment:
success:
banner:
title: Puoi dirci com’è andata?
content: Raccontaci la tua esperienza con il pagamento e aiutaci a migliorare.
action: Vai al sondaggio
title: "Grazie, l’operazione è stata eseguita con successo!"
description1: "Abbiamo inviato una ricevuta a"
description2: "Puoi trovarla anche nel tuo Portafoglio."
Expand Down Expand Up @@ -2358,12 +2354,7 @@ bonus:
description: "Questa iniziativa è terminata e non è più possibile richiederla"
bonusVacanze:
accessibility:
preview: Bonus Vacanze, importo massimo {{value}} euro, {{status}}
card: Il tuo Bonus Vacanze con codice {{code}}, del valore massimo di {{value}} euro è {{status}}
statusInfo:
validBetween: Potrai usare questo Bonus Vacanze dal {{from}} fino al {{to}}
bonusRejected: Attenzione! Questo Bonus Vacanze è stato annullato
redeemed: Questo Bonus Vacanze è stato utilizzato il {{date}}
multipleBonus: Risultano due o più bonus richiesti e attivati da te. Assicurati di usare quello relativo alla DSU corretta, per evitare che chi utilizza il bonus incorra in successive azioni di recupero.
usableAmount: Spendibile presso la struttura ricettiva
taxBenefit: Detraibile in dichiarazione dei redditi
Expand All @@ -2382,89 +2373,20 @@ bonus:
shareMessage: "Questo è il codice del tuo Bonus Vacanze:"
saveScreenShotOk: "Bonus salvato nella tua galleria!"
savedOn: "Salvato il "
detail:
contextualHelp:
title: Bonus Vacanze
body: Qui sono visualizzati i dettagli del Bonus Vacanze e le informazioni necessarie per spendere il bonus.
checkBonusEligibility:
loading: Verifico l'idoneità per l'accesso al bonus
cta:
requestBonus: Richiedi Bonus
cancelRequest: Annulla la richiesta
qrCode: QR code
copyCode: Copia codice
openQRCode: Visualizza QR code
eligibility:
loading: "Stiamo verificando l’ISEE del tuo nucleo familiare con INPS\nTi preghiamo di attendere."
iseeNotAvailable:
title: "Siamo spiacenti.\n Non hai un ISEE ordinario o corrente in corso di validità."
text:
first: "E' necessario presentare una Dichiarazione Sostitutiva Unica (DSU) per il calcolo dell’ISEE ordinario o corrente, prima di richiedere nuovamente il Bonus Vacanze.\n\n Puoi fare subito una "
secondo: "simulazione online"
third: " sul sito dell'INPS per verificare la tua idoneità, oppure richiedere l'ISEE sui canali previsti da INPS."
goToDSU: Richiedi ISEE
iseeNotEligible:
title: "Siamo spiacenti.\n Il tuo ISEE supera la soglia richiesta."
text: Se la situazione patrimoniale del tuo nucleo familiare è cambiata rispetto all'ultima Dichiarazioni Sostitutiva Unica (DSU) presentata, puoi presentarne una nuova attraverso i canali previsti da INPS.
goToNewDSU: Richiedi nuovo ISEE
activateBonus:
contextualHelp:
title: Il Bonus Vacanze del tuo nucleo familiare
body: !include bonus/bonusVacanze/eligible_ch.md
headerTitle: Richiesta Bonus Vacanze
title: Buone notizie!
description: "Il tuo nucleo familiare ha diritto al seguente Bonus Vacanze:"
reminder:
text: "Ciascun componente del tuo nucleo familiare concorre a determinare l'importo e potrà spendere il bonus. Se i dati non sono corretti o aggiornati, per evitare problemi in seguito all'utilizzo del Bonus, ti invitiamo a presentare una nuova DSU prima di procedere con la richiesta."
discrepancies:
attention: "Attenzione!"
text: "INPS ha segnalato alcune omissioni o difformità nel tuo ISEE. Verifica che sia tutto corretto prima di continuare. Se decidi di proseguire, potresti essere chiamato a fornire la documentazione per provare la completezza e la veridicità dei dati indicati nella DSU Altrimenti, puoi presentare una nuova DSU e richiedere il Bonus in un secondo momento."
activateCTA: "Attiva il Bonus"
timeout:
title: Stiamo procedendo alla verifica del tuo ISEE.
description:
first: "Ti invieremo un messaggio in app non appena sarà completata.\n\nQuando lo riceverai, se l'esito sarà positivo, ricordati di completare la tua richiesta "
second: "entro 24 ore"
third: ", altrimenti dovrai iniziarne una nuova."
activationPending:
title: Il bonus per il tuo nucleo familiare è già stato richiesto ed è in fase di attivazione.
description: Riceverai un messaggio quando sarà attivato.
underage:
title: "Siamo spiacenti. Solo i cittadini maggiorenni possono richiedere il Bonus Vacanze"
activation:
loading: "Abbiamo inoltrato la tua richiesta a Agenzia delle Entrate\nTi preghiamo di attendere."
goToDetails: Visualizza Bonus Vacanze
timeout:
title: Stiamo processando la tua richiesta.
description: Ti invieremo un messaggio in app quando il tuo bonus sarà pronto.
alreadyRedeemed:
title: Il bonus per il tuo nucleo familiare è già attivo!
body: Puoi visualizzarne i dettagli nella sezione Portafoglio.
cta: Visualizza Bonus disponibili
eligibilityExpired:
title: Tempo scaduto.
body: Le 24 ore utili a proseguire la tua richiesta sono scadute. Ti chiediamo di ricominciare una nuova richiesta.
cta: "Richiedi Bonus"
confirm:
title: Attenzione
body: Continuando nel processo, non sarà più possibile annullare la richiesta.
cancel: Torna alla richiesta
confirm: Continua
completed:
title: Congratulazioni!
description: Il tuo bonus è attivo
abort:
title: Annulla
body: Vuoi davvero uscire dal processo? Per richiedere il bonus vacanze dovrai ripetere il flusso dall’inizio.
cancel: Continua
confirm: Annulla la richiesta
completed: Richiesta annullata
composition:
amount: "Importo massimo"
expendable: "Spendibile presso la struttura ricettiva"
taxBenefit: "Detraibile in dichiarazione dei redditi"
family:
title: "Chi può riscuotere il bonus?"
bonusList:
title: Aggiungi bonus o sconto
contentTitle: Seleziona uno dei bonus disponibili
Expand All @@ -2475,8 +2397,6 @@ bonus:
contextualHelp:
title: Il bonus vacanze
body: Qui sono visualizzate tutte le informazioni relative al bonus vacanze, il provvedimento istituito dal Decreto Rilancio per incentivare il turismo dopo il lockdown dovuto all'emergenza Coronavirus.
requestAlert:
title: Attenzione
request: Richiedi un nuovo bonus
requestLabel: Bonus e sconti
requestTitle: Richiesta
Expand Down
10 changes: 0 additions & 10 deletions ts/features/bonus/__mock__/mockData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,3 @@ export const mockedBonus: BonusActivationWithQrCode = {
dsu_request: dsuData,
created_at: new Date("2020-07-04T12:20:00.000Z")
};

export const mockedAvailableBonusItem = {
id: 1,
name: "Bonus Vacanze",
description: "descrizione bonus vacanze",
valid_from: new Date("2020-07-01T00:00:00.000Z"),
valid_to: new Date("2020-12-31T23:59:59.000Z"),
cover:
"https://gdsit.cdn-immedia.net/2018/08/fff810d2e44464312e70071340fd92fc.jpg"
};
71 changes: 0 additions & 71 deletions ts/features/bonus/bonusVacanze/api/backendBonusVacanze.ts

This file was deleted.

Loading

0 comments on commit 655cf23

Please sign in to comment.