Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Fix rounding error in new order email #26

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Commits on Jan 15, 2018

  1. MO: Fix rounding error in new order email

    The previous values are rounded to 2 decimals in the following method:
    1. Order::getOrders()
    2. Order::getProductsDetail()
    3. Order::setProductPrices()
    
    This is due to backwards compatibility with 1.4, but it can lead to
    rounding errors in the product lines in the email.
    
    Instead, here we are using other values provided by the Core.
    mcdado committed Jan 15, 2018
    Configuration menu
    Copy the full SHA
    1c59955 View commit details
    Browse the repository at this point in the history