Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 3.4.2
-
Fix Version/s: 4.1.0-b1
-
Component/s: None
-
Labels:None
Description
It's possible that a credit can exist for an amount less than the precision displayed for that currency in the interface. e.g. $10.009
Attempting to record a payment by using the credit to pay an invoice may then fail. In the admin interface, this error is encountered:
"One or more Amount to Pay values could not be applied to the specified invoice. Ensure that the Amount to Pay does not exceed the Amount Due on the invoice, that the invoice is open, and the sum of the Amount to Pay values do not exceed the Payment or Credit Amount."
e.g.
Attempt to pay an invoice totaling $10.01 with a credit of $10.009
$10.009 < $10.01, so the amount is not enough to pay the invoice. However, I think the credit amount may need to be rounded to cover the payment. $total may need to be rounded in Transactions::validateApplyAmounts
Issue Links
- relates to
-
CORE-1092 Round amounts based on currency format
- Closed
Activity
Field | Original Value | New Value |
---|---|---|
Rank | Ranked higher |
Rank | Ranked higher |
Rank | Ranked higher |
Fix Version/s | 3.5.0 [ 10401 ] | |
Fix Version/s | 3.4.3 [ 10613 ] |
Rank | Ranked higher |
Rank | Ranked lower |
Rank | Ranked higher |
Fix Version/s | Short Term [ 10800 ] |
Rank | Ranked higher |
Assignee | Tyson Phillips [ tyson ] | Jonathan Reissmueller [ jonathan ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Sprint | 4.1.0 Sprint 4 [ 38 ] |
Rank | Ranked lower |
Fix Version/s | 4.1.0 [ 11007 ] | |
Fix Version/s | Short Term [ 10800 ] |
Sprint | 4.1.0 Sprint 4 [ 38 ] | 4.1.0 Sprint 4, 4.1.0 Sprint 5 [ 38, 42 ] |
Rank | Ranked higher |
Status | In Review [ 5 ] | Closed [ 6 ] |