import React from 'react'; import {__} from '../../../../assets/javascripts/library.js'; function EfzStatusMessage({ efzStatus }) { if (efzStatus === 'NOT_CHECKED') { return

Dein erweitertes Führungszeugnis konnte nicht automatisch überprüft werden. Bitte kontaktiere die Aktionsleitung, da deine Teilnahme nur mit gültigem eFZ möglich ist.

; } if (efzStatus === 'CHECKED_INVALID') { return

Du hast noch kein erweitertes Führungszeugnis bereitgestellt, sodass deine Teilnahme nicht möglich ist. Bitte reiche dein erweitertes Führungszeugnis umgehend ein, da deine Teilnahme andernfalls storniert werden kann. Bitte setze dich mit der Aktionsleitung in Verbindung.

; } return null; // default: nix anzeigen } function SuccessContainer({ participant_data }) { return (

{__('Hello', 'solea')} {participant_data.nicename}

{participant_data.introduction}
{__('We have received the following information:', 'solea')}

{__('Arrival', 'solea')}:{participant_data.arrival}
{__('Departure', 'solea')}:{participant_data.departure}
{__('Participation group', 'solea')}:{participant_data.participation_group}
{participant_data.needs_payment ? (

{__('Account owner', 'solea')}: {participant_data.account_owner}
{__('IBAN', 'solea')}: {participant_data.account_iban}
{__('Purpose', 'solea')}: {participant_data.payment_purpose}
{ __('Total amount', 'solea')}: {participant_data.amount}
{__('If your bank supports QR-Code based paying, use this code', 'solea')}

{__( 'If payment is not possible or only partially possible within this period, please contact the event management.', 'solea' )}

) : (

{__('You do not have to pay the registration fee. This is the case if participation is supported, billing is done through your local group, or there are other decisions.', 'solea')}
{__('Your registration is confirmed now.', 'solea' ) }

)}

{__('You will receive an email with further information within 2 hours. If you do not receive this mail or have any questions about your registration, please contact the event management.', 'solea')}
{__('You can contact us at', 'solea')}: {participant_data.event_email}

); } export default SuccessContainer;