VSLCatena / mensa

Enrollment of members for diner
0 stars 1 forks source link

Find a way to define price calculation through GUI #75

Open SubSide opened 2 years ago

Kipjr commented 2 years ago

@SubSide , something like this?

PriceEnd = PriceStart + VarUserDeltaPrice(n)+StaticUserDeltaPrice ?

5,00 = 2,70 + 1,80 (for 1-10 registrations) + 0,50 7,00 = 5,00 + 1,50 (for 11-30 registrations) + 0,50

SubSide commented 2 years ago

Well, I mean it more in a way that is flexible but doesn't expose any vulnerabilities 😋

SubSide commented 2 years ago

@Kipjr It's more of an explore ticket. Like are there ways to expose some form of calculation to the user without causing vulnerabilities? Does it require us to write our own "calculator"? Etc etc.

SubSide commented 2 years ago

Maybe also something that is cool if we get it working, is to make it customisable per mensa