metasfresh-webui-frontend-legacy icon indicating copy to clipboard operation
metasfresh-webui-frontend-legacy copied to clipboard

Setting Price base to "None" in Discount Break never works at first try

Open metas-dh opened this issue 5 years ago • 3 comments

Is this a bug or feature request?

Bug

What is the current behavior?

When setting the price base to "None" in Discount Break it's set back to Pricing System, only works at 2nd try.

Which are the steps to reproduce?

Try and see. (see vid in me03 issue)

What is the expected or desired behavior?

Shall work at 1st try.

metas-dh avatar Mar 11 '19 16:03 metas-dh

@siemiatj We need to better understand what is going on here. Can we have a call and do a pair programming for this task?

Looks like for a very short time you get the value set to None, but right after it changes back to default value (Pricing System). We can see this also happening in Redux.

For us it looks like the problem might be in the API, calls like http://w101.metasfresh.com:8081/rest/api/window/233/1000018/AD_Tab-406/1000107 that return wrong values for PriceBase, PriceStdFixed and PricingSystemSurchargeAmt prop displayed.

ionut-movila avatar May 27 '19 10:05 ionut-movila

Let's skip that for now, as I don't really have free cycles to dive deeper into that.

siemiatj avatar May 27 '19 11:05 siemiatj

OK, let's keep this for later. I did assigned you (Kuba) on this and we ca take it back later.

ionut-movila avatar May 30 '19 07:05 ionut-movila