From 9d2f8a25a85f54ef97bcb21f3754bd316f9eba72 Mon Sep 17 00:00:00 2001 From: boo-code Date: Wed, 2 Sep 2026 04:41:37 +0200 Subject: [PATCH] Match the demo orders' totalPaid to the fixtures The five demo orders' totalPaid values were copied from a fixture row whose total_paid contradicted its own total_paid_tax_incl. The core fixtures are being corrected so each order's total_paid equals products + shipping - discounts; this follows them. order_2 was separately wrong: the fixture has always said 169.90 and the data here said 69.90. Companion to the core change for PrestaShop/PrestaShop#34751. --- src/data/demo/orders.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/data/demo/orders.ts b/src/data/demo/orders.ts index ac8cb19bc..86aec1a9e 100644 --- a/src/data/demo/orders.ts +++ b/src/data/demo/orders.ts @@ -11,7 +11,7 @@ export default { newClient: true, delivery: 'United States', customer: dataCustomers.johnDoe, - totalPaid: 61.80, + totalPaid: 68.20, paymentMethod: dataPaymentMethods.checkPayment, status: dataOrderStatuses.canceled, }), @@ -21,7 +21,7 @@ export default { newClient: false, delivery: 'United States', customer: dataCustomers.johnDoe, - totalPaid: 69.90, + totalPaid: 169.90, paymentMethod: dataPaymentMethods.checkPayment, status: dataOrderStatuses.awaitingCheckPayment, }), @@ -31,7 +31,7 @@ export default { newClient: false, delivery: 'United States', customer: dataCustomers.johnDoe, - totalPaid: 14.90, + totalPaid: 21.30, paymentMethod: dataPaymentMethods.checkPayment, status: dataOrderStatuses.paymentError, }), @@ -41,7 +41,7 @@ export default { newClient: false, delivery: 'United States', customer: dataCustomers.johnDoe, - totalPaid: 14.90, + totalPaid: 21.30, paymentMethod: dataPaymentMethods.checkPayment, status: dataOrderStatuses.awaitingCheckPayment, }), @@ -51,7 +51,7 @@ export default { newClient: false, delivery: 'United States', customer: dataCustomers.johnDoe, - totalPaid: 20.90, + totalPaid: 27.30, paymentMethod: dataPaymentMethods.wirePayment, status: dataOrderStatuses.awaitingCheckPayment, }),