"Discount" Field in Demo Project

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
Trosmada
User
Posts: 17

"Discount" Field in Demo Project

Post by Trosmada »

Dear friends,

I just tried using Demo Project, Click on Orders, then Master/Detail Edit,
On the Order Details table, I change the discount, for example I put 0.5 after save then In Orders view the table show the discount is 50%, and the subtotal also wrong,
because it use 50% discount instead of 0.5%.
but if I click again to Order Detail Edit (the same record that I changed), it will show 0.5.

Can anyone explain about that?

Thanks in advanced.


arbei
User
Posts: 9504

Post by arbei »

Note that the field value is not a percentage. It is only formatted as "Percentage", see View Tag -> Format. When you edit, you need to enter the actual value, not percentage.


Trosmada
User
Posts: 17

Post by Trosmada »

Thanks for the reply,
So, I just tried again, now I fill 5% (not just 5) then the result is correct.

Thanks


Post Reply