aboutsummaryrefslogtreecommitdiff
path: root/src/components/Display/SummaryDisplay.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Display/SummaryDisplay.js')
-rw-r--r--src/components/Display/SummaryDisplay.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Display/SummaryDisplay.js b/src/components/Display/SummaryDisplay.js
index 1110358..27ebe0b 100644
--- a/src/components/Display/SummaryDisplay.js
+++ b/src/components/Display/SummaryDisplay.js
@@ -6,7 +6,7 @@ const getSummary = (items) => {
let totalQuantity = 0;
for (let i = 0; i < items.length; i++) {
- totalRawPrice += items[i].Price;
+ totalRawPrice += items[i].TotalPrice;
totalQuantity += items[i].Quantity
}