Monthly Order Tax and Discounts Switched

In versions 2.72 through 2.82, the 'Tax' and 'Discounts' column in the Monthly Order Totals are switched. To correct this before the next release:

  1. Open the order.php file in the /storeadmin/ folder.

  2. Change the lines:

    echo "$Currency$stotrow[SumTax]";
    echo "$Currency$stotrow[SumDiscount]";

    to

    echo "$Currency$stotrow[SumDiscount]";
    echo "$Currency$stotrow[SumTax]";

    so that the discount column is displayed to the left of the tax column.

  3. Save and reupload the file.