chore: merge money amounts and price set money amounts (#6768)

what: 

- merges price set money amounts and money amount
This commit is contained in:
Riqwan Thamir authored and GitHub committed 2024-03-21 16:10:13 +00:00
1 parent 1ef9c78cea
commit b792c4cab5
29 files changed
+569 -1534

No files matched your search

+2 -2
View File
@@ -46,7 +46,7 @@ export function buildPriceSetPricesForCore(
: {}
return {
...priceSetMoneyAmount.money_amount,
...priceSetMoneyAmount,
variant_id: productVariant?.id ?? null,
rules,
}
@@ -62,7 +62,7 @@ export function buildPriceSetPricesForModule(
: {}
return {
...priceSetMoneyAmount.money_amount!,
...priceSetMoneyAmount,
price_set_id: priceSetMoneyAmount.price_set!?.id!,
rules,
}