Closed Tozzettini closed 1 year ago
Comment:
Does this count as manipulating data in the business logic? what parts of this will be thrown inside the business logic?
Problem: not a lot of BUI logic tests, only for the calculation of the correct price.
Comment:
Price calculation is something that has to be done by Booking/Create Flight
Idea dump:
The idea is to make a small pop up inside the original pop up, one for dynamic and one for static discount , in this pop up we can find a description that says Current discount value which displays the current percentage of the discount and beneath it a text input that allows us to manually put in how much discount we want, going from 0 to 100 percent, the sum of both dynamic and static discount can not be more than 100 percent.
on the initial pop up now it will no longer display true or false in the discount values but instead, it will display the actual percentages.
the static discount button should be separated, what I wrote previously only works for dynamic, static should be imposed beforehand by the user.
Add a congradulations when a user saves a Discount
A price needs to be added to make the code more complex and usable. We also want to manipulate data in the business logic with the price.
First draft: