Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build and store application data #1622

Open
f1sh1918 opened this issue Sep 9, 2024 · 0 comments
Open

Build and store application data #1622

f1sh1918 opened this issue Sep 9, 2024 · 0 comments
Labels
Milestone

Comments

@f1sh1918
Copy link
Contributor

f1sh1918 commented Sep 9, 2024

Is your feature request related to a problem? Please describe.
To be able to handle different form formats, we store application data in a json format

Describe the solution you'd like

  • bring the application data received from the endpoint in the required json format
  • mind that the "name" parameter has to be related to the key in i18n to resolve the correct field label
  • fill in some missing static values:
    - cardType ("Blaue Ehrenamtskarte")
    - applicationType ("Verein 360")
    - wantsDigitalCard (true)
    - wantsPhysicalCard (false)
    - category (Sport)
    - hasGivenPermission (true)
    - amountOfWork (5)
    - payment (false)
    - hasAcceptedPrivacyPolicy (true)
    - givenInformationIsCorrectAndComplete (true)
    - hasAcceptedEmailUsage(false)
  • add generated accessKey
  • add regionId (get by regionIdentifier)
  • store application in the database
  • store the verification in the database and set the verifiedDate to current timestamp, don't sent email to organization

blocked by: #1620
blocked by: #1621
blocked by: #1623

@f1sh1918 f1sh1918 added the Task label Sep 9, 2024
@f1sh1918 f1sh1918 added this to the Verein360 milestone Sep 9, 2024
@f1sh1918 f1sh1918 changed the title Build application data structure Build and store application data Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant