Margin rate on transaction bug

Hi everyone,

we had 2 main issues at the margin on the transaction:

  1. Why after I create the Pricing rule with Margin Percentage, I found the Margin at the transaction level with Amount
    For Example:

Setup:

Transaction:

because the clients need to see this percentage at the level of the transaction.

  1. When I try to change the percentage at the transaction, the section of discount and margin is collapsing, and changing the margin amount automatically.

Thank you