Uploaded image for project: 'PrestaShop 1.7'
  1. PrestaShop 1.7
  2. BOOM-2971

BO Dashboard - Incorrect calculation of Sales and Profit

    Details

    • How to reproduce the issue ?:
      Hide
      Have a shop with 1 order (this helps illustrate the issue, instead of trying to make the calculations yourself).
      Create a $1000 order.
      Apply a $100 discount to that order, so now it is $900.
      Complete the order (marked as paid, shipped, delivered).
      The dashboard will not show $900, it'll show $1000 still.
      Show
      Have a shop with 1 order (this helps illustrate the issue, instead of trying to make the calculations yourself). Create a $1000 order. Apply a $100 discount to that order, so now it is $900. Complete the order (marked as paid, shipped, delivered). The dashboard will not show $900, it'll show $1000 still.
    • Tests & Expected Results:
      N/A
    • Documentation Change:
      N/A

      Description

      It would appear that the dashboard is not taking into account the discounts that are applied to orders.

      I have a $1114 that was discounted $100 to $1014. However this dashboard and profit show the undiscounted amounts. I only have 1 order (i know, thats another issue altogether).

        Attachments

        1. Order_Discount.png
          Order_Discount.png
          32 kB
        2. screenshot-1.png
          screenshot-1.png
          19 kB
        3. screenshot-2.png
          screenshot-2.png
          38 kB

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                vm0824 Vincent Minichino
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: