feat(dashboard,cart,types,utils): refine order details summary (#13313)

* feat(dashboard,types,utils): refine order details summary

* fix tests

* changeset

* ui corrections

* tests again

* weird tests failing

* revert update to subtotal

* revert http tests too

* comments

* move credit lines so it makes more sense

* remove currency codes and add bold prices

* add new properties in default for storefront

* minor to patch

* remove bold on things that should be

* olis comment about taxes

* remove bold from shipping
This commit is contained in:
William Bouchard
2025-09-02 14:50:37 -04:00
committed by GitHub
parent 753e8081c4
commit 2f6edf367a
13 changed files with 348 additions and 214 deletions

View File

@@ -3170,12 +3170,14 @@ moduleIntegrationTestRunner<ICartModuleService>({
item_total: 200,
item_subtotal: 500,
item_tax_total: 0,
item_discount_total: 300,
original_item_total: 500,
original_item_subtotal: 500,
original_item_tax_total: 0,
shipping_total: 10,
shipping_subtotal: 10,
shipping_tax_total: 0,
shipping_discount_total: 0,
original_shipping_tax_total: 0,
original_shipping_subtotal: 10,
original_shipping_total: 10,
@@ -3195,6 +3197,14 @@ moduleIntegrationTestRunner<ICartModuleService>({
value: "300",
precision: 20,
},
raw_item_discount_total: {
value: "300",
precision: 20,
},
raw_shipping_discount_total: {
value: "0",
precision: 20,
},
raw_discount_subtotal: {
value: "300",
precision: 20,