71
Support / Increment(+)/Decrement(-) button : amount not updated on display poll
« Last post by DQ on November 19, 2013, 06:39:54 pm »Hello,
When my employees increment (+) or decreament(-) quantity by selecting +/- button for an item (before going to settle screen), it shows update amount on the screen but pole display doesn't show that.
I have added two rules to update display.
1. When line item added
2. When total amount changed
It works fine when item is added twice separately.
I think below code is associated with +/- buttons. How do I fix it
private void OnDecSelectedQuantity(string obj)
{
if (LastSelectedTicketItem.IsLocked)
LastSelectedTicketItem.DecSelectedQuantity();
else LastSelectedTicketItem.Quantity--;
}
private void OnIncSelectedQuantity(string obj)
{
if (LastSelectedTicketItem.IsLocked)
LastSelectedTicketItem.IncSelectedQuantity();
else LastSelectedTicketItem.Quantity++;
}
When my employees increment (+) or decreament(-) quantity by selecting +/- button for an item (before going to settle screen), it shows update amount on the screen but pole display doesn't show that.
I have added two rules to update display.
1. When line item added
2. When total amount changed
It works fine when item is added twice separately.
I think below code is associated with +/- buttons. How do I fix it
private void OnDecSelectedQuantity(string obj)
{
if (LastSelectedTicketItem.IsLocked)
LastSelectedTicketItem.DecSelectedQuantity();
else LastSelectedTicketItem.Quantity--;
}
private void OnIncSelectedQuantity(string obj)
{
if (LastSelectedTicketItem.IsLocked)
LastSelectedTicketItem.IncSelectedQuantity();
else LastSelectedTicketItem.Quantity++;
}