emreeren / SambaPOS-3

Touch Screen Restaurant POS
sambapos.com
469 stars 413 forks source link

Automation Button Values Causing Order Tag Issue #369

Closed JohnSCS closed 11 years ago

JohnSCS commented 11 years ago

I have an Automation Button called 'Discount' with the values (which also exist in an Order Tag called Discount) 10% Discount 20% Discount 30% Discount 40% Discount 50% Discount

For each discount I have an Action to Tag Order as follows Name : Add 10% Discount To Order Action : Tag Order Order Tag Name : Discount Order Tag Value : 10% Discount Order Tag Price : [=0-(Order.Model.GetVisiblePrice()*0.1)]

When 10% Discount is selected, the Order is tagged 10% Discount, but the price does not update.

If I set the Automation Button to Toggle Values, the discount is applied to the Order and the price is updated correctly.

emreeren commented 11 years ago

Fixed