I have a running calculator on a website that I want to have enhanced. The changes consist in changing formulars.
Bug
1.) Input Values in „Konversionsrate in %“
Is: This is a field with two decimal fractions. Problem: if someone enters a number with only one decimal fraction app changes the value to a full number. For example: 1,5 gets changed to 15. If someone wants to enter the value 1,5 then he has to enter 1,50
Should be: Automatically change one decimal fraction to two decimal fractions (1,5 = 1,50 or 0,1 = 0,10)
Workaround: If this is not feasible, please kill the second decimal fraction. So the number is for example 0,1 or 1,5
However: in this scenario the User should be able to enter 0,10 and the app changes it to 0,1 or if he enters 1,55 the app changes it to 1,6. If user enters 1,54 the app changes it to 1,5 (round up and down).
Priority: high
2.) PDF Styling
My designer couldn’t change the styling of the pdf. There may be something wrong with the paths. My designer told me that he tried to solve it with smarty {literal} – but no good. Could you look into it – I am sure there is only something wrong with the paths..
Priority: high
Changes to Version 1
1.) Value of slider adjust exponentially
Is: Moving the slider changes the value in even steps. For example:
1 2 3 4 5 6 7 8 9
Should be: The slider should change value exponentially. Why? There is a normal range for every entry field.
Marge in %: Is usually somewhere between 1 and 30%
Verkaufspreis in €: is usually somewhere between 1 and 200€
Konversionsrate in %: is normally between 0,01 and 10%
Tägliches Budet: is normally between 5 and 100€
So the focus of the slider should lie within this range.
2.) Hover on line displays sentence at the bottom
A hover on a line displays one sentence at the bottom of the page using CPC, ROMI I and ROMI II (I think it is Cama, Bafa and Lafa.
The sentence would be as follows:
Bei einem CPC von [Cama of this line] generiert 1€ Werbekosten einen Umsatz von [Bafa of this line] € und einen Gewinn von [Lafa of this line]€.
The sentence is only displayed, when there is a hover on the line, else the space is blank.
Priority: low
Second Version
I would like a second version of the app as there are two ways to calculate the margin. In Version 1 the margin is subtracted from sales price, in the second version the margin is added to cost price.
Only the formulas in line 3-8 change, the rest of the calculation stays the same. So it shouldn’t be too much work.