Show questions with corresponding answers for question-block 'financial issues'
Value proposition
As a user
I want to see the questions for 'financial issues' as well as answer possibilities
So that I know how much my menstruation costs me
Description
Acceptance criteria
INPUT
[x] The page shows a form with 6 questions
[x] The form shows question for 1. which menstruation products are mostly used
[x] The form accepts choices for: tampons, pad, cup, disc, none
[x] The form shows question for 2. how many products are in one package (only for tampon and pad)
[x] The form accepts answer for 1 to 50
[x] The form shows question for 3. costs of one package
[x] The form accepts all amounts
[x] The form shows question for 4. how much taxes are included in one package
[x] The form accepts amounts from 0 to 30
[x] The form shows question for 5. possible tax reduction?
[x] The form accepts "keine Steuer, Teilsteuer, volle Steuer"
[x] The form shows questions for 6. how often the product is changed per day (only when tampon or pad is selected)
[x] The form accepts amounts from 1 to 12
OUTPUT
[x] The input values are used to calculate the output
[x] The first output shows 1. the mainly used menstruation product and the amount of money you pay 2. per period, 3. per period-year, 4. in a menstruation-life, 5. until today (2.-5. with the according amount of taxes).
[x] The page shows an infobox with the content "In Periotopia wären Menstruationsprodukte frei zugänglich. Schottland ist das bisher einzige Land weltweit, in dem Menstruationsartikel in öffentlichen Gebäuden per Gesetz kostenlos bereitgestellt werden müssen. In Deutschland sind es vor allem manche Universitäten, die kostenlose Produkte zur Verfügung stellen. Nur in wenigen Ländern sind Menstruationsprodukte von der Steuer befreit. In Deutschland ist sie seit 2020 zumindest reduziert"
[x] The page shows a "Periotopia-Index"
[x] The index is beeing calculated: free = 100%, no tax = 75%, reduced tax = 25%, full tax = 0%
[x] To get a calculated answer, all questions must be answered
[x] When a question is not answered an alert appears with the hint, that all fields must be filled out
Tasks
[x] Create a branch
[x] Create FinancialIssuesComponent
[x] Create form for financial issues
[x] Render FinancialIssuesComponent
[x] Use existing components for new questions
[x] Make all answers mandatory and create alert if that is not the case
[x] Create function to calculate results of the answer
[x] Create IndexComponent
[x] Create function to calculate the PeriotopiaIndex
Show questions with corresponding answers for question-block 'financial issues'
Value proposition
As a user I want to see the questions for 'financial issues' as well as answer possibilities So that I know how much my menstruation costs me
Description
Acceptance criteria
INPUT
OUTPUT
Tasks
FinancialIssuesComponent
FinancialIssuesComponent
alert
if that is not the caseIndexComponent
PeriotopiaIndex
IndexComponent