From 913d49c54b15d4400f27403281cebadd7b87b2dd Mon Sep 17 00:00:00 2001 From: Maxime Bajeux Date: Thu, 19 Dec 2024 17:43:45 +0100 Subject: [PATCH] feat(account): follow up demo kyc changes (#14363) ref: MANAGER-15565 Signed-off-by: Maxime Bajeux --- .../template.html | 2 +- .../translations/Messages_de_DE.json | 4 ++-- .../translations/Messages_en_GB.json | 4 ++-- .../translations/Messages_es_ES.json | 4 ++-- .../translations/Messages_fr_CA.json | 4 ++-- .../translations/Messages_fr_FR.json | 4 ++-- .../translations/Messages_it_IT.json | 4 ++-- .../translations/Messages_pl_PL.json | 4 ++-- .../translations/Messages_pt_PT.json | 4 ++-- .../template.html | 6 ++--- .../translations/Messages_de_DE.json | 6 ++--- .../translations/Messages_en_GB.json | 6 ++--- .../translations/Messages_es_ES.json | 6 ++--- .../translations/Messages_fr_CA.json | 6 ++--- .../translations/Messages_fr_FR.json | 6 ++--- .../translations/Messages_it_IT.json | 6 ++--- .../translations/Messages_pl_PL.json | 6 ++--- .../translations/Messages_pt_PT.json | 6 ++--- .../component.js | 10 --------- .../index.js | 13 ----------- .../template.html | 22 ------------------- .../translations/Messages_de_DE.json | 5 ----- .../translations/Messages_en_GB.json | 5 ----- .../translations/Messages_es_ES.json | 5 ----- .../translations/Messages_fr_CA.json | 5 ----- .../translations/Messages_fr_FR.json | 5 ----- .../translations/Messages_it_IT.json | 5 ----- .../translations/Messages_pl_PL.json | 5 ----- .../translations/Messages_pt_PT.json | 5 ----- .../user-identity-documents.constant.js | 2 -- .../user-identity-documents.controller.js | 22 +++++-------------- .../user-identity-documents.html | 10 ++------- .../user-identity-documents.module.js | 2 -- 33 files changed, 52 insertions(+), 157 deletions(-) delete mode 100644 packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/component.js delete mode 100644 packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/index.js delete mode 100644 packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/template.html delete mode 100644 packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_de_DE.json delete mode 100644 packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_en_GB.json delete mode 100644 packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_es_ES.json delete mode 100644 packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_fr_CA.json delete mode 100644 packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_fr_FR.json delete mode 100644 packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_it_IT.json delete mode 100644 packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_pl_PL.json delete mode 100644 packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_pt_PT.json diff --git a/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/template.html b/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/template.html index 836858a36392..d28b3b9c2360 100644 --- a/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/template.html +++ b/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/template.html @@ -12,7 +12,7 @@ data-translate="{{'user_account_identity_documents_proof_tile_heading_' + $ctrl.proof}}" >

diff --git a/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_de_DE.json b/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_de_DE.json index 12a804606d02..870e921f906c 100644 --- a/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_de_DE.json +++ b/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_de_DE.json @@ -7,9 +7,9 @@ "user_account_identity_documents_proof_tile_heading_vat": "Mehrwertsteuernachweis", "user_account_identity_documents_proof_tile_heading_authority_declaration": "Eidesstattliche Erklärung", "user_account_identity_documents_proof_tile_text_particular_identity": "Aadhaar-Karte, Personalausweis, Reisepass, Führerschein, Wählerkarte Indiens.", - "user_account_identity_documents_proof_tile_text_particular_address": "Aadhaar-Karte, GST-Zertifikat, Rechnung (Strom, Gas, Wasser, Internet oder Telefon), Bankauszug.", + "user_account_identity_documents_proof_tile_text_particular_address": "Aadhaar-Karte, GST-Zertifikat (Steuer auf Waren und Dienstleistungen), Rechnung (Strom, Gas, Wasser, Internet oder Telefon), Bankauszug.", "user_account_identity_documents_proof_tile_text_non_individual_identity": "Aadhaar-Karte, Personalausweis, Reisepass, Führerschein, Wählerkarte Indiens.", - "user_account_identity_documents_proof_tile_text_non_individual_address": "GST-Zertifikat, Rechnung (Strom, Gas, Wasser, Internet oder Telefon), Bankauszug.", + "user_account_identity_documents_proof_tile_text_non_individual_address": "GST-Zertifikat (Steuer auf Waren und Dienstleistungen), Rechnung (Strom, Gas, Wasser, Internet oder Telefon), Bankauszug.", "user_account_identity_documents_proof_tile_text_non_individual_vat": "GST-Zertifikat (Steuer auf Waren und Dienstleistungen).", "user_account_identity_documents_proof_tile_text_non_individual_authority_declaration": "Dokument, das Ihnen die Berechtigung erteilt, im Namen des Unternehmens zu handeln.", "user_account_identity_documents_proof_tile_extended_identity": "Dokument des gesetzlichen Vertreters, des Betriebsleiters oder eines anderen im GST-Zertifikat genannten Kontakts.", diff --git a/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_en_GB.json b/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_en_GB.json index e9c943a41ddf..a77327c71892 100644 --- a/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_en_GB.json +++ b/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_en_GB.json @@ -8,9 +8,9 @@ "user_account_identity_documents_proof_tile_heading_vat": "Proof of VAT registration", "user_account_identity_documents_proof_tile_heading_authority_declaration": "Sworn statement", "user_account_identity_documents_proof_tile_text_particular_identity": "Aadhaar card, ID card, passport, driving licence, Indian voter card.", - "user_account_identity_documents_proof_tile_text_particular_address": "Aadhaar card, GST certificate, utility bill (electricity, gas, water, internet or telephone), bank statement.", + "user_account_identity_documents_proof_tile_text_particular_address": "Aadhaar card, GST certificate (goods and services tax), bill (electricity, gas, water, internet or telephone), bank statement.", "user_account_identity_documents_proof_tile_text_non_individual_identity": "Aadhaar card, ID card, passport, driving licence, Indian voter card.", - "user_account_identity_documents_proof_tile_text_non_individual_address": "GST certificate, utility bill (electricity, gas, water, internet or telephone), bank statement.", + "user_account_identity_documents_proof_tile_text_non_individual_address": "GST certificate (goods and services tax), bill (electricity, gas, water, internet or telephone), bank statement.", "user_account_identity_documents_proof_tile_text_non_individual_vat": "Goods and Services Tax (GST) certificate.", "user_account_identity_documents_proof_tile_text_non_individual_authority_declaration": "Document granting you authority to act on the company’s behalf.", "user_account_identity_documents_proof_tile_extended_identity": "Document for legal representative, chief operations officer, or any other contact listed in the GST.", diff --git a/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_es_ES.json b/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_es_ES.json index acead6d461c8..7eed2872951d 100644 --- a/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_es_ES.json +++ b/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_es_ES.json @@ -7,9 +7,9 @@ "user_account_identity_documents_proof_tile_heading_vat": "Justificante de IVA", "user_account_identity_documents_proof_tile_heading_authority_declaration": "Declaración jurada", "user_account_identity_documents_proof_tile_text_particular_identity": "Tarjeta Aadhaar, DNI, pasaporte, permiso de conducir, tarjeta de votante india.", - "user_account_identity_documents_proof_tile_text_particular_address": "Tarjeta Aadhaar, certificado GST, factura (electricidad, gas, agua, internet o teléfono), extracto bancario.", + "user_account_identity_documents_proof_tile_text_particular_address": "Tarjeta Aadhaar, certificado GST (impuesto sobre productos y servicios), factura (electricidad, gas, agua, internet o teléfono), extracto bancario.", "user_account_identity_documents_proof_tile_text_non_individual_identity": "Tarjeta Aadhaar, DNI, pasaporte, permiso de conducir, tarjeta de votante india.", - "user_account_identity_documents_proof_tile_text_non_individual_address": "Certificado GST, factura (electricidad, gas, agua, internet o teléfono), extracto bancario.", + "user_account_identity_documents_proof_tile_text_non_individual_address": "Certificado GST (impuesto sobre los productos y servicios), factura (electricidad, gas, agua, internet o teléfono), extracto bancario.", "user_account_identity_documents_proof_tile_text_non_individual_vat": "Certificado GST (impuesto sobre los productos y servicios).", "user_account_identity_documents_proof_tile_text_non_individual_authority_declaration": "Autorización para actuar en nombre de la empresa,", "user_account_identity_documents_proof_tile_extended_identity": "Documento del representante legal, del director de operaciones o de cualquier otro contacto mencionado en el certificado GST.", diff --git a/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_fr_CA.json b/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_fr_CA.json index 3b7ebdaeb17f..167c60a11fbd 100644 --- a/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_fr_CA.json +++ b/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_fr_CA.json @@ -7,9 +7,9 @@ "user_account_identity_documents_proof_tile_heading_vat": "Preuve de TVA", "user_account_identity_documents_proof_tile_heading_authority_declaration": "Attestation sur l'honneur", "user_account_identity_documents_proof_tile_text_particular_identity": "Carte Aadhaar, carte d'identité, passeport, permis de conduire, carte d'électeur indienne.", - "user_account_identity_documents_proof_tile_text_particular_address": "Carte Aadhaar, certificat GST, facture (électricité, gaz, eau, internet ou téléphone), relevé bancaire.", + "user_account_identity_documents_proof_tile_text_particular_address": "Carte Aadhaar, certificat GST (taxe sur les produits et services), facture (électricité, gaz, eau, internet ou téléphone), relevé bancaire.", "user_account_identity_documents_proof_tile_text_non_individual_identity": "Carte Aadhaar, carte d'identité, passeport, permis de conduire, carte d'électeur indienne.", - "user_account_identity_documents_proof_tile_text_non_individual_address": "Certificat GST, facture (électricité, gaz, eau, internet ou téléphone), relevé bancaire.", + "user_account_identity_documents_proof_tile_text_non_individual_address": "Certificat GST (taxe sur les produits et services), facture (électricité, gaz, eau, internet ou téléphone), relevé bancaire.", "user_account_identity_documents_proof_tile_text_non_individual_vat": "Certificat GST (taxe sur les produits et services)", "user_account_identity_documents_proof_tile_text_non_individual_authority_declaration": "Document vous donnant l'autorisation d'agir au nom de la société.", "user_account_identity_documents_proof_tile_extended_identity": "Document du représentant légal, du directeur des opérations ou de tout autre contact mentionné dans le certificat GST.", diff --git a/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_fr_FR.json b/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_fr_FR.json index 3b7ebdaeb17f..167c60a11fbd 100644 --- a/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_fr_FR.json +++ b/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_fr_FR.json @@ -7,9 +7,9 @@ "user_account_identity_documents_proof_tile_heading_vat": "Preuve de TVA", "user_account_identity_documents_proof_tile_heading_authority_declaration": "Attestation sur l'honneur", "user_account_identity_documents_proof_tile_text_particular_identity": "Carte Aadhaar, carte d'identité, passeport, permis de conduire, carte d'électeur indienne.", - "user_account_identity_documents_proof_tile_text_particular_address": "Carte Aadhaar, certificat GST, facture (électricité, gaz, eau, internet ou téléphone), relevé bancaire.", + "user_account_identity_documents_proof_tile_text_particular_address": "Carte Aadhaar, certificat GST (taxe sur les produits et services), facture (électricité, gaz, eau, internet ou téléphone), relevé bancaire.", "user_account_identity_documents_proof_tile_text_non_individual_identity": "Carte Aadhaar, carte d'identité, passeport, permis de conduire, carte d'électeur indienne.", - "user_account_identity_documents_proof_tile_text_non_individual_address": "Certificat GST, facture (électricité, gaz, eau, internet ou téléphone), relevé bancaire.", + "user_account_identity_documents_proof_tile_text_non_individual_address": "Certificat GST (taxe sur les produits et services), facture (électricité, gaz, eau, internet ou téléphone), relevé bancaire.", "user_account_identity_documents_proof_tile_text_non_individual_vat": "Certificat GST (taxe sur les produits et services)", "user_account_identity_documents_proof_tile_text_non_individual_authority_declaration": "Document vous donnant l'autorisation d'agir au nom de la société.", "user_account_identity_documents_proof_tile_extended_identity": "Document du représentant légal, du directeur des opérations ou de tout autre contact mentionné dans le certificat GST.", diff --git a/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_it_IT.json b/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_it_IT.json index cfdec50ff385..a2ecf389875f 100644 --- a/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_it_IT.json +++ b/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_it_IT.json @@ -7,9 +7,9 @@ "user_account_identity_documents_proof_tile_heading_vat": "Prova di partita IVA", "user_account_identity_documents_proof_tile_heading_authority_declaration": "Dichiarazione sull'onore", "user_account_identity_documents_proof_tile_text_particular_identity": "Carta Aadhaar, carta di identità, passaporto, patente di guida, tessera elettorale indiana.", - "user_account_identity_documents_proof_tile_text_particular_address": "Carta Aadhaar, certificato GST, bolletta di utenza (elettricità, gas, acqua, Internet o telefono), estratto conto bancario.", + "user_account_identity_documents_proof_tile_text_particular_address": "Carta Aadhaar, certificato GST (imposta su prodotti e servizi), fattura (elettricità, gas, acqua, internet o telefono), rendiconto bancario.", "user_account_identity_documents_proof_tile_text_non_individual_identity": "Carta Aadhaar, carta di identità, passaporto, patente di guida, tessera elettorale indiana.", - "user_account_identity_documents_proof_tile_text_non_individual_address": "Certificato GST, bolletta di utenza (elettricità, gas, acqua, Internet o telefono), estratto conto bancario.", + "user_account_identity_documents_proof_tile_text_non_individual_address": "Certificato GST (imposta su prodotti e servizi), fattura (elettricità, gas, acqua, internet o telefono), rendiconto bancario.", "user_account_identity_documents_proof_tile_text_non_individual_vat": "Certificato GST (imposta su prodotti e servizi)", "user_account_identity_documents_proof_tile_text_non_individual_authority_declaration": "Documento che ti autorizza ad agire a nome della società", "user_account_identity_documents_proof_tile_extended_identity": "Documento del rappresentante legale, direttore operativo o altro contatto menzionato nel certificato GST.", diff --git a/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_pl_PL.json b/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_pl_PL.json index 0fdbd4f977e7..0b9406f3f139 100644 --- a/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_pl_PL.json +++ b/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_pl_PL.json @@ -7,9 +7,9 @@ "user_account_identity_documents_proof_tile_heading_vat": "Dokument potwierdzający status podatnika VAT", "user_account_identity_documents_proof_tile_heading_authority_declaration": "Oświadczenie", "user_account_identity_documents_proof_tile_text_particular_identity": "Karta Aadhaar, dowód osobisty, paszport, prawo jazdy, indyjska karta wyborcza.", - "user_account_identity_documents_proof_tile_text_particular_address": "Karta Aadhaar, certyfikat GST, faktura (za prąd, gaz, wodę, Internet lub telefon), wyciąg bankowy.", + "user_account_identity_documents_proof_tile_text_particular_address": "Karta Aadhaar, certyfikat GST (podatek od towarów i usług), faktura (prąd, gaz, woda, internet lub telefon), wyciąg bankowy.", "user_account_identity_documents_proof_tile_text_non_individual_identity": "Karta Aadhaar, dowód osobisty, paszport, prawo jazdy, indyjska karta wyborcza.", - "user_account_identity_documents_proof_tile_text_non_individual_address": "Certyfikat GST, faktura (za prąd, gaz, wodę, Internet lub telefon), wyciąg bankowy.", + "user_account_identity_documents_proof_tile_text_non_individual_address": "Certyfikat GST (podatek od towarów i usług), faktura (elektryczność, gaz, woda, internet lub telefon), wyciąg bankowy.", "user_account_identity_documents_proof_tile_text_non_individual_vat": "Certyfikat GST (podatek od towarów i usług).", "user_account_identity_documents_proof_tile_text_non_individual_authority_declaration": "Dokument uprawniający do reprezentowania firmy.", "user_account_identity_documents_proof_tile_extended_identity": "Dokument potwierdzający tożsamość pełnomocnika, dyrektora operacyjnego lub innego kontaktu wymienionego w certyfikacie GST.", diff --git a/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_pt_PT.json b/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_pt_PT.json index 39c185d14739..7e1b266e6969 100644 --- a/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_pt_PT.json +++ b/packages/manager/modules/account/src/identity-documents/components/identity-documents-proof-tile/translations/Messages_pt_PT.json @@ -7,9 +7,9 @@ "user_account_identity_documents_proof_tile_heading_vat": "Comprovativo de IVA", "user_account_identity_documents_proof_tile_heading_authority_declaration": "Atestado sob compromisso de honra", "user_account_identity_documents_proof_tile_text_particular_identity": "Cartão Aadhaar, documento de identificação, passaporte, carta de condução, cartão de eleitor indiano.", - "user_account_identity_documents_proof_tile_text_particular_address": "Cartão Aadhaar, certificado GST, fatura (eletricidade, gás, água, Internet ou telefone), extrato bancário.", + "user_account_identity_documents_proof_tile_text_particular_address": "Cartão Aadhaar, certificado GST (imposto sobre os produtos e serviços), fatura (eletricidade, gás, água, Internet ou telefone), extrato bancário.", "user_account_identity_documents_proof_tile_text_non_individual_identity": "Cartão Aadhaar, documento de identificação, passaporte, carta de condução, cartão de eleitor indiano.", - "user_account_identity_documents_proof_tile_text_non_individual_address": "Certificado GST, fatura (eletricidade, gás, água, Internet ou telefone), extrato bancário.", + "user_account_identity_documents_proof_tile_text_non_individual_address": "Certificado GST (imposto sobre os produtos e serviços), fatura (eletricidade, gás, água, Internet ou telefone), extrato bancário.", "user_account_identity_documents_proof_tile_text_non_individual_vat": "Certificado GST (imposto sobre produtos e serviços)", "user_account_identity_documents_proof_tile_text_non_individual_authority_declaration": "Documento de permissão para agir em nome da empresa.", "user_account_identity_documents_proof_tile_extended_identity": "Documento do representante legal, do diretor de Operações ou de qualquer outro contacto mencionado no certificado GST.", diff --git a/packages/manager/modules/account/src/identity-documents/components/identity-documents-upload-detail/template.html b/packages/manager/modules/account/src/identity-documents/components/identity-documents-upload-detail/template.html index 9a1fd4008d91..84525c299e9a 100644 --- a/packages/manager/modules/account/src/identity-documents/components/identity-documents-upload-detail/template.html +++ b/packages/manager/modules/account/src/identity-documents/components/identity-documents-upload-detail/template.html @@ -29,10 +29,10 @@ class="my-3 w-100" >
-

+ >
  • - -
    -
diff --git a/packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_de_DE.json b/packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_de_DE.json deleted file mode 100644 index abd74518447f..000000000000 --- a/packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_de_DE.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "user_account_identity_documents_upload_confirm": "Haben Sie alle angeforderten Dokumente hinzugefügt?", - "user_account_identity_documents_upload_confirm_yes": "Ja", - "user_account_identity_documents_upload_confirm_no": "Nein" -} diff --git a/packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_en_GB.json b/packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_en_GB.json deleted file mode 100644 index 2783738c6d8d..000000000000 --- a/packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_en_GB.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "user_account_identity_documents_upload_confirm": "Have you added all of the requested documents?", - "user_account_identity_documents_upload_confirm_yes": "Yes", - "user_account_identity_documents_upload_confirm_no": "No" -} diff --git a/packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_es_ES.json b/packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_es_ES.json deleted file mode 100644 index 5cdf6d646f8a..000000000000 --- a/packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_es_ES.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "user_account_identity_documents_upload_confirm": "¿Ha añadido correctamente todos los documentos solicitados?", - "user_account_identity_documents_upload_confirm_yes": "Sí", - "user_account_identity_documents_upload_confirm_no": "No" -} diff --git a/packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_fr_CA.json b/packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_fr_CA.json deleted file mode 100644 index 29a85ad7c5ba..000000000000 --- a/packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_fr_CA.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "user_account_identity_documents_upload_confirm": "Avez-vous bien ajouté l'ensemble des documents demandés ?", - "user_account_identity_documents_upload_confirm_yes": "Oui", - "user_account_identity_documents_upload_confirm_no": "Non" -} diff --git a/packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_fr_FR.json b/packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_fr_FR.json deleted file mode 100644 index 29a85ad7c5ba..000000000000 --- a/packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_fr_FR.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "user_account_identity_documents_upload_confirm": "Avez-vous bien ajouté l'ensemble des documents demandés ?", - "user_account_identity_documents_upload_confirm_yes": "Oui", - "user_account_identity_documents_upload_confirm_no": "Non" -} diff --git a/packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_it_IT.json b/packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_it_IT.json deleted file mode 100644 index 726c926e0826..000000000000 --- a/packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_it_IT.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "user_account_identity_documents_upload_confirm": "Hai aggiunto tutti i documenti richiesti?", - "user_account_identity_documents_upload_confirm_yes": "Sì", - "user_account_identity_documents_upload_confirm_no": "No" -} diff --git a/packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_pl_PL.json b/packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_pl_PL.json deleted file mode 100644 index 736888e696df..000000000000 --- a/packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_pl_PL.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "user_account_identity_documents_upload_confirm": "Czy dodałeś wszystkie wymagane dokumenty?", - "user_account_identity_documents_upload_confirm_yes": "Tak", - "user_account_identity_documents_upload_confirm_no": "Nie" -} diff --git a/packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_pt_PT.json b/packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_pt_PT.json deleted file mode 100644 index c57221e28541..000000000000 --- a/packages/manager/modules/account/src/identity-documents/upload-identity-documents-confirm/translations/Messages_pt_PT.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "user_account_identity_documents_upload_confirm": "Adicionou o conjunto dos documentos pedidos?", - "user_account_identity_documents_upload_confirm_yes": "Sim", - "user_account_identity_documents_upload_confirm_no": "Não" -} diff --git a/packages/manager/modules/account/src/identity-documents/user-identity-documents.constant.js b/packages/manager/modules/account/src/identity-documents/user-identity-documents.constant.js index c43fe88546fa..befbfa3724e4 100644 --- a/packages/manager/modules/account/src/identity-documents/user-identity-documents.constant.js +++ b/packages/manager/modules/account/src/identity-documents/user-identity-documents.constant.js @@ -291,8 +291,6 @@ export const TRACKING_TASK_TAG = { dashboard: `${TRACKING_PREFIX}::identity-files::dashboard`, openDetailView: `${TRACKING_PREFIX}::tile::button::{{name_click}}_identity-files::{{identity-files}}`, clickSendMyDocuments: `${TRACKING_PREFIX}::page::button::submit_identity-files`, - displayPopUpSendMyDocuments: `${TRACKING_PREFIX}::identity-files::pop-up::identity-files-sent`, - confirmSendMyDocuments: `${TRACKING_PREFIX}::pop-up::button::identity-files-sent::confirm`, }; export const TRACKING_VARIABLES = { diff --git a/packages/manager/modules/account/src/identity-documents/user-identity-documents.controller.js b/packages/manager/modules/account/src/identity-documents/user-identity-documents.controller.js index bbf0b2c3765b..7a9023315141 100644 --- a/packages/manager/modules/account/src/identity-documents/user-identity-documents.controller.js +++ b/packages/manager/modules/account/src/identity-documents/user-identity-documents.controller.js @@ -53,7 +53,6 @@ export default class AccountUserIdentityDocumentsController { this.loading = false; this.showUploadOption = true; this.displayError = false; - this.isOpenModal = false; this.isOpenInformationModal = false; this.dashboardRedirectURL = this.coreURLBuilder.buildURL('hub', ''); this.user_type = USER_TYPE[this.currentUser] @@ -89,10 +88,9 @@ export default class AccountUserIdentityDocumentsController { } uploadIdentityDocuments() { - this.handleUploadConfirmModal(false); + this.trackClick(TRACKING_TASK_TAG.clickSendMyDocuments); this.loading = true; this.displayError = false; - this.trackClick(TRACKING_TASK_TAG.confirmSendMyDocuments); if (this.isValid) { const promise = this.links ? // We cannot re call getUploadDocumentsLinks if it answered successfully, so if we already @@ -125,14 +123,6 @@ export default class AccountUserIdentityDocumentsController { } } - handleUploadConfirmModal(open) { - this.isOpenModal = open; - if (open) { - this.trackClick(TRACKING_TASK_TAG.clickSendMyDocuments); - this.trackPage(TRACKING_TASK_TAG.displayPopUpSendMyDocuments); - } - } - handleInformationModal(open) { this.isOpenInformationModal = open; } @@ -169,11 +159,11 @@ export default class AccountUserIdentityDocumentsController { ? this.checkInvidualValidity() : Object.keys(this.proofs).reduce( (acc, proofType) => - (acc && - (this.files[proofType] || - proofType === this.PROOF_TYPE.authority_declaration)) || - (this.user_type === this.USER_TYPE.default && - proofType === this.PROOF_TYPE.vat), + acc && + (!!this.files[proofType] || + proofType === this.PROOF_TYPE.authority_declaration || + (this.user_type === this.USER_TYPE.default && + proofType === this.PROOF_TYPE.vat)), true, ); } diff --git a/packages/manager/modules/account/src/identity-documents/user-identity-documents.html b/packages/manager/modules/account/src/identity-documents/user-identity-documents.html index 196ac106f4a8..033ed66d44ce 100644 --- a/packages/manager/modules/account/src/identity-documents/user-identity-documents.html +++ b/packages/manager/modules/account/src/identity-documents/user-identity-documents.html @@ -86,7 +86,7 @@ data-variant="primary" data-size="l" data-disabled="$ctrl.kycStatus.status === $ctrl.KYC_STATUS.OPEN || !$ctrl.isValid || $ctrl.links" - data-on-click="$ctrl.handleUploadConfirmModal(true)" + data-on-click="$ctrl.uploadIdentityDocuments()" > - - -
+