VirtoCommerce/vc-module-order

Order operations disappearing from UI

eMazeika opened this issue · 5 comments

Order operations disappearing from UI after "Payment fees" value changed:
http://recordit.co/imXvGFrFCb

Order operations should stay in UI.

avas commented

During the work on this issue, I noticed a strange behavior: even after updating the payment amounts, the payment node in the operations tree still displays the old value.
image

Is it supposed to work this way? Should I fix it?

@avas How I can reproduce this error?

avas commented

@tatarincev If you're talking about this error, then it is really easy:

  1. Open any order that has at least one incoming payment.
  2. Select that incoming payment.
  3. In the incoming payment details blade, change value of Payment fees and Amount fields.
  4. Click OK.

Expected result (?): total value on the PaymentIn tree item should change and (probably) should match Total value from the incoming payment details blade. At least Shipment details blade works that way.
Actual result: total value on the tree item remains unchanged.

@avas The payment widget displays an amount that isn't supported manual editing. This is the right behavior.