Summary
Resolved issues where Promo Codes applied incorrect exchange rates or failed to update totals when line items were reordered.
Issue Details
Discounts were sometimes converting to USD mid-calculation on non-USD invoices. Additionally, moving a promo code line item up or down on an invoice would cause the amount to revert to USD, throwing off the total.
Resolution
Promo Code amounts now correctly maintain the invoice currency throughout the calculation process. The invoice refresh logic has been updated to ensure totals accurately reflect the current Promo Code rate regardless of the line item order.