@holaluz/pomada
Advanced tools
Comparing version 1.6.1 to 1.6.2
@@ -10,12 +10,16 @@ "use strict"; | ||
name: productPrice.name, | ||
energy: { | ||
P1: getPriceWithTax(productPrice.energy?.P1, vats), | ||
P2: getPriceWithTax(productPrice.energy?.P2, vats), | ||
P3: getPriceWithTax(productPrice.energy?.P3, vats), | ||
}, | ||
power: { | ||
P1: getPriceWithTax(productPrice.power?.P1, vats), | ||
P2: getPriceWithTax(productPrice.power?.P2, vats), | ||
P3: getPriceWithTax(productPrice.power?.P3, vats), | ||
}, | ||
energy: productPrice.energy | ||
? { | ||
P1: getPriceWithTax(productPrice.energy.P1, vats), | ||
P2: getPriceWithTax(productPrice.energy.P2, vats), | ||
P3: getPriceWithTax(productPrice.energy.P3, vats), | ||
} | ||
: productPrice.energy, | ||
power: productPrice.power | ||
? { | ||
P1: getPriceWithTax(productPrice.power.P1, vats), | ||
P2: getPriceWithTax(productPrice.power.P2, vats), | ||
P3: getPriceWithTax(productPrice.power.P3, vats), | ||
} | ||
: productPrice.power, | ||
}; | ||
@@ -22,0 +26,0 @@ return Promise.resolve(onSuccess(productPriceResult)); |
{ | ||
"name": "@holaluz/pomada", | ||
"version": "1.6.1", | ||
"version": "1.6.2", | ||
"description": "Holaluz shared FE business logic repository", | ||
@@ -5,0 +5,0 @@ "author": "Holaluz", |
Sorry, the diff of this file is not supported yet
41734
572