fix(totals): order item totals (#7867)

This commit is contained in:
Carlos R. L. Rodrigues
2024-06-28 09:34:25 -03:00
committed by GitHub
parent ef259b3386
commit 9f3998393b
6 changed files with 89 additions and 35 deletions
@@ -290,6 +290,14 @@ medusaIntegrationTestRunner({
discount_tax_total: 0,
tax_total: 0,
original_tax_total: 0,
refundable_total: 50,
refundable_total_per_unit: 50,
fulfilled_total: 0,
return_dismissed_total: 0,
return_received_total: 0,
return_requested_total: 0,
shipped_total: 0,
write_off_total: 0,
raw_subtotal: {
value: "50",
precision: 20,
@@ -318,6 +326,38 @@ medusaIntegrationTestRunner({
value: "0",
precision: 20,
},
raw_refundable_total: {
precision: 20,
value: "49.999999999999999995",
},
raw_refundable_total_per_unit: {
precision: 20,
value: "49.999999999999999995",
},
raw_fulfilled_total: {
precision: 20,
value: "0",
},
raw_return_dismissed_total: {
precision: 20,
value: "0",
},
raw_return_received_total: {
precision: 20,
value: "0",
},
raw_return_requested_total: {
precision: 20,
value: "0",
},
raw_shipped_total: {
precision: 20,
value: "0",
},
raw_write_off_total: {
precision: 20,
value: "0",
},
},
],
shipping_address: {