Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Error when deleting a fine  #2602

@BadrAly

Description

@BadrAly

Describe the bug

The following error message:

"payment creation failed!
[400 - undefined] Server error 8.2 is not a multiple of 0.01
"
appears when deleting the amount of "8.2" for a patron having fees equal or greater than "8.2" CHF

The transaction is successful if the amount of the fee is in the format "8.20" [two decimals]

To Reproduce

  1. Go to the admin interface
  2. Locate a patron having open fees
  3. Try to delete a fee for this patron
  4. Enter an amount with one decimal
  5. you see the error above
  • server: [bib.test.rero.ch][1] or [bib.rero.ch][2]
  • version: v1.7.0

Screenshot 2021-12-16 at 15 46 25

Metadata

Metadata

Assignees

Labels

bugBreaks something but is not blockingf: circulationConcerns the circulation interface or backend

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions