Skip to content

Credit doesn't recognize amount after comma #13851

Closed
@gerben86

Description

@gerben86

When I enter an amount with decimals (like 2,50) in the field "Adjustment Refund" while making a Credit Memo the amount on the real credit memo is without decimals (2,00). So the Credit Memo isn't in line with the real credit amount.

Preconditions

  1. Magento 2.1.10

Steps to reproduce

  1. Create a Credit Memo for an order
  2. Enter an amount with decimals (by example 1,23) in the field Adjustment Refund
  3. Create an offline payment (finish credit memo)

Expected result

  1. The credit memo should show the amount of 1,23 in the field "Adjustment Refund" on the Credit Memo overview

Actual result

  1. The credit memo should show the amount of 1,00 in the field "Adjustment Refund" on the Credit Memo overview

I'm using a comma as decimal seperator, because my local language is dutch.

Metadata

Metadata

Assignees

Labels

Component: OfflinePaymentsEvent: mm19inFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releaseReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releaseReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions